Show / Hide Table of Contents

Class CSharpExpression

Information about the representation of an expression tree in C#.

Inheritance
System.Object
CSharpExpression
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public class CSharpExpression : Object

Properties

Code

Gets the expression tree string representation using C# syntax. This string is not guaranteed to be semantically equivalent and should be used for diagnostic purposes only.

Declaration
public string Code { get; }
Property Value
Type Description
System.String

Constants

Gets a dictionary mapping auto-generated variables names onto constants that occur in the expression tree but cannot be represented using C# literals.

Declaration
public IDictionary<string, ConstantExpression> Constants { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Linq.Expressions.ConstantExpression>

GlobalVariables

Gets a list of unbound global variables that occur in the expression tree.

Declaration
public IList<ParameterExpression> GlobalVariables { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.Linq.Expressions.ParameterExpression>
In This Article
Back to top Generated by DocFX