Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Expression Class

 

Provides the base class from which the classes that represent expression tree nodes are derived. It also contains static (Shared in Visual Basic) factory methods to create the various node types. This is an abstract class.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)


public abstract class Expression

NameDescription
System_CAPS_protmethodExpression()

Constructs a new instance of Expression.

System_CAPS_protmethodExpression(ExpressionType, Type)

Obsolete.Initializes a new instance of the Expression class.

NameDescription
System_CAPS_pubpropertyCanReduce

Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form.

System_CAPS_pubpropertyNodeType

Gets the node type of this Expression.

System_CAPS_pubpropertyType

Gets the static type of the expression that this Expression represents.

NameDescription
System_CAPS_protmethodAccept(ExpressionVisitor)

Dispatches to the specific visit method for this node type. For example, MethodCallExpression calls the VisitMethodCall.

System_CAPS_pubmethodSystem_CAPS_staticAdd(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAdd(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticAddAssign(Expression, Expression)

Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAddAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAddAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAddAssignChecked(Expression, Expression)

Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAddAssignChecked(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAddChecked(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic addition operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticAddChecked(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic addition operation that has overflow checking. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticAnd(Expression, Expression)

Creates a BinaryExpression that represents a bitwise AND operation.

System_CAPS_pubmethodSystem_CAPS_staticAnd(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise AND operation. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticAndAlso(Expression, Expression)

Creates a BinaryExpression that represents a conditional AND operation that evaluates the second operand only if the first operand evaluates to true.

System_CAPS_pubmethodSystem_CAPS_staticAndAlso(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a conditional AND operation that evaluates the second operand only if the first operand is resolved to true. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticAndAssign(Expression, Expression)

Creates a BinaryExpression that represents a bitwise AND assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticAndAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise AND assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticAndAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a bitwise AND assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticArrayAccess(Expression, Expression[])

Creates an IndexExpression to access an array.

System_CAPS_pubmethodSystem_CAPS_staticArrayAccess(Expression, IEnumerable<Expression>)

Creates an IndexExpression to access a multidimensional array.

System_CAPS_pubmethodSystem_CAPS_staticArrayIndex(Expression, Expression)

Creates a BinaryExpression that represents applying an array index operator to an array of rank one.

System_CAPS_pubmethodSystem_CAPS_staticArrayIndex(Expression, Expression[])

Creates a MethodCallExpression that represents applying an array index operator to a multidimensional array.

System_CAPS_pubmethodSystem_CAPS_staticArrayIndex(Expression, IEnumerable<Expression>)

Creates a MethodCallExpression that represents applying an array index operator to an array of rank more than one.

System_CAPS_pubmethodSystem_CAPS_staticArrayLength(Expression)

Creates a UnaryExpression that represents an expression for obtaining the length of a one-dimensional array.

System_CAPS_pubmethodSystem_CAPS_staticAssign(Expression, Expression)

Creates a BinaryExpression that represents an assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticBind(MemberInfo, Expression)

Creates a MemberAssignment that represents the initialization of a field or property.

System_CAPS_pubmethodSystem_CAPS_staticBind(MethodInfo, Expression)

Creates a MemberAssignment that represents the initialization of a member by using a property accessor method.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression)

Creates a BlockExpression that contains two expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression, Expression)

Creates a BlockExpression that contains three expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression, Expression, Expression)

Creates a BlockExpression that contains four expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression, Expression, Expression, Expression)

Creates a BlockExpression that contains five expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression[])

Creates a BlockExpression that contains the given expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(IEnumerable<Expression>)

Creates a BlockExpression that contains the given expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(IEnumerable<ParameterExpression>, Expression[])

Creates a BlockExpression that contains the given variables and expressions.

System_CAPS_pubmethodSystem_CAPS_staticBlock(IEnumerable<ParameterExpression>, IEnumerable<Expression>)

Creates a BlockExpression that contains the given variables and expressions.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, Expression[])

Creates a BlockExpression that contains the given expressions, has no variables and has specific result type.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, IEnumerable<Expression>)

Creates a BlockExpression that contains the given expressions, has no variables and has specific result type.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, IEnumerable<ParameterExpression>, Expression[])

Creates a BlockExpression that contains the given variables and expressions.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>)

Creates a BlockExpression that contains the given variables and expressions.

System_CAPS_pubmethodSystem_CAPS_staticBreak(LabelTarget)

Creates a GotoExpression representing a break statement.

System_CAPS_pubmethodSystem_CAPS_staticBreak(LabelTarget, Expression)

Creates a GotoExpression representing a break statement. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticBreak(LabelTarget, Expression, Type)

Creates a GotoExpression representing a break statement with the specified type. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticBreak(LabelTarget, Type)

Creates a GotoExpression representing a break statement with the specified type.

System_CAPS_pubmethodSystem_CAPS_staticCall(Expression, MethodInfo)

Creates a MethodCallExpression that represents a call to a method that takes no arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(Expression, MethodInfo, Expression, Expression)

Creates a MethodCallExpression that represents a call to a method that takes two arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(Expression, MethodInfo, Expression, Expression, Expression)

Creates a MethodCallExpression that represents a call to a method that takes three arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(Expression, MethodInfo, Expression[])

Creates a MethodCallExpression that represents a call to a method that takes arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(Expression, MethodInfo, IEnumerable<Expression>)

Creates a MethodCallExpression that represents a call to a method that takes arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(Expression, String, Type[], Expression[])

Creates a MethodCallExpression that represents a call to a method by calling the appropriate factory method.

System_CAPS_pubmethodSystem_CAPS_staticCall(MethodInfo, Expression)

Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method that takes one argument.

System_CAPS_pubmethodSystem_CAPS_staticCall(MethodInfo, Expression, Expression)

Creates a MethodCallExpression that represents a call to a static method that takes two arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(MethodInfo, Expression, Expression, Expression)

Creates a MethodCallExpression that represents a call to a static method that takes three arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(MethodInfo, Expression, Expression, Expression, Expression)

Creates a MethodCallExpression that represents a call to a static method that takes four arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(MethodInfo, Expression, Expression, Expression, Expression, Expression)

Creates a MethodCallExpression that represents a call to a static method that takes five arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(MethodInfo, Expression[])

Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method that has arguments.

System_CAPS_pubmethodSystem_CAPS_staticCall(MethodInfo, IEnumerable<Expression>)

Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method.

System_CAPS_pubmethodSystem_CAPS_staticCall(Type, String, Type[], Expression[])

Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method by calling the appropriate factory method.

System_CAPS_pubmethodSystem_CAPS_staticCatch(ParameterExpression, Expression)

Creates a CatchBlock representing a catch statement with a reference to the caught Exception object for use in the handler body.

System_CAPS_pubmethodSystem_CAPS_staticCatch(ParameterExpression, Expression, Expression)

Creates a CatchBlock representing a catch statement with an Exception filter and a reference to the caught Exception object.

System_CAPS_pubmethodSystem_CAPS_staticCatch(Type, Expression)

Creates a CatchBlock representing a catch statement.

System_CAPS_pubmethodSystem_CAPS_staticCatch(Type, Expression, Expression)

Creates a CatchBlock representing a catch statement with an Exception filter but no reference to the caught Exception object.

System_CAPS_pubmethodSystem_CAPS_staticClearDebugInfo(SymbolDocumentInfo)

Creates a DebugInfoExpression for clearing a sequence point.

System_CAPS_pubmethodSystem_CAPS_staticCoalesce(Expression, Expression)

Creates a BinaryExpression that represents a coalescing operation.

System_CAPS_pubmethodSystem_CAPS_staticCoalesce(Expression, Expression, LambdaExpression)

Creates a BinaryExpression that represents a coalescing operation, given a conversion function.

System_CAPS_pubmethodSystem_CAPS_staticCondition(Expression, Expression, Expression)

Creates a ConditionalExpression that represents a conditional statement.

System_CAPS_pubmethodSystem_CAPS_staticCondition(Expression, Expression, Expression, Type)

Creates a ConditionalExpression that represents a conditional statement.

System_CAPS_pubmethodSystem_CAPS_staticConstant(Object)

Creates a ConstantExpression that has the Value property set to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticConstant(Object, Type)

Creates a ConstantExpression that has the Value and Type properties set to the specified values.

System_CAPS_pubmethodSystem_CAPS_staticContinue(LabelTarget)

Creates a GotoExpression representing a continue statement.

System_CAPS_pubmethodSystem_CAPS_staticContinue(LabelTarget, Type)

Creates a GotoExpression representing a continue statement with the specified type.

System_CAPS_pubmethodSystem_CAPS_staticConvert(Expression, Type)

Creates a UnaryExpression that represents a type conversion operation.

System_CAPS_pubmethodSystem_CAPS_staticConvert(Expression, Type, MethodInfo)

Creates a UnaryExpression that represents a conversion operation for which the implementing method is specified.

System_CAPS_pubmethodSystem_CAPS_staticConvertChecked(Expression, Type)

Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed.

System_CAPS_pubmethodSystem_CAPS_staticConvertChecked(Expression, Type, MethodInfo)

Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed and for which the implementing method is specified.

System_CAPS_pubmethodSystem_CAPS_staticDebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32)

Creates a DebugInfoExpression with the specified span.

System_CAPS_pubmethodSystem_CAPS_staticDecrement(Expression)

Creates a UnaryExpression that represents the decrementing of the expression by 1.

System_CAPS_pubmethodSystem_CAPS_staticDecrement(Expression, MethodInfo)

Creates a UnaryExpression that represents the decrementing of the expression by 1.

System_CAPS_pubmethodSystem_CAPS_staticDefault(Type)

Creates a DefaultExpression that has the Type property set to the specified type.

System_CAPS_pubmethodSystem_CAPS_staticDivide(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic division operation.

System_CAPS_pubmethodSystem_CAPS_staticDivide(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic division operation. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticDivideAssign(Expression, Expression)

Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticDivideAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticDivideAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticDynamic(CallSiteBinder, Type, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticDynamic(CallSiteBinder, Type, Expression, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticDynamic(CallSiteBinder, Type, Expression, Expression, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticDynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticDynamic(CallSiteBinder, Type, Expression[])

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticDynamic(CallSiteBinder, Type, IEnumerable<Expression>)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticElementInit(MethodInfo, Expression[])

Creates an ElementInit, given an array of values as the second argument.

System_CAPS_pubmethodSystem_CAPS_staticElementInit(MethodInfo, IEnumerable<Expression>)

Creates an ElementInit, given an IEnumerable<T> as the second argument.

System_CAPS_pubmethodSystem_CAPS_staticEmpty()

Creates an empty expression that has Void type.

System_CAPS_pubmethodSystem_CAPS_staticEqual(Expression, Expression)

Creates a BinaryExpression that represents an equality comparison.

System_CAPS_pubmethodSystem_CAPS_staticEqual(Expression, Expression, Boolean, MethodInfo)

Creates a BinaryExpression that represents an equality comparison. The implementing method can be specified.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticExclusiveOr(Expression, Expression)

Creates a BinaryExpression that represents a bitwise XOR operation, using op_ExclusiveOr for user-defined types.

System_CAPS_pubmethodSystem_CAPS_staticExclusiveOr(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise XOR operation, using op_ExclusiveOr for user-defined types. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticExclusiveOrAssign(Expression, Expression)

Creates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

System_CAPS_pubmethodSystem_CAPS_staticExclusiveOrAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

System_CAPS_pubmethodSystem_CAPS_staticExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a bitwise XOR assignment operation, using op_ExclusiveOr for user-defined types.

System_CAPS_pubmethodSystem_CAPS_staticField(Expression, FieldInfo)

Creates a MemberExpression that represents accessing a field.

System_CAPS_pubmethodSystem_CAPS_staticField(Expression, String)

Creates a MemberExpression that represents accessing a field given the name of the field.

System_CAPS_pubmethodSystem_CAPS_staticField(Expression, Type, String)

Creates a MemberExpression that represents accessing a field.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetActionType(Type[])

Creates a Type object that represents a generic System.Action delegate type that has specific type arguments.

System_CAPS_pubmethodSystem_CAPS_staticGetDelegateType(Type[])

Gets a Type object that represents a generic System.Func or System.Action delegate type that has specific type arguments.

System_CAPS_pubmethodSystem_CAPS_staticGetFuncType(Type[])

Creates a Type object that represents a generic System.Func delegate type that has specific type arguments. The last type argument specifies the return type of the created delegate.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGoto(LabelTarget)

Creates a GotoExpression representing a "go to" statement.

System_CAPS_pubmethodSystem_CAPS_staticGoto(LabelTarget, Expression)

Creates a GotoExpression representing a "go to" statement. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticGoto(LabelTarget, Expression, Type)

Creates a GotoExpression representing a "go to" statement with the specified type. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticGoto(LabelTarget, Type)

Creates a GotoExpression representing a "go to" statement with the specified type.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThan(Expression, Expression)

Creates a BinaryExpression that represents a "greater than" numeric comparison.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThan(Expression, Expression, Boolean, MethodInfo)

Creates a BinaryExpression that represents a "greater than" numeric comparison. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThanOrEqual(Expression, Expression)

Creates a BinaryExpression that represents a "greater than or equal" numeric comparison.

System_CAPS_pubmethodSystem_CAPS_staticGreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo)

Creates a BinaryExpression that represents a "greater than or equal" numeric comparison.

System_CAPS_pubmethodSystem_CAPS_staticIfThen(Expression, Expression)

Creates a ConditionalExpression that represents a conditional block with an if statement.

System_CAPS_pubmethodSystem_CAPS_staticIfThenElse(Expression, Expression, Expression)

Creates a ConditionalExpression that represents a conditional block with if and else statements.

System_CAPS_pubmethodSystem_CAPS_staticIncrement(Expression)

Creates a UnaryExpression that represents the incrementing of the expression value by 1.

System_CAPS_pubmethodSystem_CAPS_staticIncrement(Expression, MethodInfo)

Creates a UnaryExpression that represents the incrementing of the expression by 1.

System_CAPS_pubmethodSystem_CAPS_staticInvoke(Expression, Expression[])

Creates an InvocationExpression that applies a delegate or lambda expression to a list of argument expressions.

System_CAPS_pubmethodSystem_CAPS_staticInvoke(Expression, IEnumerable<Expression>)

Creates an InvocationExpression that applies a delegate or lambda expression to a list of argument expressions.

System_CAPS_pubmethodSystem_CAPS_staticIsFalse(Expression)

Returns whether the expression evaluates to false.

System_CAPS_pubmethodSystem_CAPS_staticIsFalse(Expression, MethodInfo)

Returns whether the expression evaluates to false.

System_CAPS_pubmethodSystem_CAPS_staticIsTrue(Expression)

Returns whether the expression evaluates to true.

System_CAPS_pubmethodSystem_CAPS_staticIsTrue(Expression, MethodInfo)

Returns whether the expression evaluates to true.

System_CAPS_pubmethodSystem_CAPS_staticLabel()

Creates a LabelTarget representing a label with void type and no name.

System_CAPS_pubmethodSystem_CAPS_staticLabel(LabelTarget)

Creates a LabelExpression representing a label without a default value.

System_CAPS_pubmethodSystem_CAPS_staticLabel(LabelTarget, Expression)

Creates a LabelExpression representing a label with the given default value.

System_CAPS_pubmethodSystem_CAPS_staticLabel(String)

Creates a LabelTarget representing a label with void type and the given name.

System_CAPS_pubmethodSystem_CAPS_staticLabel(Type)

Creates a LabelTarget representing a label with the given type.

System_CAPS_pubmethodSystem_CAPS_staticLabel(Type, String)

Creates a LabelTarget representing a label with the given type and name.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Expression, Boolean, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Expression, Boolean, ParameterExpression[])

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Expression, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Expression, ParameterExpression[])

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Expression, String, Boolean, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Expression, String, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Type, Expression, Boolean, ParameterExpression[])

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Type, Expression, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type. It can be used when the delegate type is not known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Type, Expression, ParameterExpression[])

Creates a LambdaExpression by first constructing a delegate type. It can be used when the delegate type is not known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda(Type, Expression, String, IEnumerable<ParameterExpression>)

Creates a LambdaExpression by first constructing a delegate type.

System_CAPS_pubmethodSystem_CAPS_staticLambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>)

Creates an Expression<TDelegate> where the delegate type is known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLambda<TDelegate>(Expression, Boolean, ParameterExpression[])

Creates an Expression<TDelegate> where the delegate type is known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLambda<TDelegate>(Expression, IEnumerable<ParameterExpression>)

Creates an Expression<TDelegate> where the delegate type is known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLambda<TDelegate>(Expression, ParameterExpression[])

Creates an Expression<TDelegate> where the delegate type is known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>)

Creates an Expression<TDelegate> where the delegate type is known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>)

Creates an Expression<TDelegate> where the delegate type is known at compile time.

System_CAPS_pubmethodSystem_CAPS_staticLeftShift(Expression, Expression)

Creates a BinaryExpression that represents a bitwise left-shift operation.

System_CAPS_pubmethodSystem_CAPS_staticLeftShift(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise left-shift operation.

System_CAPS_pubmethodSystem_CAPS_staticLeftShiftAssign(Expression, Expression)

Creates a BinaryExpression that represents a bitwise left-shift assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticLeftShiftAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise left-shift assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticLeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a bitwise left-shift assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticLessThan(Expression, Expression)

Creates a BinaryExpression that represents a "less than" numeric comparison.

System_CAPS_pubmethodSystem_CAPS_staticLessThan(Expression, Expression, Boolean, MethodInfo)

Creates a BinaryExpression that represents a "less than" numeric comparison.

System_CAPS_pubmethodSystem_CAPS_staticLessThanOrEqual(Expression, Expression)

Creates a BinaryExpression that represents a " less than or equal" numeric comparison.

System_CAPS_pubmethodSystem_CAPS_staticLessThanOrEqual(Expression, Expression, Boolean, MethodInfo)

Creates a BinaryExpression that represents a "less than or equal" numeric comparison.

System_CAPS_pubmethodSystem_CAPS_staticListBind(MemberInfo, ElementInit[])

Creates a MemberListBinding where the member is a field or property.

System_CAPS_pubmethodSystem_CAPS_staticListBind(MemberInfo, IEnumerable<ElementInit>)

Creates a MemberListBinding where the member is a field or property.

System_CAPS_pubmethodSystem_CAPS_staticListBind(MethodInfo, ElementInit[])

Creates a MemberListBinding object based on a specified property accessor method.

System_CAPS_pubmethodSystem_CAPS_staticListBind(MethodInfo, IEnumerable<ElementInit>)

Creates a MemberListBinding based on a specified property accessor method.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression, ElementInit[])

Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression, Expression[])

Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression, IEnumerable<ElementInit>)

Creates a ListInitExpression that uses specified ElementInit objects to initialize a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression, IEnumerable<Expression>)

Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression, MethodInfo, Expression[])

Creates a ListInitExpression that uses a specified method to add elements to a collection.

System_CAPS_pubmethodSystem_CAPS_staticListInit(NewExpression, MethodInfo, IEnumerable<Expression>)

Creates a ListInitExpression that uses a specified method to add elements to a collection.

System_CAPS_pubmethodSystem_CAPS_staticLoop(Expression)

Creates a LoopExpression with the given body.

System_CAPS_pubmethodSystem_CAPS_staticLoop(Expression, LabelTarget)

Creates a LoopExpression with the given body and break target.

System_CAPS_pubmethodSystem_CAPS_staticLoop(Expression, LabelTarget, LabelTarget)

Creates a LoopExpression with the given body.

System_CAPS_pubmethodSystem_CAPS_staticMakeBinary(ExpressionType, Expression, Expression)

Creates a BinaryExpression, given the left and right operands, by calling an appropriate factory method.

System_CAPS_pubmethodSystem_CAPS_staticMakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo)

Creates a BinaryExpression, given the left operand, right operand and implementing method, by calling the appropriate factory method.

System_CAPS_pubmethodSystem_CAPS_staticMakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression)

Creates a BinaryExpression, given the left operand, right operand, implementing method and type conversion function, by calling the appropriate factory method.

System_CAPS_pubmethodSystem_CAPS_staticMakeCatchBlock(Type, ParameterExpression, Expression, Expression)

Creates a CatchBlock representing a catch statement with the specified elements.

System_CAPS_pubmethodSystem_CAPS_staticMakeDynamic(Type, CallSiteBinder, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and one argument.

System_CAPS_pubmethodSystem_CAPS_staticMakeDynamic(Type, CallSiteBinder, Expression, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and two arguments.

System_CAPS_pubmethodSystem_CAPS_staticMakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and three arguments.

System_CAPS_pubmethodSystem_CAPS_staticMakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and four arguments.

System_CAPS_pubmethodSystem_CAPS_staticMakeDynamic(Type, CallSiteBinder, Expression[])

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticMakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>)

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.

System_CAPS_pubmethodSystem_CAPS_staticMakeGoto(GotoExpressionKind, LabelTarget, Expression, Type)

Creates a GotoExpression representing a jump of the specified GotoExpressionKind. The value passed to the label upon jumping can also be specified.

System_CAPS_pubmethodSystem_CAPS_staticMakeIndex(Expression, PropertyInfo, IEnumerable<Expression>)

Creates an IndexExpression that represents accessing an indexed property in an object.

System_CAPS_pubmethodSystem_CAPS_staticMakeMemberAccess(Expression, MemberInfo)

Creates a MemberExpression that represents accessing either a field or a property.

System_CAPS_pubmethodSystem_CAPS_staticMakeTry(Type, Expression, Expression, Expression, IEnumerable<CatchBlock>)

Creates a TryExpression representing a try block with the specified elements.

System_CAPS_pubmethodSystem_CAPS_staticMakeUnary(ExpressionType, Expression, Type)

Creates a UnaryExpression, given an operand, by calling the appropriate factory method.

System_CAPS_pubmethodSystem_CAPS_staticMakeUnary(ExpressionType, Expression, Type, MethodInfo)

Creates a UnaryExpression, given an operand and implementing method, by calling the appropriate factory method.

System_CAPS_pubmethodSystem_CAPS_staticMemberBind(MemberInfo, IEnumerable<MemberBinding>)

Creates a MemberMemberBinding that represents the recursive initialization of members of a field or property.

System_CAPS_pubmethodSystem_CAPS_staticMemberBind(MemberInfo, MemberBinding[])

Creates a MemberMemberBinding that represents the recursive initialization of members of a field or property.

System_CAPS_pubmethodSystem_CAPS_staticMemberBind(MethodInfo, IEnumerable<MemberBinding>)

Creates a MemberMemberBinding that represents the recursive initialization of members of a member that is accessed by using a property accessor method.

System_CAPS_pubmethodSystem_CAPS_staticMemberBind(MethodInfo, MemberBinding[])

Creates a MemberMemberBinding that represents the recursive initialization of members of a member that is accessed by using a property accessor method.

System_CAPS_pubmethodSystem_CAPS_staticMemberInit(NewExpression, IEnumerable<MemberBinding>)

Represents an expression that creates a new object and initializes a property of the object.

System_CAPS_pubmethodSystem_CAPS_staticMemberInit(NewExpression, MemberBinding[])
System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticModulo(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic remainder operation.

System_CAPS_pubmethodSystem_CAPS_staticModulo(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic remainder operation.

System_CAPS_pubmethodSystem_CAPS_staticModuloAssign(Expression, Expression)

Creates a BinaryExpression that represents a remainder assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticModuloAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a remainder assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticModuloAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a remainder assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticMultiply(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiply(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyAssign(Expression, Expression)

Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyAssignChecked(Expression, Expression)

Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyAssignChecked(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyChecked(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic multiplication operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticMultiplyChecked(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic multiplication operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticNegate(Expression)

Creates a UnaryExpression that represents an arithmetic negation operation.

System_CAPS_pubmethodSystem_CAPS_staticNegate(Expression, MethodInfo)

Creates a UnaryExpression that represents an arithmetic negation operation.

System_CAPS_pubmethodSystem_CAPS_staticNegateChecked(Expression)

Creates a UnaryExpression that represents an arithmetic negation operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticNegateChecked(Expression, MethodInfo)

Creates a UnaryExpression that represents an arithmetic negation operation that has overflow checking. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo)

Creates a NewExpression that represents calling the specified constructor that takes no arguments.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, Expression[])

Creates a NewExpression that represents calling the specified constructor with the specified arguments.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, IEnumerable<Expression>)

Creates a NewExpression that represents calling the specified constructor with the specified arguments.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>)

Creates a NewExpression that represents calling the specified constructor with the specified arguments. The members that access the constructor initialized fields are specified.

System_CAPS_pubmethodSystem_CAPS_staticNew(ConstructorInfo, IEnumerable<Expression>, MemberInfo[])

Creates a NewExpression that represents calling the specified constructor with the specified arguments. The members that access the constructor initialized fields are specified as an array.

System_CAPS_pubmethodSystem_CAPS_staticNew(Type)

Creates a NewExpression that represents calling the parameterless constructor of the specified type.

System_CAPS_pubmethodSystem_CAPS_staticNewArrayBounds(Type, Expression[])

Creates a NewArrayExpression that represents creating an array that has a specified rank.

System_CAPS_pubmethodSystem_CAPS_staticNewArrayBounds(Type, IEnumerable<Expression>)

Creates a NewArrayExpression that represents creating an array that has a specified rank.

System_CAPS_pubmethodSystem_CAPS_staticNewArrayInit(Type, Expression[])

Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.

System_CAPS_pubmethodSystem_CAPS_staticNewArrayInit(Type, IEnumerable<Expression>)

Creates a NewArrayExpression that represents creating a one-dimensional array and initializing it from a list of elements.

System_CAPS_pubmethodSystem_CAPS_staticNot(Expression)

Creates a UnaryExpression that represents a bitwise complement operation.

System_CAPS_pubmethodSystem_CAPS_staticNot(Expression, MethodInfo)

Creates a UnaryExpression that represents a bitwise complement operation. The implementing method can be specified.

System_CAPS_pubmethodSystem_CAPS_staticNotEqual(Expression, Expression)

Creates a BinaryExpression that represents an inequality comparison.

System_CAPS_pubmethodSystem_CAPS_staticNotEqual(Expression, Expression, Boolean, MethodInfo)

Creates a BinaryExpression that represents an inequality comparison.

System_CAPS_pubmethodSystem_CAPS_staticOnesComplement(Expression)

Returns the expression representing the ones complement.

System_CAPS_pubmethodSystem_CAPS_staticOnesComplement(Expression, MethodInfo)

Returns the expression representing the ones complement.

System_CAPS_pubmethodSystem_CAPS_staticOr(Expression, Expression)

Creates a BinaryExpression that represents a bitwise OR operation.

System_CAPS_pubmethodSystem_CAPS_staticOr(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise OR operation.

System_CAPS_pubmethodSystem_CAPS_staticOrAssign(Expression, Expression)

Creates a BinaryExpression that represents a bitwise OR assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticOrAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise OR assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticOrAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a bitwise OR assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticOrElse(Expression, Expression)

Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if the first operand evaluates to false.

System_CAPS_pubmethodSystem_CAPS_staticOrElse(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if the first operand evaluates to false.

System_CAPS_pubmethodSystem_CAPS_staticParameter(Type)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

System_CAPS_pubmethodSystem_CAPS_staticParameter(Type, String)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

System_CAPS_pubmethodSystem_CAPS_staticPostDecrementAssign(Expression)

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent decrement by 1 of the original expression.

System_CAPS_pubmethodSystem_CAPS_staticPostDecrementAssign(Expression, MethodInfo)

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent decrement by 1 of the original expression.

System_CAPS_pubmethodSystem_CAPS_staticPostIncrementAssign(Expression)

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent increment by 1 of the original expression.

System_CAPS_pubmethodSystem_CAPS_staticPostIncrementAssign(Expression, MethodInfo)

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent increment by 1 of the original expression.

System_CAPS_pubmethodSystem_CAPS_staticPower(Expression, Expression)

Creates a BinaryExpression that represents raising a number to a power.

System_CAPS_pubmethodSystem_CAPS_staticPower(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents raising a number to a power.

System_CAPS_pubmethodSystem_CAPS_staticPowerAssign(Expression, Expression)

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

System_CAPS_pubmethodSystem_CAPS_staticPowerAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

System_CAPS_pubmethodSystem_CAPS_staticPowerAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.

System_CAPS_pubmethodSystem_CAPS_staticPreDecrementAssign(Expression)

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

System_CAPS_pubmethodSystem_CAPS_staticPreDecrementAssign(Expression, MethodInfo)

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.

System_CAPS_pubmethodSystem_CAPS_staticPreIncrementAssign(Expression)

Creates a UnaryExpression that increments the expression by 1 and assigns the result back to the expression.

System_CAPS_pubmethodSystem_CAPS_staticPreIncrementAssign(Expression, MethodInfo)

Creates a UnaryExpression that increments the expression by 1 and assigns the result back to the expression.

System_CAPS_pubmethodSystem_CAPS_staticProperty(Expression, MethodInfo)

Creates a MemberExpression that represents accessing a property by using a property accessor method.

System_CAPS_pubmethodSystem_CAPS_staticProperty(Expression, PropertyInfo)

Creates a MemberExpression that represents accessing a property.

System_CAPS_pubmethodSystem_CAPS_staticProperty(Expression, PropertyInfo, Expression[])

Creates an IndexExpression representing the access to an indexed property.

System_CAPS_pubmethodSystem_CAPS_staticProperty(Expression, PropertyInfo, IEnumerable<Expression>)

Creates an IndexExpression representing the access to an indexed property.

System_CAPS_pubmethodSystem_CAPS_staticProperty(Expression, String)

Creates a MemberExpression that represents accessing a property.

System_CAPS_pubmethodSystem_CAPS_staticProperty(Expression, String, Expression[])

Creates an IndexExpression representing the access to an indexed property.

System_CAPS_pubmethodSystem_CAPS_staticProperty(Expression, Type, String)

Creates a MemberExpression accessing a property.

System_CAPS_pubmethodSystem_CAPS_staticPropertyOrField(Expression, String)

Creates a MemberExpression that represents accessing a property or field.

System_CAPS_pubmethodSystem_CAPS_staticQuote(Expression)

Creates a UnaryExpression that represents an expression that has a constant value of type Expression.

System_CAPS_pubmethodReduce()

Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.

System_CAPS_pubmethodReduceAndCheck()

Reduces this node to a simpler expression. If CanReduce returns true, this should return a valid expression. This method can return another node which itself must be reduced.

System_CAPS_pubmethodReduceExtensions()

Reduces the expression to a known node type (that is not an Extension node) or just returns the expression if it is already a known type.

System_CAPS_pubmethodSystem_CAPS_staticReferenceEqual(Expression, Expression)

Creates a BinaryExpression that represents a reference equality comparison.

System_CAPS_pubmethodSystem_CAPS_staticReferenceNotEqual(Expression, Expression)

Creates a BinaryExpression that represents a reference inequality comparison.

System_CAPS_pubmethodSystem_CAPS_staticRethrow()

Creates a UnaryExpression that represents a rethrowing of an exception.

System_CAPS_pubmethodSystem_CAPS_staticRethrow(Type)

Creates a UnaryExpression that represents a rethrowing of an exception with a given type.

System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget)

Creates a GotoExpression representing a return statement.

System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget, Expression)

Creates a GotoExpression representing a return statement. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget, Expression, Type)

Creates a GotoExpression representing a return statement with the specified type. The value passed to the label upon jumping can be specified.

System_CAPS_pubmethodSystem_CAPS_staticReturn(LabelTarget, Type)

Creates a GotoExpression representing a return statement with the specified type.

System_CAPS_pubmethodSystem_CAPS_staticRightShift(Expression, Expression)

Creates a BinaryExpression that represents a bitwise right-shift operation.

System_CAPS_pubmethodSystem_CAPS_staticRightShift(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise right-shift operation.

System_CAPS_pubmethodSystem_CAPS_staticRightShiftAssign(Expression, Expression)

Creates a BinaryExpression that represents a bitwise right-shift assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticRightShiftAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a bitwise right-shift assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticRightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a bitwise right-shift assignment operation.

System_CAPS_pubmethodSystem_CAPS_staticRuntimeVariables(IEnumerable<ParameterExpression>)

Creates an instance of RuntimeVariablesExpression.

System_CAPS_pubmethodSystem_CAPS_staticRuntimeVariables(ParameterExpression[])

Creates an instance of RuntimeVariablesExpression.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtract(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractAssign(Expression, Expression)

Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractAssign(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractAssign(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractAssignChecked(Expression, Expression)

Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractAssignChecked(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression)

Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractChecked(Expression, Expression)

Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSubtractChecked(Expression, Expression, MethodInfo)

Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.

System_CAPS_pubmethodSystem_CAPS_staticSwitch(Expression, Expression, MethodInfo, IEnumerable<SwitchCase>)

Creates a SwitchExpression that represents a switch statement that has a default case.

System_CAPS_pubmethodSystem_CAPS_staticSwitch(Expression, Expression, MethodInfo, SwitchCase[])

Creates a SwitchExpression that represents a switch statement that has a default case.

System_CAPS_pubmethodSystem_CAPS_staticSwitch(Expression, Expression, SwitchCase[])

Creates a SwitchExpression that represents a switch statement that has a default case.

System_CAPS_pubmethodSystem_CAPS_staticSwitch(Expression, SwitchCase[])

Creates a SwitchExpression that represents a switch statement without a default case.

System_CAPS_pubmethodSystem_CAPS_staticSwitch(Type, Expression, Expression, MethodInfo, IEnumerable<SwitchCase>)

Creates a SwitchExpression that represents a switch statement that has a default case.

System_CAPS_pubmethodSystem_CAPS_staticSwitch(Type, Expression, Expression, MethodInfo, SwitchCase[])

Creates a SwitchExpression that represents a switch statement that has a default case..

System_CAPS_pubmethodSystem_CAPS_staticSwitchCase(Expression, Expression[])

Creates a SwitchCase for use in a SwitchExpression.

System_CAPS_pubmethodSystem_CAPS_staticSwitchCase(Expression, IEnumerable<Expression>)

Creates a SwitchCase object to be used in a SwitchExpression object.

System_CAPS_pubmethodSystem_CAPS_staticSymbolDocument(String)

Creates an instance of SymbolDocumentInfo.

System_CAPS_pubmethodSystem_CAPS_staticSymbolDocument(String, Guid)

Creates an instance of SymbolDocumentInfo.

System_CAPS_pubmethodSystem_CAPS_staticSymbolDocument(String, Guid, Guid)

Creates an instance of SymbolDocumentInfo.

System_CAPS_pubmethodSystem_CAPS_staticSymbolDocument(String, Guid, Guid, Guid)

Creates an instance of SymbolDocumentInfo.

System_CAPS_pubmethodSystem_CAPS_staticThrow(Expression)

Creates a UnaryExpression that represents a throwing of an exception.

System_CAPS_pubmethodSystem_CAPS_staticThrow(Expression, Type)

Creates a UnaryExpression that represents a throwing of an exception with a given type.

System_CAPS_pubmethodToString()

Returns a textual representation of the Expression.(Overrides Object.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticTryCatch(Expression, CatchBlock[])

Creates a TryExpression representing a try block with any number of catch statements and neither a fault nor finally block.

System_CAPS_pubmethodSystem_CAPS_staticTryCatchFinally(Expression, Expression, CatchBlock[])

Creates a TryExpression representing a try block with any number of catch statements and a finally block.

System_CAPS_pubmethodSystem_CAPS_staticTryFault(Expression, Expression)

Creates a TryExpression representing a try block with a fault block and no catch statements.

System_CAPS_pubmethodSystem_CAPS_staticTryFinally(Expression, Expression)

Creates a TryExpression representing a try block with a finally block and no catch statements.

System_CAPS_pubmethodSystem_CAPS_staticTryGetActionType(Type[], Type)

Creates a Type object that represents a generic System.Action delegate type that has specific type arguments.

System_CAPS_pubmethodSystem_CAPS_staticTryGetFuncType(Type[], Type)

Creates a Type object that represents a generic System.Func delegate type that has specific type arguments. The last type argument specifies the return type of the created delegate.

System_CAPS_pubmethodSystem_CAPS_staticTypeAs(Expression, Type)

Creates a UnaryExpression that represents an explicit reference or boxing conversion where null is supplied if the conversion fails.

System_CAPS_pubmethodSystem_CAPS_staticTypeEqual(Expression, Type)

Creates a TypeBinaryExpression that compares run-time type identity.

System_CAPS_pubmethodSystem_CAPS_staticTypeIs(Expression, Type)
System_CAPS_pubmethodSystem_CAPS_staticUnaryPlus(Expression)

Creates a UnaryExpression that represents a unary plus operation.

System_CAPS_pubmethodSystem_CAPS_staticUnaryPlus(Expression, MethodInfo)

Creates a UnaryExpression that represents a unary plus operation.

System_CAPS_pubmethodSystem_CAPS_staticUnbox(Expression, Type)

Creates a UnaryExpression that represents an explicit unboxing.

System_CAPS_pubmethodSystem_CAPS_staticVariable(Type)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

System_CAPS_pubmethodSystem_CAPS_staticVariable(Type, String)

Creates a ParameterExpression node that can be used to identify a parameter or a variable in an expression tree.

System_CAPS_protmethodVisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

The following code example shows how to create a block expression. The block expression consists of two MethodCallExpression objects and one ConstantExpression object.

// Add the following directive to your file:
// using System.Linq.Expressions;  

// The block expression allows for executing several expressions sequentually.
// When the block expression is executed,
// it returns the value of the last expression in the sequence.
BlockExpression blockExpr = Expression.Block(
    Expression.Call(
        null,
        typeof(Console).GetMethod("Write", new Type[] { typeof(String) }),
        Expression.Constant("Hello ")
       ),
    Expression.Call(
        null,
        typeof(Console).GetMethod("WriteLine", new Type[] { typeof(String) }),
        Expression.Constant("World!")
        ),
    Expression.Constant(42)
);

Console.WriteLine("The result of executing the expression tree:");
// The following statement first creates an expression tree,
// then compiles it, and then executes it.           
var result = Expression.Lambda<Func<int>>(blockExpr).Compile()();

// Print out the expressions from the block expression.
Console.WriteLine("The expressions from the block expression:");
foreach (var expr in blockExpr.Expressions)
    Console.WriteLine(expr.ToString());

// Print out the result of the tree execution.
Console.WriteLine("The return value of the block expression:");
Console.WriteLine(result);

// This code example produces the following output:
//
// The result of executing the expression tree:
// Hello World!

// The expressions from the block expression:
// Write("Hello ")
// WriteLine("World!")
// 42

// The return value of the block expression:
// 42

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft