Expression<TDelegate> Class

Definition

Represents a strongly typed lambda expression as a data structure in the form of an expression tree. This class cannot be inherited.

public sealed class Expression<TDelegate> : System.Linq.Expressions.LambdaExpression
Type Parameters
TDelegate

The type of the delegate that the Expression<TDelegate> represents.

Inheritance
Expression<TDelegate>

Examples

The following code example demonstrates how to represent a lambda expression both as executable code in the form of a delegate and as data in the form of an expression tree. It also demonstrates how to turn the expression tree back into executable code by using the Compile method.


// Lambda expression as executable code.
Func<int, bool> deleg = i => i < 5;
// Invoke the delegate and display the output.
Console.WriteLine("deleg(4) = {0}", deleg(4));

// Lambda expression as data in the form of an expression tree.
System.Linq.Expressions.Expression<Func<int, bool>> expr = i => i < 5;
// Compile the expression tree into executable code.
Func<int, bool> deleg2 = expr.Compile();
// Invoke the method and print the output.
Console.WriteLine("deleg2(4) = {0}", deleg2(4));

/*  This code produces the following output:

    deleg(4) = True
    deleg2(4) = True
*/


' Lambda expression as executable code.
Dim deleg As Func(Of Integer, Boolean) = Function(ByVal i) i < 5
' Invoke the delegate and display the output.
MsgBox(String.Format("deleg(4) = {0}", deleg(4)))

' Lambda expression as data in the form of an expression tree.
Dim expr As System.Linq.Expressions.Expression(Of Func(Of Integer, Boolean)) = Function(ByVal i) i < 5
' Compile the expression tree into executable code.
Dim deleg2 As Func(Of Integer, Boolean) = expr.Compile()
' Invoke the method and print the output.
MsgBox(String.Format("deleg2(4) = {0}", deleg2(4)))

' This code produces the following output:
'
' deleg(4) = True
' deleg2(4) = True

Remarks

When a lambda expression is assigned to a variable, field, or parameter whose type is Expression<TDelegate>, the compiler emits instructions to build an expression tree.

Note

A conversion from a lambda expression to type Expression<D> (Expression(Of D) in Visual Basic) exists if a conversion from the lambda expression to a delegate of type D exists. However, the conversion may fail, for example, if the body of the lambda expression is a block. This means that delegates and expression trees behave similarly with regard to overload resolution.

The expression tree is an in-memory data representation of the lambda expression. The expression tree makes the structure of the lambda expression transparent and explicit. You can interact with the data in the expression tree just as you can with any other data structure.

The ability to treat expressions as data structures enables APIs to receive user code in a format that can be inspected, transformed, and processed in a custom manner. For example, the LINQ to SQL data access implementation uses this facility to translate expression trees to Transact-SQL statements that can be evaluated by the database.

Many standard query operators defined in the Queryable class have one or more parameters of type Expression<TDelegate>.

The NodeType of an Expression<TDelegate> is Lambda.

Use the Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>) or Lambda<TDelegate>(Expression, ParameterExpression[]) method to create an Expression<TDelegate> object.

Methods

Accept(ExpressionVisitor) Inherited from Expression
Add(Expression, Expression) Inherited from Expression
Add(Expression, Expression, MethodInfo) Inherited from Expression
AddAssign(Expression, Expression) Inherited from Expression
AddAssign(Expression, Expression, MethodInfo) Inherited from Expression
AddAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
AddAssignChecked(Expression, Expression) Inherited from Expression
AddAssignChecked(Expression, Expression, MethodInfo) Inherited from Expression
AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
AddChecked(Expression, Expression) Inherited from Expression
AddChecked(Expression, Expression, MethodInfo) Inherited from Expression
And(Expression, Expression) Inherited from Expression
And(Expression, Expression, MethodInfo) Inherited from Expression
AndAlso(Expression, Expression) Inherited from Expression
AndAlso(Expression, Expression, MethodInfo) Inherited from Expression
AndAssign(Expression, Expression) Inherited from Expression
AndAssign(Expression, Expression, MethodInfo) Inherited from Expression
AndAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
ArrayAccess(Expression, Expression[]) Inherited from Expression
ArrayAccess(Expression, IEnumerable<Expression>) Inherited from Expression
ArrayIndex(Expression, Expression) Inherited from Expression
ArrayIndex(Expression, Expression[]) Inherited from Expression
ArrayIndex(Expression, IEnumerable<Expression>) Inherited from Expression
ArrayLength(Expression) Inherited from Expression
Assign(Expression, Expression) Inherited from Expression
Bind(MemberInfo, Expression) Inherited from Expression
Bind(MethodInfo, Expression) Inherited from Expression
Block(Expression, Expression) Inherited from Expression
Block(Expression, Expression, Expression) Inherited from Expression
Block(Expression, Expression, Expression, Expression) Inherited from Expression
Block(Expression, Expression, Expression, Expression, Expression) Inherited from Expression
Block(Expression[]) Inherited from Expression
Block(IEnumerable<Expression>) Inherited from Expression
Block(IEnumerable<ParameterExpression>, Expression[]) Inherited from Expression
Block(IEnumerable<ParameterExpression>, IEnumerable<Expression>) Inherited from Expression
Block(Type, Expression[]) Inherited from Expression
Block(Type, IEnumerable<Expression>) Inherited from Expression
Block(Type, IEnumerable<ParameterExpression>, Expression[]) Inherited from Expression
Block(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>) Inherited from Expression
Break(LabelTarget) Inherited from Expression
Break(LabelTarget, Expression) Inherited from Expression
Break(LabelTarget, Expression, Type) Inherited from Expression
Break(LabelTarget, Type) Inherited from Expression
Call(Expression, MethodInfo) Inherited from Expression
Call(Expression, MethodInfo, Expression, Expression) Inherited from Expression
Call(Expression, MethodInfo, Expression, Expression, Expression) Inherited from Expression
Call(Expression, MethodInfo, Expression[]) Inherited from Expression
Call(Expression, MethodInfo, IEnumerable<Expression>) Inherited from Expression
Call(Expression, String, Type[], Expression[]) Inherited from Expression
Call(MethodInfo, Expression) Inherited from Expression
Call(MethodInfo, Expression, Expression) Inherited from Expression
Call(MethodInfo, Expression, Expression, Expression) Inherited from Expression
Call(MethodInfo, Expression, Expression, Expression, Expression) Inherited from Expression
Call(MethodInfo, Expression, Expression, Expression, Expression, Expression) Inherited from Expression
Call(MethodInfo, Expression[]) Inherited from Expression
Call(MethodInfo, IEnumerable<Expression>) Inherited from Expression
Call(Type, String, Type[], Expression[]) Inherited from Expression
Catch(ParameterExpression, Expression) Inherited from Expression
Catch(ParameterExpression, Expression, Expression) Inherited from Expression
Catch(Type, Expression) Inherited from Expression
Catch(Type, Expression, Expression) Inherited from Expression
ClearDebugInfo(SymbolDocumentInfo) Inherited from Expression
Coalesce(Expression, Expression) Inherited from Expression
Coalesce(Expression, Expression, LambdaExpression) Inherited from Expression
Compile()

Compiles the lambda expression described by the expression tree into executable code and produces a delegate that represents the lambda expression.

Compile(Boolean)

Compiles the lambda expression described by the expression tree into interpreted or compiled code and produces a delegate that represents the lambda expression.

Compile(DebugInfoGenerator)

Produces a delegate that represents the lambda expression.

CompileToMethod(MethodBuilder) Inherited from LambdaExpression
CompileToMethod(MethodBuilder, DebugInfoGenerator) Inherited from LambdaExpression
Condition(Expression, Expression, Expression) Inherited from Expression
Condition(Expression, Expression, Expression, Type) Inherited from Expression
Constant(Object) Inherited from Expression
Constant(Object, Type) Inherited from Expression
Continue(LabelTarget) Inherited from Expression
Continue(LabelTarget, Type) Inherited from Expression
Convert(Expression, Type) Inherited from Expression
Convert(Expression, Type, MethodInfo) Inherited from Expression
ConvertChecked(Expression, Type) Inherited from Expression
ConvertChecked(Expression, Type, MethodInfo) Inherited from Expression
DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) Inherited from Expression
Decrement(Expression) Inherited from Expression
Decrement(Expression, MethodInfo) Inherited from Expression
Default(Type) Inherited from Expression
Divide(Expression, Expression) Inherited from Expression
Divide(Expression, Expression, MethodInfo) Inherited from Expression
DivideAssign(Expression, Expression) Inherited from Expression
DivideAssign(Expression, Expression, MethodInfo) Inherited from Expression
DivideAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
Dynamic(CallSiteBinder, Type, Expression) Inherited from Expression
Dynamic(CallSiteBinder, Type, Expression, Expression) Inherited from Expression
Dynamic(CallSiteBinder, Type, Expression, Expression, Expression) Inherited from Expression
Dynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression) Inherited from Expression
Dynamic(CallSiteBinder, Type, Expression[]) Inherited from Expression
Dynamic(CallSiteBinder, Type, IEnumerable<Expression>) Inherited from Expression
ElementInit(MethodInfo, Expression[]) Inherited from Expression
ElementInit(MethodInfo, IEnumerable<Expression>) Inherited from Expression
Empty() Inherited from Expression
Equal(Expression, Expression) Inherited from Expression
Equal(Expression, Expression, Boolean, MethodInfo) Inherited from Expression
Equals(Object) Inherited from Object
Equals(Object, Object) Inherited from Object
ExclusiveOr(Expression, Expression) Inherited from Expression
ExclusiveOr(Expression, Expression, MethodInfo) Inherited from Expression
ExclusiveOrAssign(Expression, Expression) Inherited from Expression
ExclusiveOrAssign(Expression, Expression, MethodInfo) Inherited from Expression
ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
Field(Expression, FieldInfo) Inherited from Expression
Field(Expression, String) Inherited from Expression
Field(Expression, Type, String) Inherited from Expression
GetActionType(Type[]) Inherited from Expression
GetDelegateType(Type[]) Inherited from Expression
GetFuncType(Type[]) Inherited from Expression
GetHashCode() Inherited from Object
GetType() Inherited from Object
Goto(LabelTarget) Inherited from Expression
Goto(LabelTarget, Expression) Inherited from Expression
Goto(LabelTarget, Expression, Type) Inherited from Expression
Goto(LabelTarget, Type) Inherited from Expression
GreaterThan(Expression, Expression) Inherited from Expression
GreaterThan(Expression, Expression, Boolean, MethodInfo) Inherited from Expression
GreaterThanOrEqual(Expression, Expression) Inherited from Expression
GreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo) Inherited from Expression
IfThen(Expression, Expression) Inherited from Expression
IfThenElse(Expression, Expression, Expression) Inherited from Expression
Increment(Expression) Inherited from Expression
Increment(Expression, MethodInfo) Inherited from Expression
Invoke(Expression, Expression[]) Inherited from Expression
Invoke(Expression, IEnumerable<Expression>) Inherited from Expression
IsFalse(Expression) Inherited from Expression
IsFalse(Expression, MethodInfo) Inherited from Expression
IsTrue(Expression) Inherited from Expression
IsTrue(Expression, MethodInfo) Inherited from Expression
Label() Inherited from Expression
Label(LabelTarget) Inherited from Expression
Label(LabelTarget, Expression) Inherited from Expression
Label(String) Inherited from Expression
Label(Type) Inherited from Expression
Label(Type, String) Inherited from Expression
Lambda(Expression, Boolean, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda(Expression, Boolean, ParameterExpression[]) Inherited from Expression
Lambda(Expression, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda(Expression, ParameterExpression[]) Inherited from Expression
Lambda(Expression, String, Boolean, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda(Expression, String, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda(Type, Expression, Boolean, ParameterExpression[]) Inherited from Expression
Lambda(Type, Expression, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda(Type, Expression, ParameterExpression[]) Inherited from Expression
Lambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda(Type, Expression, String, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda<TDelegate>(Expression, Boolean, ParameterExpression[]) Inherited from Expression
Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda<TDelegate>(Expression, ParameterExpression[]) Inherited from Expression
Lambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>) Inherited from Expression
Lambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>) Inherited from Expression
LeftShift(Expression, Expression) Inherited from Expression
LeftShift(Expression, Expression, MethodInfo) Inherited from Expression
LeftShiftAssign(Expression, Expression) Inherited from Expression
LeftShiftAssign(Expression, Expression, MethodInfo) Inherited from Expression
LeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
LessThan(Expression, Expression) Inherited from Expression
LessThan(Expression, Expression, Boolean, MethodInfo) Inherited from Expression
LessThanOrEqual(Expression, Expression) Inherited from Expression
LessThanOrEqual(Expression, Expression, Boolean, MethodInfo) Inherited from Expression
ListBind(MemberInfo, ElementInit[]) Inherited from Expression
ListBind(MemberInfo, IEnumerable<ElementInit>) Inherited from Expression
ListBind(MethodInfo, ElementInit[]) Inherited from Expression
ListBind(MethodInfo, IEnumerable<ElementInit>) Inherited from Expression
ListInit(NewExpression, ElementInit[]) Inherited from Expression
ListInit(NewExpression, Expression[]) Inherited from Expression
ListInit(NewExpression, IEnumerable<ElementInit>) Inherited from Expression
ListInit(NewExpression, IEnumerable<Expression>) Inherited from Expression
ListInit(NewExpression, MethodInfo, Expression[]) Inherited from Expression
ListInit(NewExpression, MethodInfo, IEnumerable<Expression>) Inherited from Expression
Loop(Expression) Inherited from Expression
Loop(Expression, LabelTarget) Inherited from Expression
Loop(Expression, LabelTarget, LabelTarget) Inherited from Expression
MakeBinary(ExpressionType, Expression, Expression) Inherited from Expression
MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo) Inherited from Expression
MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression) Inherited from Expression
MakeCatchBlock(Type, ParameterExpression, Expression, Expression) Inherited from Expression
MakeDynamic(Type, CallSiteBinder, Expression) Inherited from Expression
MakeDynamic(Type, CallSiteBinder, Expression, Expression) Inherited from Expression
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression) Inherited from Expression
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression) Inherited from Expression
MakeDynamic(Type, CallSiteBinder, Expression[]) Inherited from Expression
MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>) Inherited from Expression
MakeGoto(GotoExpressionKind, LabelTarget, Expression, Type) Inherited from Expression
MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>) Inherited from Expression
MakeMemberAccess(Expression, MemberInfo) Inherited from Expression
MakeTry(Type, Expression, Expression, Expression, IEnumerable<CatchBlock>) Inherited from Expression
MakeUnary(ExpressionType, Expression, Type) Inherited from Expression
MakeUnary(ExpressionType, Expression, Type, MethodInfo) Inherited from Expression
MemberBind(MemberInfo, IEnumerable<MemberBinding>) Inherited from Expression
MemberBind(MemberInfo, MemberBinding[]) Inherited from Expression
MemberBind(MethodInfo, IEnumerable<MemberBinding>) Inherited from Expression
MemberBind(MethodInfo, MemberBinding[]) Inherited from Expression
MemberInit(NewExpression, IEnumerable<MemberBinding>) Inherited from Expression
MemberInit(NewExpression, MemberBinding[]) Inherited from Expression
MemberwiseClone() Inherited from Object
Modulo(Expression, Expression) Inherited from Expression
Modulo(Expression, Expression, MethodInfo) Inherited from Expression
ModuloAssign(Expression, Expression) Inherited from Expression
ModuloAssign(Expression, Expression, MethodInfo) Inherited from Expression
ModuloAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
Multiply(Expression, Expression) Inherited from Expression
Multiply(Expression, Expression, MethodInfo) Inherited from Expression
MultiplyAssign(Expression, Expression) Inherited from Expression
MultiplyAssign(Expression, Expression, MethodInfo) Inherited from Expression
MultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
MultiplyAssignChecked(Expression, Expression) Inherited from Expression
MultiplyAssignChecked(Expression, Expression, MethodInfo) Inherited from Expression
MultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
MultiplyChecked(Expression, Expression) Inherited from Expression
MultiplyChecked(Expression, Expression, MethodInfo) Inherited from Expression
Negate(Expression) Inherited from Expression
Negate(Expression, MethodInfo) Inherited from Expression
NegateChecked(Expression) Inherited from Expression
NegateChecked(Expression, MethodInfo) Inherited from Expression
New(ConstructorInfo) Inherited from Expression
New(ConstructorInfo, Expression[]) Inherited from Expression
New(ConstructorInfo, IEnumerable<Expression>) Inherited from Expression
New(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>) Inherited from Expression
New(ConstructorInfo, IEnumerable<Expression>, MemberInfo[]) Inherited from Expression
New(Type) Inherited from Expression
NewArrayBounds(Type, Expression[]) Inherited from Expression
NewArrayBounds(Type, IEnumerable<Expression>) Inherited from Expression
NewArrayInit(Type, Expression[]) Inherited from Expression
NewArrayInit(Type, IEnumerable<Expression>) Inherited from Expression
Not(Expression) Inherited from Expression
Not(Expression, MethodInfo) Inherited from Expression
NotEqual(Expression, Expression) Inherited from Expression
NotEqual(Expression, Expression, Boolean, MethodInfo) Inherited from Expression
OnesComplement(Expression) Inherited from Expression
OnesComplement(Expression, MethodInfo) Inherited from Expression
Or(Expression, Expression) Inherited from Expression
Or(Expression, Expression, MethodInfo) Inherited from Expression
OrAssign(Expression, Expression) Inherited from Expression
OrAssign(Expression, Expression, MethodInfo) Inherited from Expression
OrAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
OrElse(Expression, Expression) Inherited from Expression
OrElse(Expression, Expression, MethodInfo) Inherited from Expression
Parameter(Type) Inherited from Expression
Parameter(Type, String) Inherited from Expression
PostDecrementAssign(Expression) Inherited from Expression
PostDecrementAssign(Expression, MethodInfo) Inherited from Expression
PostIncrementAssign(Expression) Inherited from Expression
PostIncrementAssign(Expression, MethodInfo) Inherited from Expression
Power(Expression, Expression) Inherited from Expression
Power(Expression, Expression, MethodInfo) Inherited from Expression
PowerAssign(Expression, Expression) Inherited from Expression
PowerAssign(Expression, Expression, MethodInfo) Inherited from Expression
PowerAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
PreDecrementAssign(Expression) Inherited from Expression
PreDecrementAssign(Expression, MethodInfo) Inherited from Expression
PreIncrementAssign(Expression) Inherited from Expression
PreIncrementAssign(Expression, MethodInfo) Inherited from Expression
Property(Expression, MethodInfo) Inherited from Expression
Property(Expression, PropertyInfo) Inherited from Expression
Property(Expression, PropertyInfo, Expression[]) Inherited from Expression
Property(Expression, PropertyInfo, IEnumerable<Expression>) Inherited from Expression
Property(Expression, String) Inherited from Expression
Property(Expression, String, Expression[]) Inherited from Expression
Property(Expression, Type, String) Inherited from Expression
PropertyOrField(Expression, String) Inherited from Expression
Quote(Expression) Inherited from Expression
Reduce() Inherited from Expression
ReduceAndCheck() Inherited from Expression
ReduceExtensions() Inherited from Expression
ReferenceEqual(Expression, Expression) Inherited from Expression
ReferenceEquals(Object, Object) Inherited from Object
ReferenceNotEqual(Expression, Expression) Inherited from Expression
Rethrow() Inherited from Expression
Rethrow(Type) Inherited from Expression
Return(LabelTarget) Inherited from Expression
Return(LabelTarget, Expression) Inherited from Expression
Return(LabelTarget, Expression, Type) Inherited from Expression
Return(LabelTarget, Type) Inherited from Expression
RightShift(Expression, Expression) Inherited from Expression
RightShift(Expression, Expression, MethodInfo) Inherited from Expression
RightShiftAssign(Expression, Expression) Inherited from Expression
RightShiftAssign(Expression, Expression, MethodInfo) Inherited from Expression
RightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
RuntimeVariables(IEnumerable<ParameterExpression>) Inherited from Expression
RuntimeVariables(ParameterExpression[]) Inherited from Expression
Subtract(Expression, Expression) Inherited from Expression
Subtract(Expression, Expression, MethodInfo) Inherited from Expression
SubtractAssign(Expression, Expression) Inherited from Expression
SubtractAssign(Expression, Expression, MethodInfo) Inherited from Expression
SubtractAssign(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
SubtractAssignChecked(Expression, Expression) Inherited from Expression
SubtractAssignChecked(Expression, Expression, MethodInfo) Inherited from Expression
SubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression) Inherited from Expression
SubtractChecked(Expression, Expression) Inherited from Expression
SubtractChecked(Expression, Expression, MethodInfo) Inherited from Expression
Switch(Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Inherited from Expression
Switch(Expression, Expression, MethodInfo, SwitchCase[]) Inherited from Expression
Switch(Expression, Expression, SwitchCase[]) Inherited from Expression
Switch(Expression, SwitchCase[]) Inherited from Expression
Switch(Type, Expression, Expression, MethodInfo, IEnumerable<SwitchCase>) Inherited from Expression
Switch(Type, Expression, Expression, MethodInfo, SwitchCase[]) Inherited from Expression
SwitchCase(Expression, Expression[]) Inherited from Expression
SwitchCase(Expression, IEnumerable<Expression>) Inherited from Expression
SymbolDocument(String) Inherited from Expression
SymbolDocument(String, Guid) Inherited from Expression
SymbolDocument(String, Guid, Guid) Inherited from Expression
SymbolDocument(String, Guid, Guid, Guid) Inherited from Expression
Throw(Expression) Inherited from Expression
Throw(Expression, Type) Inherited from Expression
ToString() Inherited from Expression
TryCatch(Expression, CatchBlock[]) Inherited from Expression
TryCatchFinally(Expression, Expression, CatchBlock[]) Inherited from Expression
TryFault(Expression, Expression) Inherited from Expression
TryFinally(Expression, Expression) Inherited from Expression
TryGetActionType(Type[], Type) Inherited from Expression
TryGetFuncType(Type[], Type) Inherited from Expression
TypeAs(Expression, Type) Inherited from Expression
TypeEqual(Expression, Type) Inherited from Expression
TypeIs(Expression, Type) Inherited from Expression
UnaryPlus(Expression) Inherited from Expression
UnaryPlus(Expression, MethodInfo) Inherited from Expression
Unbox(Expression, Type) Inherited from Expression
Update(Expression, IEnumerable<ParameterExpression>)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

Variable(Type) Inherited from Expression
Variable(Type, String) Inherited from Expression
VisitChildren(ExpressionVisitor) Inherited from Expression

Properties

Body Inherited from LambdaExpression
CanReduce Inherited from Expression
Name Inherited from LambdaExpression
NodeType Inherited from LambdaExpression
Parameters Inherited from LambdaExpression
ReturnType Inherited from LambdaExpression
TailCall Inherited from LambdaExpression
Type Inherited from LambdaExpression

Applies to