C# Класс System.Linq.Expressions.Expression

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( Expression left, Expression right ) : BinaryExpression

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

Add ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

AddAssign ( Expression left, Expression right ) : BinaryExpression

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

AddAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

AddAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

AddAssignChecked ( Expression left, Expression right ) : BinaryExpression

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

AddAssignChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

AddAssignChecked ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

AddChecked ( Expression left, Expression right ) : BinaryExpression

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

AddChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

And ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents an bitwise AND operation.

And ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents an bitwise AND operation.

AndAlso ( Expression left, Expression right ) : BinaryExpression

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

AndAlso ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

AndAssign ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents a bitwise AND assignment operation.

AndAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents a bitwise AND assignment operation.

AndAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

Creates a BinaryExpression that represents a bitwise AND assignment operation.

ArrayAccess ( Expression array ) : IndexExpression

Creates an IndexExpression to access an array.

The expression representing the array can be obtained by using the MakeMemberAccess method, or through NewArrayBounds or NewArrayInit.

ArrayAccess ( Expression array, IEnumerable indexes ) : IndexExpression

Creates an IndexExpression to access an array.

The expression representing the array can be obtained by using the MakeMemberAccess method, or through NewArrayBounds or NewArrayInit.

ArrayIndex ( Expression array, Expression index ) : BinaryExpression

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

ArrayIndex ( Expression array ) : MethodCallExpression

Creates a MethodCallExpression that represents applying an array index operator to a multi-dimensional array.

ArrayIndex ( Expression array, IEnumerable indexes ) : MethodCallExpression

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

ArrayLength ( Expression array ) : UnaryExpression

Creates a UnaryExpression that represents getting the length of a one-dimensional array.

Assign ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents an assignment operation.

Bind ( MemberInfo member, Expression expression ) : MemberAssignment

Creates a MemberAssignment binding the specified value to the given member.

Bind ( MethodInfo propertyAccessor, Expression expression ) : MemberAssignment

Creates a MemberAssignment binding the specified value to the given property.

Break ( LabelTarget target ) : GotoExpression

Creates a GotoExpression representing a break statement.

Break ( LabelTarget target, Expression value ) : GotoExpression

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

Break ( LabelTarget target, Expression value, Type type ) : GotoExpression

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

Break ( LabelTarget target, Type type ) : GotoExpression

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

Call ( Expression instance, MethodInfo method ) : MethodCallExpression

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

Call ( Expression instance, MethodInfo method, Expression arg0, Expression arg1 ) : MethodCallExpression

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

Call ( Expression instance, MethodInfo method, Expression arg0, Expression arg1, Expression arg2 ) : MethodCallExpression

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

Call ( Expression instance, MethodInfo method, IEnumerable arguments ) : MethodCallExpression

Creates a MethodCallExpression that represents a method call.

Call ( Expression instance, string methodName, Type typeArguments ) : MethodCallExpression

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

Call ( MethodInfo method, Expression arg0 ) : MethodCallExpression

Creates a MethodCallExpression that represents a call to a static method that takes one argument.

Call ( MethodInfo method, Expression arg0, Expression arg1 ) : MethodCallExpression

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

Call ( MethodInfo method, Expression arg0, Expression arg1, Expression arg2 ) : MethodCallExpression

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

Call ( MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : MethodCallExpression

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

Call ( MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4 ) : MethodCallExpression

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

Call ( MethodInfo method, IEnumerable arguments ) : MethodCallExpression

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

Call ( Type type, string methodName, Type typeArguments ) : MethodCallExpression

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

Catch ( System.Linq.Expressions.ParameterExpression variable, Expression body ) : CatchBlock

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

Catch ( System.Linq.Expressions.ParameterExpression variable, Expression body, Expression filter ) : CatchBlock

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

Catch ( Type type, Expression body ) : CatchBlock

Creates a CatchBlock representing a catch statement. The Type of object to be caught can be specified but no reference to the object will be available for use in the CatchBlock.

Catch ( Type type, Expression body, Expression filter ) : CatchBlock

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

ClearDebugInfo ( SymbolDocumentInfo document ) : DebugInfoExpression

Creates a DebugInfoExpression for clearing a sequence point.

Coalesce ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents a coalescing operation.

Coalesce ( Expression left, Expression right, LambdaExpression conversion ) : BinaryExpression

Creates a BinaryExpression that represents a coalescing operation.

Condition ( Expression test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression

Creates a ConditionalExpression.

Condition ( Expression test, Expression ifTrue, Expression ifFalse, Type type ) : ConditionalExpression

Creates a ConditionalExpression.

This method allows explicitly unifying the result type of the conditional expression in cases where the types of ifTrue and ifFalse expressions are not equal. Types of both ifTrue and ifFalse must be implicitly reference assignable to the result type. The type is allowed to be Void.

Constant ( object value ) : ConstantExpression

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

Constant ( object value, Type type ) : ConstantExpression

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

Continue ( LabelTarget target ) : GotoExpression

Creates a GotoExpression representing a continue statement.

Continue ( LabelTarget target, Type type ) : GotoExpression

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

Convert ( Expression expression, Type type ) : UnaryExpression

Creates a UnaryExpression that represents a conversion operation.

Convert ( Expression expression, Type type, MethodInfo method ) : UnaryExpression

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

ConvertChecked ( Expression expression, Type type ) : UnaryExpression

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

ConvertChecked ( Expression expression, Type type, MethodInfo method ) : UnaryExpression

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.

DebugInfo ( SymbolDocumentInfo document, int startLine, int startColumn, int endLine, int endColumn ) : DebugInfoExpression

Creates a DebugInfoExpression with the specified span.

Decrement ( Expression expression ) : UnaryExpression

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

Decrement ( Expression expression, MethodInfo method ) : UnaryExpression

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

Default ( Type type ) : DefaultExpression

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

Divide ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents an arithmetic division operation.

Divide ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents an arithmetic division operation.

DivideAssign ( Expression left, Expression right ) : BinaryExpression

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

DivideAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

DivideAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

Dynamic ( CallSiteBinder binder, Type returnType ) : DynamicExpression

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

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0 ) : DynamicExpression

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

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1 ) : DynamicExpression

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

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression

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

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression

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

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

Dynamic ( CallSiteBinder binder, Type returnType, IEnumerable arguments ) : DynamicExpression

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

The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.

ElementInit ( MethodInfo addMethod ) : ElementInit

Creates an Expressions.ElementInit expression that represents the initialization of a list.

ElementInit ( MethodInfo addMethod, IEnumerable arguments ) : ElementInit

Creates an Expressions.ElementInit expression that represents the initialization of a list.

Empty ( ) : DefaultExpression

Creates an empty expression that has Void type.

Equal ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents an equality comparison.

Equal ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents an equality comparison.

ExclusiveOr ( Expression left, Expression right ) : BinaryExpression

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

ExclusiveOr ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

ExclusiveOrAssign ( Expression left, Expression right ) : BinaryExpression

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

ExclusiveOrAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

ExclusiveOrAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

Field ( Expression expression, string fieldName ) : MemberExpression

Creates a MemberExpression accessing a field.

Goto ( LabelTarget target ) : GotoExpression

Creates a GotoExpression representing a goto.

Goto ( LabelTarget target, Expression value ) : GotoExpression

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

Goto ( LabelTarget target, Expression value, Type type ) : GotoExpression

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

Goto ( LabelTarget target, Type type ) : GotoExpression

Creates a GotoExpression representing a goto with the specified type.

GreaterThan ( Expression left, Expression right ) : BinaryExpression

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

GreaterThan ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression

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

GreaterThanOrEqual ( Expression left, Expression right ) : BinaryExpression

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

GreaterThanOrEqual ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression

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

IfThen ( Expression test, Expression ifTrue ) : ConditionalExpression

Creates a ConditionalExpression.

IfThenElse ( Expression test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression

Creates a ConditionalExpression.

Increment ( Expression expression ) : UnaryExpression

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

Increment ( Expression expression, MethodInfo method ) : UnaryExpression

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

Invoke ( Expression expression, IEnumerable arguments ) : InvocationExpression

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

IsFalse ( Expression expression ) : UnaryExpression

Returns whether the expression evaluates to false.

IsFalse ( Expression expression, MethodInfo method ) : UnaryExpression

Returns whether the expression evaluates to false.

IsTrue ( Expression expression ) : UnaryExpression

Returns whether the expression evaluates to true.

IsTrue ( Expression expression, MethodInfo method ) : UnaryExpression

Returns whether the expression evaluates to true.

Label ( LabelTarget target ) : LabelExpression

Creates a LabelExpression representing a label with no default value.

Label ( LabelTarget target, Expression defaultValue ) : LabelExpression

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

Label ( ) : LabelTarget

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

Label ( Type type ) : LabelTarget

Creates a LabelTarget representing a label with the given type.

Label ( Type type, string name ) : LabelTarget

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

Label ( string name ) : LabelTarget

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

LeftShift ( Expression left, Expression right ) : BinaryExpression

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

LeftShift ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

LeftShiftAssign ( Expression left, Expression right ) : BinaryExpression

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

LeftShiftAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

LeftShiftAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

LessThan ( Expression left, Expression right ) : BinaryExpression

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

LessThan ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression

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

LessThanOrEqual ( Expression left, Expression right ) : BinaryExpression

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

LessThanOrEqual ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression

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

ListBind ( MemberInfo member ) : MemberListBinding

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

ListBind ( MemberInfo member, IEnumerable initializers ) : MemberListBinding

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

ListBind ( MethodInfo propertyAccessor ) : MemberListBinding

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

ListBind ( MethodInfo propertyAccessor, IEnumerable initializers ) : MemberListBinding

Creates a MemberListBinding based on a specified property accessor method.

ListInit ( NewExpression newExpression ) : ListInitExpression

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

ListInit ( NewExpression newExpression, IEnumerable initializers ) : ListInitExpression

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

The Type property of newExpression must represent a type that implements Collections.IEnumerable. The Type property of the resulting ListInitExpression is equal to newExpression.Type.

ListInit ( NewExpression newExpression, IEnumerable initializers ) : ListInitExpression

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

ListInit ( NewExpression newExpression, MethodInfo addMethod ) : ListInitExpression

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

ListInit ( NewExpression newExpression, MethodInfo addMethod, IEnumerable initializers ) : ListInitExpression

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

Loop ( Expression body ) : LoopExpression

Creates a LoopExpression with the given body.

Loop ( Expression body, LabelTarget @break ) : LoopExpression

Creates a LoopExpression with the given body and break target.

Loop ( Expression body, LabelTarget @break, LabelTarget @continue ) : LoopExpression

Creates a LoopExpression with the given body.

MakeBinary ( ExpressionType binaryType, Expression left, Expression right ) : BinaryExpression

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

MakeBinary ( ExpressionType binaryType, Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression

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

MakeCatchBlock ( Type type, System.Linq.Expressions.ParameterExpression variable, Expression body, Expression filter ) : CatchBlock

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

type must be non-null and match the type of variable (if it is supplied).

MakeDynamic ( Type delegateType, CallSiteBinder binder ) : DynamicExpression

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

MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0 ) : DynamicExpression

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

MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1 ) : DynamicExpression

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

MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression

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

MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression

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

MakeDynamic ( Type delegateType, CallSiteBinder binder, IEnumerable arguments ) : DynamicExpression

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

MakeGoto ( GotoExpressionKind kind, LabelTarget target, Expression value, Type type ) : GotoExpression

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

MakeIndex ( Expression instance, PropertyInfo indexer, IEnumerable arguments ) : IndexExpression

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

MakeMemberAccess ( Expression expression, MemberInfo member ) : MemberExpression

Creates a MemberExpression accessing a property or field.

MakeTry ( Type type, Expression body, Expression @finally, Expression fault, IEnumerable handlers ) : TryExpression

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

MakeUnary ( ExpressionType unaryType, Expression operand, Type type ) : UnaryExpression

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

MemberBind ( MemberInfo member ) : MemberMemberBinding

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

MemberBind ( MemberInfo member, IEnumerable bindings ) : MemberMemberBinding

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

MemberBind ( MethodInfo propertyAccessor ) : MemberMemberBinding

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

MemberBind ( MethodInfo propertyAccessor, IEnumerable bindings ) : MemberMemberBinding

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

MemberInit ( NewExpression newExpression ) : MemberInitExpression

Creates a MemberInitExpression.

MemberInit ( NewExpression newExpression, IEnumerable bindings ) : MemberInitExpression

Creates a MemberInitExpression.

Modulo ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents an arithmetic remainder operation.

Modulo ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents an arithmetic remainder operation.

ModuloAssign ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents a remainder assignment operation.

ModuloAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents a remainder assignment operation.

ModuloAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

Creates a BinaryExpression that represents a remainder assignment operation.

Multiply ( Expression left, Expression right ) : BinaryExpression

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

Multiply ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

MultiplyAssign ( Expression left, Expression right ) : BinaryExpression

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

MultiplyAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

MultiplyAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

MultiplyAssignChecked ( Expression left, Expression right ) : BinaryExpression

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

MultiplyAssignChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

MultiplyAssignChecked ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

MultiplyChecked ( Expression left, Expression right ) : BinaryExpression

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

MultiplyChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

Negate ( Expression expression ) : UnaryExpression

Creates a UnaryExpression that represents an arithmetic negation operation.

Negate ( Expression expression, MethodInfo method ) : UnaryExpression

Creates a UnaryExpression that represents an arithmetic negation operation.

NegateChecked ( Expression expression ) : UnaryExpression

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

NegateChecked ( Expression expression, MethodInfo method ) : UnaryExpression

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

New ( ConstructorInfo constructor ) : NewExpression

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

New ( ConstructorInfo constructor, IEnumerable arguments ) : NewExpression

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

New ( ConstructorInfo constructor, IEnumerable arguments, IEnumerable members ) : NewExpression

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

New ( Type type ) : NewExpression

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

NewArrayBounds ( Type type ) : NewArrayExpression

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

NewArrayBounds ( Type type, IEnumerable bounds ) : NewArrayExpression

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

NewArrayInit ( Type type ) : NewArrayExpression

Creates a NewArrayExpression of the specified type from the provided initializers.

NewArrayInit ( Type type, IEnumerable initializers ) : NewArrayExpression

Creates a NewArrayExpression of the specified type from the provided initializers.

Not ( Expression expression ) : UnaryExpression

Creates a UnaryExpression that represents a bitwise complement operation.

Not ( Expression expression, MethodInfo method ) : UnaryExpression

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

NotEqual ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents an inequality comparison.

NotEqual ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents an inequality comparison.

OnesComplement ( Expression expression ) : UnaryExpression

Returns the expression representing the ones complement.

OnesComplement ( Expression expression, MethodInfo method ) : UnaryExpression

Returns the expression representing the ones complement.

Or ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents an bitwise OR operation.

Or ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents an bitwise OR operation.

OrAssign ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents a bitwise OR assignment operation.

OrAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

Creates a BinaryExpression that represents a bitwise OR assignment operation.

OrAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

Creates a BinaryExpression that represents a bitwise OR assignment operation.

OrElse ( Expression left, Expression right ) : BinaryExpression

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

OrElse ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

PostDecrementAssign ( Expression expression ) : UnaryExpression

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

PostDecrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression

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

PostIncrementAssign ( Expression expression ) : UnaryExpression

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

PostIncrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression

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

Power ( Expression left, Expression right ) : BinaryExpression

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

Power ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

PowerAssign ( Expression left, Expression right ) : BinaryExpression

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

PowerAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

PowerAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

PreDecrementAssign ( Expression expression ) : UnaryExpression

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

PreDecrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression

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

PreIncrementAssign ( Expression expression ) : UnaryExpression

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

PreIncrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression

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

Property ( Expression instance, PropertyInfo indexer ) : IndexExpression

Creates an IndexExpression representing the access to an indexed property.

Property ( Expression instance, PropertyInfo indexer, IEnumerable arguments ) : IndexExpression

Creates an IndexExpression representing the access to an indexed property.

Property ( Expression instance, string propertyName ) : IndexExpression

Creates an IndexExpression representing the access to an indexed property.

Property ( Expression expression, MethodInfo propertyAccessor ) : MemberExpression

Creates a MemberExpression accessing a property.

Property ( Expression expression, Type type, string propertyName ) : MemberExpression

Creates a MemberExpression accessing a property.

Property ( Expression expression, string propertyName ) : MemberExpression

Creates a MemberExpression accessing a property.

PropertyOrField ( Expression expression, string propertyOrFieldName ) : MemberExpression

Creates a MemberExpression accessing a property or field.

Quote ( Expression expression ) : UnaryExpression

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

ReferenceEqual ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents a reference equality comparison.

ReferenceNotEqual ( Expression left, Expression right ) : BinaryExpression

Creates a BinaryExpression that represents a reference inequality comparison.

Rethrow ( ) : UnaryExpression

Creates a UnaryExpression that represents a rethrowing of an exception.

Rethrow ( Type type ) : UnaryExpression

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

Return ( LabelTarget target ) : GotoExpression

Creates a GotoExpression representing a return statement.

Return ( LabelTarget target, Expression value ) : GotoExpression

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

Return ( LabelTarget target, Expression value, Type type ) : GotoExpression

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

Return ( LabelTarget target, Type type ) : GotoExpression

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

RightShift ( Expression left, Expression right ) : BinaryExpression

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

RightShift ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

RightShiftAssign ( Expression left, Expression right ) : BinaryExpression

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

RightShiftAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

RightShiftAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

RuntimeVariables ( ) : RuntimeVariablesExpression

Creates an instance of RuntimeVariablesExpression.

RuntimeVariables ( IEnumerable variables ) : RuntimeVariablesExpression

Creates an instance of RuntimeVariablesExpression.

Subtract ( Expression left, Expression right ) : BinaryExpression

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

Subtract ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

SubtractAssign ( Expression left, Expression right ) : BinaryExpression

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

SubtractAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

SubtractAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

SubtractAssignChecked ( Expression left, Expression right ) : BinaryExpression

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

SubtractAssignChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

SubtractAssignChecked ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression

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

SubtractChecked ( Expression left, Expression right ) : BinaryExpression

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

SubtractChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression

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

Switch ( Expression switchValue ) : SwitchExpression

Creates a SwitchExpression.

Switch ( Expression switchValue, Expression defaultBody ) : SwitchExpression

Creates a SwitchExpression.

Switch ( Expression switchValue, Expression defaultBody, MethodInfo comparison ) : SwitchExpression

Creates a SwitchExpression.

Switch ( Expression switchValue, Expression defaultBody, MethodInfo comparison, IEnumerable cases ) : SwitchExpression

Creates a SwitchExpression.

Switch ( Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison ) : SwitchExpression

Creates a SwitchExpression.

Switch ( Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison, IEnumerable cases ) : SwitchExpression

Creates a SwitchExpression.

SwitchCase ( Expression body ) : SwitchCase

Creates a Expressions.SwitchCase for use in a SwitchExpression.

SwitchCase ( Expression body, IEnumerable testValues ) : SwitchCase

Creates a Expressions.SwitchCase for use in a SwitchExpression.

SymbolDocument ( string fileName ) : SymbolDocumentInfo

Creates an instance of SymbolDocumentInfo.

SymbolDocument ( string fileName, Guid language ) : SymbolDocumentInfo

Creates an instance of SymbolDocumentInfo.

SymbolDocument ( string fileName, Guid language, Guid languageVendor ) : SymbolDocumentInfo

Creates an instance of SymbolDocumentInfo.

SymbolDocument ( string fileName, Guid language, Guid languageVendor, Guid documentType ) : SymbolDocumentInfo

Creates an instance of SymbolDocumentInfo.

Throw ( Expression value ) : UnaryExpression

Creates a UnaryExpression that represents a throwing of an exception.

Throw ( Expression value, Type type ) : UnaryExpression

Creates a UnaryExpression that represents a throwing of a value with a given type.

TryCatch ( Expression body ) : TryExpression

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

TryCatchFinally ( Expression body, Expression @finally ) : TryExpression

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

TryFault ( Expression body, Expression fault ) : TryExpression

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

TryFinally ( Expression body, Expression @finally ) : TryExpression

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

TypeAs ( Expression expression, Type type ) : UnaryExpression

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

TypeEqual ( Expression expression, Type type ) : TypeBinaryExpression

Creates a TypeBinaryExpression that compares run-time type identity.

TypeIs ( Expression expression, Type type ) : TypeBinaryExpression

Creates a TypeBinaryExpression.

UnaryPlus ( Expression expression ) : UnaryExpression

Creates a UnaryExpression that represents a unary plus operation.

UnaryPlus ( Expression expression, MethodInfo method ) : UnaryExpression

Creates a UnaryExpression that represents a unary plus operation.

Unbox ( Expression expression, Type type ) : UnaryExpression

Creates a UnaryExpression that represents an explicit unboxing.

Приватные методы

Метод Описание
ApplyTypeArgs ( MethodInfo m, Type typeArgs ) : MethodInfo
Call ( Expression instance, MethodInfo method, Expression arg0 ) : MethodCallExpression

Creates a MethodCallExpression that represents a call to a method that takes one argument.

Call ( MethodInfo method ) : MethodCallExpression

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

CheckMethod ( MethodInfo method, MethodInfo propertyMethod ) : bool
Field ( Expression expression, FieldInfo field ) : MemberExpression
Field ( Expression expression, Type type, string fieldName ) : MemberExpression
FindInstanceProperty ( Type type, string propertyName, Expression arguments ) : PropertyInfo

The method finds the instance property with the specified name in a type. The property's type signature needs to be compatible with the arguments if it is a indexer. If the arguments is null or empty, we get a normal property.

FindMethod ( Type type, string methodName, Type typeArgs, Expression args, BindingFlags flags ) : MethodInfo
FindProperty ( Type type, string propertyName, Expression arguments, BindingFlags flags ) : PropertyInfo
GetArgTypesString ( Expression arguments ) : string
GetComparisonOperator ( ExpressionType binaryType, string opName, Expression left, Expression right, bool liftToNull ) : BinaryExpression
GetEqualityComparisonOperator ( ExpressionType binaryType, string opName, Expression left, Expression right, bool liftToNull ) : BinaryExpression
GetInvokeMethod ( Expression expression ) : MethodInfo

Gets the delegate's Invoke method; used by InvocationExpression.

GetMethodBasedAssignOperator ( ExpressionType binaryType, Expression left, Expression right, MethodInfo method, LambdaExpression conversion, bool liftToNull ) : BinaryExpression
GetMethodBasedBinaryOperator ( ExpressionType binaryType, Expression left, Expression right, MethodInfo method, bool liftToNull ) : BinaryExpression
GetMethodBasedCoercionOperator ( ExpressionType unaryType, Expression operand, Type convertToType, MethodInfo method ) : UnaryExpression
GetMethodBasedUnaryOperator ( ExpressionType unaryType, Expression operand, MethodInfo method ) : UnaryExpression
GetParametersForValidation ( MethodBase method, ExpressionType nodeKind ) : System.Reflection.ParameterInfo[]
GetProperty ( MethodInfo mi, string paramName, int index = -1 ) : PropertyInfo
GetResultTypeOfShift ( Type left, Type right ) : Type
GetUserDefinedAssignOperatorOrThrow ( ExpressionType binaryType, string name, Expression left, Expression right, LambdaExpression conversion, bool liftToNull ) : BinaryExpression
GetUserDefinedBinaryOperator ( ExpressionType binaryType, string name, Expression left, Expression right, bool liftToNull ) : BinaryExpression
GetUserDefinedBinaryOperator ( ExpressionType binaryType, Type leftType, Type rightType, string name ) : MethodInfo
GetUserDefinedBinaryOperatorOrThrow ( ExpressionType binaryType, string name, Expression left, Expression right, bool liftToNull ) : BinaryExpression
GetUserDefinedCoercion ( ExpressionType coercionType, Expression expression, Type convertToType ) : UnaryExpression
GetUserDefinedCoercionOrThrow ( ExpressionType coercionType, Expression expression, Type convertToType ) : UnaryExpression
GetUserDefinedUnaryOperator ( ExpressionType unaryType, string name, Expression operand ) : UnaryExpression
GetUserDefinedUnaryOperatorOrThrow ( ExpressionType unaryType, string name, Expression operand ) : UnaryExpression
GetValidMethodForDynamic ( Type delegateType ) : MethodInfo
Invoke ( Expression expression ) : InvocationExpression

Creates an InvocationExpression that applies a delegate or lambda expression with no arguments.

Invoke ( Expression expression, Expression arg0 ) : InvocationExpression

Creates an InvocationExpression that applies a delegate or lambda expression to one argument expression.

Invoke ( Expression expression, Expression arg0, Expression arg1 ) : InvocationExpression

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

Invoke ( Expression expression, Expression arg0, Expression arg1, Expression arg2 ) : InvocationExpression

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

Invoke ( Expression expression, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : InvocationExpression

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

Invoke ( Expression expression, Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4 ) : InvocationExpression

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

IsCompatible ( MethodBase m, Expression arguments ) : bool
IsCompatible ( PropertyInfo pi, Expression args ) : bool
IsLiftingConditionalLogicalOperator ( Type left, Type right, MethodInfo method, ExpressionType binaryType ) : bool
IsNullComparison ( Expression left, Expression right ) : bool
IsNullConstant ( Expression e ) : bool
IsSimpleShift ( Type left, Type right ) : bool
IsValidLiftedConditionalLogicalOperator ( Type left, Type right, ParameterInfo pms ) : bool
MakeBinary ( ExpressionType binaryType, Expression left, Expression right, bool liftToNull, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
MakeDynamic ( CallSiteBinder binder, Type returnType, ReadOnlyCollection args ) : DynamicExpression
MakeOpAssignUnary ( ExpressionType kind, Expression expression, MethodInfo method ) : UnaryExpression
MakeUnary ( ExpressionType unaryType, Expression operand, Type type, MethodInfo method ) : UnaryExpression
ParameterIsAssignable ( ParameterInfo pi, Type argType ) : bool
Property ( Expression expression, PropertyInfo property ) : MemberExpression
TryQuote ( Type parameterType, Expression &argument ) : bool
ValidateAccessor ( Expression instance, MethodInfo method, ParameterInfo indexes, ReadOnlyCollection &arguments, string paramName ) : void
ValidateAccessorArgumentTypes ( MethodInfo method, ParameterInfo indexes, ReadOnlyCollection &arguments, string paramName ) : void
ValidateAnonymousTypeMember ( MemberInfo &member, Type &memberType, string paramName, int index ) : void
ValidateArgumentCount ( MethodBase method, ExpressionType nodeKind, int count, ParameterInfo pis ) : void
ValidateArgumentTypes ( MethodBase method, ExpressionType nodeKind, ReadOnlyCollection &arguments, string methodParamName ) : void
ValidateCallInstanceType ( Type instanceType, MethodInfo method ) : void
ValidateCoalesceArgTypes ( Type left, Type right ) : Type
ValidateConstructor ( ConstructorInfo constructor, string paramName ) : void
ValidateDynamicArgument ( Expression arg, string paramName ) : void
ValidateDynamicArgument ( Expression arg, string paramName, int index ) : void
ValidateElementInitAddMethodInfo ( MethodInfo addMethod, string paramName ) : void
ValidateGettableFieldOrPropertyMember ( MemberInfo member, Type &memberType ) : void
ValidateGoto ( LabelTarget target, Expression &value, string targetParameter, string valueParameter, Type type ) : void
ValidateGotoType ( Type expectedType, Expression &value, string paramName ) : void
ValidateIndexedProperty ( Expression instance, PropertyInfo indexer, ReadOnlyCollection &argList ) : void
ValidateListInitArgs ( Type listType, ReadOnlyCollection initializers, string listTypeParamName ) : void
ValidateMemberInitArgs ( Type type, ReadOnlyCollection bindings ) : void
ValidateMethodAndGetParameters ( Expression instance, MethodInfo method ) : ParameterInfo[]
ValidateMethodInfo ( MethodInfo method, string paramName ) : void
ValidateNewArgs ( ConstructorInfo constructor, ReadOnlyCollection &arguments, ReadOnlyCollection &members ) : void
ValidateOneArgument ( MethodBase method, ExpressionType nodeKind, Expression arg, ParameterInfo pi, string methodParamName, string argumentParamName ) : Expression
ValidateOpAssignConversionLambda ( LambdaExpression conversion, Expression left, MethodInfo method, ExpressionType nodeType ) : void
ValidateOperator ( MethodInfo method ) : void
ValidateParamswithOperandsOrThrow ( Type paramType, Type operandType, ExpressionType exprType, string name ) : void
ValidateSettableFieldOrPropertyMember ( MemberInfo member, Type &memberType ) : void
ValidateSpan ( int startLine, int startColumn, int endLine, int endColumn ) : void
ValidateStaticOrInstanceMethod ( Expression instance, MethodInfo method ) : void
ValidateSwitchCaseType ( Expression @case, bool customType, Type resultType, string parameterName ) : void

If custom type is provided, all branches must be reference assignable to the result type. If no custom type is provided, all branches must have the same type - resultType.

ValidateTryAndCatchHaveSameType ( Type type, Expression tryBody, ReadOnlyCollection handlers ) : void
ValidateUserDefinedConditionalLogicOperator ( ExpressionType nodeType, Type left, Type right, MethodInfo method ) : void
VerifyOpTrueFalse ( ExpressionType nodeType, Type left, MethodInfo opTrue, string paramName ) : void

Описание методов

Add() публичный статический метод

Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking.
public static Add ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Add() публичный статический метод

Creates a BinaryExpression that represents an arithmetic addition operation that does not have overflow checking.
public static Add ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

AddAssign() публичный статический метод

Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.
public static AddAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

AddAssign() публичный статический метод

Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.
public static AddAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

AddAssign() публичный статический метод

Creates a BinaryExpression that represents an addition assignment operation that does not have overflow checking.
public static AddAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

AddAssignChecked() публичный статический метод

Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.
public static AddAssignChecked ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

AddAssignChecked() публичный статический метод

Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.
public static AddAssignChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

AddAssignChecked() публичный статический метод

Creates a BinaryExpression that represents an addition assignment operation that has overflow checking.
public static AddAssignChecked ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

AddChecked() публичный статический метод

Creates a BinaryExpression that represents an arithmetic addition operation that has overflow checking.
public static AddChecked ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

AddChecked() публичный статический метод

Creates a BinaryExpression that represents an arithmetic addition operation that has overflow checking.
public static AddChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

And() публичный статический метод

Creates a BinaryExpression that represents an bitwise AND operation.
public static And ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

And() публичный статический метод

Creates a BinaryExpression that represents an bitwise AND operation.
public static And ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

AndAlso() публичный статический метод

Creates a BinaryExpression that represents a conditional AND operation that evaluates the second operand only if it has to.
public static AndAlso ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

AndAlso() публичный статический метод

Creates a BinaryExpression that represents a conditional AND operation that evaluates the second operand only if it has to.
public static AndAlso ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

AndAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise AND assignment operation.
public static AndAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

AndAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise AND assignment operation.
public static AndAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

AndAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise AND assignment operation.
public static AndAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

ArrayAccess() публичный статический метод

Creates an IndexExpression to access an array.
The expression representing the array can be obtained by using the MakeMemberAccess method, or through NewArrayBounds or NewArrayInit.
public static ArrayAccess ( Expression array ) : IndexExpression
array Expression An expression representing the array to index.
Результат IndexExpression

ArrayAccess() публичный статический метод

Creates an IndexExpression to access an array.
The expression representing the array can be obtained by using the MakeMemberAccess method, or through NewArrayBounds or NewArrayInit.
public static ArrayAccess ( Expression array, IEnumerable indexes ) : IndexExpression
array Expression An expression representing the array to index.
indexes IEnumerable An containing expressions used to index the array.
Результат IndexExpression

ArrayIndex() публичный статический метод

Creates a BinaryExpression that represents applying an array index operator to an array of rank one.
public static ArrayIndex ( Expression array, Expression index ) : BinaryExpression
array Expression An to set the property equal to.
index Expression An to set the property equal to.
Результат BinaryExpression

ArrayIndex() публичный статический метод

Creates a MethodCallExpression that represents applying an array index operator to a multi-dimensional array.
public static ArrayIndex ( Expression array ) : MethodCallExpression
array Expression An array of instances - indexes for the array index operation.
Результат MethodCallExpression

ArrayIndex() публичный статический метод

Creates a MethodCallExpression that represents applying an array index operator to an array of rank more than one.
/// or is null. /// .Type does not represent an array type.-or-The rank of .Type does not match the number of elements in .-or-The property of one or more elements of does not represent the type.
public static ArrayIndex ( Expression array, IEnumerable indexes ) : MethodCallExpression
array Expression An to set the property equal to.
indexes IEnumerable An that contains objects to use to populate the collection.
Результат MethodCallExpression

ArrayLength() публичный статический метод

Creates a UnaryExpression that represents getting the length of a one-dimensional array.
/// is null. /// .Type does not represent an array type.
public static ArrayLength ( Expression array ) : UnaryExpression
array Expression An to set the property equal to.
Результат UnaryExpression

Assign() публичный статический метод

Creates a BinaryExpression that represents an assignment operation.
public static Assign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Bind() публичный статический метод

Creates a MemberAssignment binding the specified value to the given member.
public static Bind ( MemberInfo member, Expression expression ) : MemberAssignment
member System.Reflection.MemberInfo The for the member which is being assigned to.
expression Expression The value to be assigned to .
Результат MemberAssignment

Bind() публичный статический метод

Creates a MemberAssignment binding the specified value to the given property.
public static Bind ( MethodInfo propertyAccessor, Expression expression ) : MemberAssignment
propertyAccessor System.Reflection.MethodInfo The for the property which is being assigned to.
expression Expression The value to be assigned to .
Результат MemberAssignment

Break() публичный статический метод

Creates a GotoExpression representing a break statement.
public static Break ( LabelTarget target ) : GotoExpression
target LabelTarget The that the will jump to.
Результат GotoExpression

Break() публичный статический метод

Creates a GotoExpression representing a break statement. The value passed to the label upon jumping can be specified.
public static Break ( LabelTarget target, Expression value ) : GotoExpression
target LabelTarget The that the will jump to.
value Expression The value that will be passed to the associated label upon jumping.
Результат GotoExpression

Break() публичный статический метод

Creates a GotoExpression representing a break statement with the specified type. The value passed to the label upon jumping can be specified.
public static Break ( LabelTarget target, Expression value, Type type ) : GotoExpression
target LabelTarget The that the will jump to.
value Expression The value that will be passed to the associated label upon jumping.
type Type A to set the property equal to.
Результат GotoExpression

Break() публичный статический метод

Creates a GotoExpression representing a break statement with the specified type.
public static Break ( LabelTarget target, Type type ) : GotoExpression
target LabelTarget The that the will jump to.
type Type A to set the property equal to.
Результат GotoExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a method that takes no arguments.
public static Call ( Expression instance, MethodInfo method ) : MethodCallExpression
instance Expression An that specifies the instance for an instance call. (pass null for a static (Shared in Visual Basic) method).
method System.Reflection.MethodInfo The that represents the target method.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a method that takes two arguments.
public static Call ( Expression instance, MethodInfo method, Expression arg0, Expression arg1 ) : MethodCallExpression
instance Expression An that specifies the instance for an instance call. (pass null for a static (Shared in Visual Basic) method).
method System.Reflection.MethodInfo The that represents the target method.
arg0 Expression The that represents the first argument.
arg1 Expression The that represents the second argument.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a method that takes three arguments.
public static Call ( Expression instance, MethodInfo method, Expression arg0, Expression arg1, Expression arg2 ) : MethodCallExpression
instance Expression An that specifies the instance for an instance call. (pass null for a static (Shared in Visual Basic) method).
method System.Reflection.MethodInfo The that represents the target method.
arg0 Expression The that represents the first argument.
arg1 Expression The that represents the second argument.
arg2 Expression The that represents the third argument.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a method call.
/// is null.-or- is null and represents an instance method. /// .Type is not assignable to the declaring type of the method represented by .-or-The number of elements in does not equal the number of parameters for the method represented by .-or-One or more of the elements of is not assignable to the corresponding parameter for the method represented by .
public static Call ( Expression instance, MethodInfo method, IEnumerable arguments ) : MethodCallExpression
instance Expression An to set the property equal to (pass null for a static (Shared in Visual Basic) method).
method System.Reflection.MethodInfo A to set the property equal to.
arguments IEnumerable An that contains objects to use to populate the collection.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to an instance method by calling the appropriate factory method.
/// or is null. No method whose name is , whose type parameters match , and whose parameter types match is found in .Type or its base types.-or-More than one method whose name is , whose type parameters match , and whose parameter types match is found in .Type or its base types.
public static Call ( Expression instance, string methodName, Type typeArguments ) : MethodCallExpression
instance Expression An whose property value will be searched for a specific method.
methodName string The name of the method.
typeArguments Type ///An array of objects that specify the type parameters of the generic method. ///This argument should be null when specifies a non-generic method. ///
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a static method that takes one argument.
/// is null.
public static Call ( MethodInfo method, Expression arg0 ) : MethodCallExpression
method System.Reflection.MethodInfo A to set the property equal to.
arg0 Expression The that represents the first argument.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a static method that takes two arguments.
/// is null.
public static Call ( MethodInfo method, Expression arg0, Expression arg1 ) : MethodCallExpression
method System.Reflection.MethodInfo A to set the property equal to.
arg0 Expression The that represents the first argument.
arg1 Expression The that represents the second argument.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a static method that takes three arguments.
/// is null.
public static Call ( MethodInfo method, Expression arg0, Expression arg1, Expression arg2 ) : MethodCallExpression
method System.Reflection.MethodInfo A to set the property equal to.
arg0 Expression The that represents the first argument.
arg1 Expression The that represents the second argument.
arg2 Expression The that represents the third argument.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a static method that takes four arguments.
/// is null.
public static Call ( MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : MethodCallExpression
method System.Reflection.MethodInfo A to set the property equal to.
arg0 Expression The that represents the first argument.
arg1 Expression The that represents the second argument.
arg2 Expression The that represents the third argument.
arg3 Expression The that represents the fourth argument.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a static method that takes five arguments.
/// is null.
public static Call ( MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4 ) : MethodCallExpression
method System.Reflection.MethodInfo A to set the property equal to.
arg0 Expression The that represents the first argument.
arg1 Expression The that represents the second argument.
arg2 Expression The that represents the third argument.
arg3 Expression The that represents the fourth argument.
arg4 Expression The that represents the fifth argument.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method.
public static Call ( MethodInfo method, IEnumerable arguments ) : MethodCallExpression
method System.Reflection.MethodInfo The that represents the target method.
arguments IEnumerable A collection of that represents the call arguments.
Результат MethodCallExpression

Call() публичный статический метод

Creates a MethodCallExpression that represents a call to a static (Shared in Visual Basic) method by calling the appropriate factory method.
/// or is null. No method whose name is , whose type parameters match , and whose parameter types match is found in or its base types.-or-More than one method whose name is , whose type parameters match , and whose parameter types match is found in or its base types.
public static Call ( Type type, string methodName, Type typeArguments ) : MethodCallExpression
type Type The that specifies the type that contains the specified static (Shared in Visual Basic) method.
methodName string The name of the method.
typeArguments Type ///An array of objects that specify the type parameters of the generic method. ///This argument should be null when specifies a non-generic method. ///
Результат MethodCallExpression

Catch() публичный статический метод

Creates a CatchBlock representing a catch statement with a reference to the caught object for use in the handler body.
public static Catch ( System.Linq.Expressions.ParameterExpression variable, Expression body ) : CatchBlock
variable System.Linq.Expressions.ParameterExpression A representing a reference to the object caught by this handler.
body Expression The body of the catch statement.
Результат CatchBlock

Catch() публичный статический метод

Creates a CatchBlock representing a catch statement with an Exception filter and a reference to the caught Exception object.
public static Catch ( System.Linq.Expressions.ParameterExpression variable, Expression body, Expression filter ) : CatchBlock
variable System.Linq.Expressions.ParameterExpression A representing a reference to the object caught by this handler.
body Expression The body of the catch statement.
filter Expression The body of the filter.
Результат CatchBlock

Catch() публичный статический метод

Creates a CatchBlock representing a catch statement. The Type of object to be caught can be specified but no reference to the object will be available for use in the CatchBlock.
public static Catch ( Type type, Expression body ) : CatchBlock
type Type The of this will handle.
body Expression The body of the catch statement.
Результат CatchBlock

Catch() публичный статический метод

Creates a CatchBlock representing a catch statement with an Exception filter but no reference to the caught Exception object.
public static Catch ( Type type, Expression body, Expression filter ) : CatchBlock
type Type The of this will handle.
body Expression The body of the catch statement.
filter Expression The body of the filter.
Результат CatchBlock

ClearDebugInfo() публичный статический метод

Creates a DebugInfoExpression for clearing a sequence point.
public static ClearDebugInfo ( SymbolDocumentInfo document ) : DebugInfoExpression
document SymbolDocumentInfo The that represents the source file.
Результат DebugInfoExpression

Coalesce() публичный статический метод

Creates a BinaryExpression that represents a coalescing operation.
public static Coalesce ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Coalesce() публичный статический метод

Creates a BinaryExpression that represents a coalescing operation.
public static Coalesce ( Expression left, Expression right, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
conversion LambdaExpression A LambdaExpression to set the Conversion property equal to.
Результат BinaryExpression

Condition() публичный статический метод

Creates a ConditionalExpression.
public static Condition ( Expression test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression
test Expression An to set the property equal to.
ifTrue Expression An to set the property equal to.
ifFalse Expression An to set the property equal to.
Результат ConditionalExpression

Condition() публичный статический метод

Creates a ConditionalExpression.
This method allows explicitly unifying the result type of the conditional expression in cases where the types of ifTrue and ifFalse expressions are not equal. Types of both ifTrue and ifFalse must be implicitly reference assignable to the result type. The type is allowed to be Void.
public static Condition ( Expression test, Expression ifTrue, Expression ifFalse, Type type ) : ConditionalExpression
test Expression An to set the property equal to.
ifTrue Expression An to set the property equal to.
ifFalse Expression An to set the property equal to.
type Type A to set the property equal to.
Результат ConditionalExpression

Constant() публичный статический метод

Creates a ConstantExpression that has the ConstantExpression.Value property set to the specified value. .
public static Constant ( object value ) : ConstantExpression
value object An to set the property equal to.
Результат ConstantExpression

Constant() публичный статический метод

Creates a ConstantExpression that has the ConstantExpression.Value and ConstantExpression.Type properties set to the specified values. .
public static Constant ( object value, Type type ) : ConstantExpression
value object An to set the property equal to.
type Type A to set the property equal to.
Результат ConstantExpression

Continue() публичный статический метод

Creates a GotoExpression representing a continue statement.
public static Continue ( LabelTarget target ) : GotoExpression
target LabelTarget The that the will jump to.
Результат GotoExpression

Continue() публичный статический метод

Creates a GotoExpression representing a continue statement with the specified type.
public static Continue ( LabelTarget target, Type type ) : GotoExpression
target LabelTarget The that the will jump to.
type Type A to set the property equal to.
Результат GotoExpression

Convert() публичный статический метод

Creates a UnaryExpression that represents a conversion operation.
/// or is null. No conversion operator is defined between .Type and .
public static Convert ( Expression expression, Type type ) : UnaryExpression
expression Expression An to set the property equal to.
type Type A to set the property equal to.
Результат UnaryExpression

Convert() публичный статический метод

Creates a UnaryExpression that represents a conversion operation for which the implementing method is specified.
/// or is null. /// is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument. More than one method that matches the description was found. No conversion operator is defined between .Type and .-or-.Type is not assignable to the argument type of the method represented by .-or-The return type of the method represented by is not assignable to .-or-.Type or is a nullable value type and the corresponding non-nullable value type does not equal the argument type or the return type, respectively, of the method represented by .
public static Convert ( Expression expression, Type type, MethodInfo method ) : UnaryExpression
expression Expression An to set the property equal to.
type Type A to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат UnaryExpression

ConvertChecked() публичный статический метод

Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed.
/// or is null. No conversion operator is defined between .Type and .
public static ConvertChecked ( Expression expression, Type type ) : UnaryExpression
expression Expression An to set the property equal to.
type Type A to set the property equal to.
Результат UnaryExpression

ConvertChecked() публичный статический метод

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.
/// or is null. /// is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument. More than one method that matches the description was found. No conversion operator is defined between .Type and .-or-.Type is not assignable to the argument type of the method represented by .-or-The return type of the method represented by is not assignable to .-or-.Type or is a nullable value type and the corresponding non-nullable value type does not equal the argument type or the return type, respectively, of the method represented by .
public static ConvertChecked ( Expression expression, Type type, MethodInfo method ) : UnaryExpression
expression Expression An to set the property equal to.
type Type A to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат UnaryExpression

DebugInfo() публичный статический метод

Creates a DebugInfoExpression with the specified span.
public static DebugInfo ( SymbolDocumentInfo document, int startLine, int startColumn, int endLine, int endColumn ) : DebugInfoExpression
document SymbolDocumentInfo The that represents the source file.
startLine int The start line of this . Must be greater than 0.
startColumn int The start column of this . Must be greater than 0.
endLine int The end line of this . Must be greater or equal than the start line.
endColumn int The end column of this . If the end line is the same as the start line, it must be greater or equal than the start column. In any case, must be greater than 0.
Результат DebugInfoExpression

Decrement() публичный статический метод

Creates a UnaryExpression that represents the decrementing of the expression by 1.
public static Decrement ( Expression expression ) : UnaryExpression
expression Expression An to decrement.
Результат UnaryExpression

Decrement() публичный статический метод

Creates a UnaryExpression that represents the decrementing of the expression by 1.
public static Decrement ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to decrement.
method System.Reflection.MethodInfo A that represents the implementing method.
Результат UnaryExpression

Default() публичный статический метод

Creates a DefaultExpression that has the Type property set to the specified type.
public static Default ( Type type ) : DefaultExpression
type Type A to set the property equal to.
Результат DefaultExpression

Divide() публичный статический метод

Creates a BinaryExpression that represents an arithmetic division operation.
public static Divide ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Divide() публичный статический метод

Creates a BinaryExpression that represents an arithmetic division operation.
public static Divide ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

DivideAssign() публичный статический метод

Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.
public static DivideAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

DivideAssign() публичный статический метод

Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.
public static DivideAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

DivideAssign() публичный статический метод

Creates a BinaryExpression that represents a division assignment operation that does not have overflow checking.
public static DivideAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

Dynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( CallSiteBinder binder, Type returnType ) : DynamicExpression
binder CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
Результат DynamicExpression

Dynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0 ) : DynamicExpression
binder CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
Результат DynamicExpression

Dynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1 ) : DynamicExpression
binder CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
Результат DynamicExpression

Dynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression
binder CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
Результат DynamicExpression

Dynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression
binder CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
arg3 Expression The fourth argument to the dynamic operation.
Результат DynamicExpression

Dynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( CallSiteBinder binder, Type returnType, IEnumerable arguments ) : DynamicExpression
binder CallSiteBinder The runtime binder for the dynamic operation.
returnType Type The result type of the dynamic expression.
arguments IEnumerable The arguments to the dynamic operation.
Результат DynamicExpression

ElementInit() публичный статический метод

Creates an Expressions.ElementInit expression that represents the initialization of a list.
public static ElementInit ( MethodInfo addMethod ) : ElementInit
addMethod System.Reflection.MethodInfo The for the list's Add method.
Результат ElementInit

ElementInit() публичный статический метод

Creates an Expressions.ElementInit expression that represents the initialization of a list.
public static ElementInit ( MethodInfo addMethod, IEnumerable arguments ) : ElementInit
addMethod System.Reflection.MethodInfo The for the list's Add method.
arguments IEnumerable An containing elements to initialize the list.
Результат ElementInit

Empty() публичный статический метод

Creates an empty expression that has Void type.
public static Empty ( ) : DefaultExpression
Результат DefaultExpression

Equal() публичный статический метод

Creates a BinaryExpression that represents an equality comparison.
public static Equal ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Equal() публичный статический метод

Creates a BinaryExpression that represents an equality comparison.
public static Equal ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
liftToNull bool true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

ExclusiveOr() публичный статический метод

Creates a BinaryExpression that represents a bitwise or logical XOR operation, using op_ExclusiveOr for user-defined types.
public static ExclusiveOr ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

ExclusiveOr() публичный статический метод

Creates a BinaryExpression that represents a bitwise or logical XOR operation, using op_ExclusiveOr for user-defined types.
public static ExclusiveOr ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

ExclusiveOrAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise or logical XOR assignment operation, using op_ExclusiveOr for user-defined types.
public static ExclusiveOrAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

ExclusiveOrAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise or logical XOR assignment operation, using op_ExclusiveOr for user-defined types.
public static ExclusiveOrAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

ExclusiveOrAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise or logical XOR assignment operation, using op_ExclusiveOr for user-defined types.
public static ExclusiveOrAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

Field() публичный статический метод

Creates a MemberExpression accessing a field.
public static Field ( Expression expression, string fieldName ) : MemberExpression
expression Expression The containing object of the field. This can be null for static fields.
fieldName string The field to be accessed.
Результат MemberExpression

Goto() публичный статический метод

Creates a GotoExpression representing a goto.
public static Goto ( LabelTarget target ) : GotoExpression
target LabelTarget The that the will jump to.
Результат GotoExpression

Goto() публичный статический метод

Creates a GotoExpression representing a goto. The value passed to the label upon jumping can be specified.
public static Goto ( LabelTarget target, Expression value ) : GotoExpression
target LabelTarget The that the will jump to.
value Expression The value that will be passed to the associated label upon jumping.
Результат GotoExpression

Goto() публичный статический метод

Creates a GotoExpression representing a goto with the specified type. The value passed to the label upon jumping can be specified.
public static Goto ( LabelTarget target, Expression value, Type type ) : GotoExpression
target LabelTarget The that the will jump to.
value Expression The value that will be passed to the associated label upon jumping.
type Type A to set the property equal to.
Результат GotoExpression

Goto() публичный статический метод

Creates a GotoExpression representing a goto with the specified type.
public static Goto ( LabelTarget target, Type type ) : GotoExpression
target LabelTarget The that the will jump to.
type Type A to set the property equal to.
Результат GotoExpression

GreaterThan() публичный статический метод

Creates a BinaryExpression that represents a "greater than" numeric comparison.
public static GreaterThan ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

GreaterThan() публичный статический метод

Creates a BinaryExpression that represents a "greater than" numeric comparison.
public static GreaterThan ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
liftToNull bool true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

GreaterThanOrEqual() публичный статический метод

Creates a BinaryExpression that represents a "greater than or equal" numeric comparison.
public static GreaterThanOrEqual ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

GreaterThanOrEqual() публичный статический метод

Creates a BinaryExpression that represents a "greater than or equal" numeric comparison.
public static GreaterThanOrEqual ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
liftToNull bool true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

IfThen() публичный статический метод

Creates a ConditionalExpression.
public static IfThen ( Expression test, Expression ifTrue ) : ConditionalExpression
test Expression An to set the property equal to.
ifTrue Expression An to set the property equal to.
Результат ConditionalExpression

IfThenElse() публичный статический метод

Creates a ConditionalExpression.
public static IfThenElse ( Expression test, Expression ifTrue, Expression ifFalse ) : ConditionalExpression
test Expression An to set the property equal to.
ifTrue Expression An to set the property equal to.
ifFalse Expression An to set the property equal to.
Результат ConditionalExpression

Increment() публичный статический метод

Creates a UnaryExpression that represents the incrementing of the expression by 1.
public static Increment ( Expression expression ) : UnaryExpression
expression Expression An to increment.
Результат UnaryExpression

Increment() публичный статический метод

Creates a UnaryExpression that represents the incrementing of the expression by 1.
public static Increment ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to increment.
method System.Reflection.MethodInfo A that represents the implementing method.
Результат UnaryExpression

Invoke() публичный статический метод

Creates an InvocationExpression that applies a delegate or lambda expression to a list of argument expressions.
/// is null. /// .Type does not represent a delegate type or an .-or-The property of an element of is not assignable to the type of the corresponding parameter of the delegate represented by . /// does not contain the same number of elements as the list of parameters for the delegate represented by .
public static Invoke ( Expression expression, IEnumerable arguments ) : InvocationExpression
expression Expression /// An that represents the delegate /// or lambda expression to be applied. ///
arguments IEnumerable /// An of objects /// that represent the arguments that the delegate or lambda expression is applied to. ///
Результат InvocationExpression

IsFalse() публичный статический метод

Returns whether the expression evaluates to false.
public static IsFalse ( Expression expression ) : UnaryExpression
expression Expression An to evaluate.
Результат UnaryExpression

IsFalse() публичный статический метод

Returns whether the expression evaluates to false.
public static IsFalse ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to evaluate.
method System.Reflection.MethodInfo A that represents the implementing method.
Результат UnaryExpression

IsTrue() публичный статический метод

Returns whether the expression evaluates to true.
public static IsTrue ( Expression expression ) : UnaryExpression
expression Expression An to evaluate.
Результат UnaryExpression

IsTrue() публичный статический метод

Returns whether the expression evaluates to true.
public static IsTrue ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to evaluate.
method System.Reflection.MethodInfo A that represents the implementing method.
Результат UnaryExpression

Label() публичный статический метод

Creates a LabelExpression representing a label with no default value.
public static Label ( LabelTarget target ) : LabelExpression
target LabelTarget The which this will be associated with.
Результат LabelExpression

Label() публичный статический метод

Creates a LabelExpression representing a label with the given default value.
public static Label ( LabelTarget target, Expression defaultValue ) : LabelExpression
target LabelTarget The which this will be associated with.
defaultValue Expression The value of this when the label is reached through normal control flow.
Результат LabelExpression

Label() публичный статический метод

Creates a LabelTarget representing a label with void type and no name.
public static Label ( ) : LabelTarget
Результат LabelTarget

Label() публичный статический метод

Creates a LabelTarget representing a label with the given type.
public static Label ( Type type ) : LabelTarget
type Type The type of value that is passed when jumping to the label.
Результат LabelTarget

Label() публичный статический метод

Creates a LabelTarget representing a label with the given type and name.
public static Label ( Type type, string name ) : LabelTarget
type Type The type of value that is passed when jumping to the label.
name string The name of the label.
Результат LabelTarget

Label() публичный статический метод

Creates a LabelTarget representing a label with void type and the given name.
public static Label ( string name ) : LabelTarget
name string The name of the label.
Результат LabelTarget

LeftShift() публичный статический метод

Creates a BinaryExpression that represents an bitwise left-shift operation.
public static LeftShift ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

LeftShift() публичный статический метод

Creates a BinaryExpression that represents an bitwise left-shift operation.
public static LeftShift ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

LeftShiftAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise left-shift assignment operation.
public static LeftShiftAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

LeftShiftAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise left-shift assignment operation.
public static LeftShiftAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

LeftShiftAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise left-shift assignment operation.
public static LeftShiftAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

LessThan() публичный статический метод

Creates a BinaryExpression that represents a "less than" numeric comparison.
public static LessThan ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

LessThan() публичный статический метод

Creates a BinaryExpression that represents a "less than" numeric comparison.
public static LessThan ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
liftToNull bool true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

LessThanOrEqual() публичный статический метод

Creates a BinaryExpression that represents a "less than or equal" numeric comparison.
public static LessThanOrEqual ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

LessThanOrEqual() публичный статический метод

Creates a BinaryExpression that represents a "less than or equal" numeric comparison.
public static LessThanOrEqual ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
liftToNull bool true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

ListBind() публичный статический метод

Creates a MemberListBinding where the member is a field or property.
/// is null. -or-One or more elements of is null. /// does not represent a field or property.-or-The or of the field or property that represents does not implement .
public static ListBind ( MemberInfo member ) : MemberListBinding
member System.Reflection.MemberInfo A that represents a field or property to set the property equal to.
Результат MemberListBinding

ListBind() публичный статический метод

Creates a MemberListBinding where the member is a field or property.
/// is null. -or-One or more elements of is null. /// does not represent a field or property.-or-The or of the field or property that represents does not implement .
public static ListBind ( MemberInfo member, IEnumerable initializers ) : MemberListBinding
member System.Reflection.MemberInfo A that represents a field or property to set the property equal to.
initializers IEnumerable An that contains objects to use to populate the collection.
Результат MemberListBinding

ListBind() публичный статический метод

Creates a MemberListBinding object based on a specified property accessor method.
/// is null. -or-One or more elements of is null. /// does not represent a property accessor method.-or-The of the property that the method represented by accesses does not implement .
public static ListBind ( MethodInfo propertyAccessor ) : MemberListBinding
propertyAccessor System.Reflection.MethodInfo A that represents a property accessor method.
Результат MemberListBinding

ListBind() публичный статический метод

Creates a MemberListBinding based on a specified property accessor method.
/// is null. -or-One or more elements of are null. /// does not represent a property accessor method.-or-The of the property that the method represented by accesses does not implement .
public static ListBind ( MethodInfo propertyAccessor, IEnumerable initializers ) : MemberListBinding
propertyAccessor System.Reflection.MethodInfo A that represents a property accessor method.
initializers IEnumerable An that contains objects to use to populate the collection.
Результат MemberListBinding

ListInit() публичный статический метод

Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.
public static ListInit ( NewExpression newExpression ) : ListInitExpression
newExpression NewExpression A to set the property equal to.
Результат ListInitExpression

ListInit() публичный статический метод

Creates a ListInitExpression that uses specified Expressions.ElementInit objects to initialize a collection.
The Type property of newExpression must represent a type that implements Collections.IEnumerable. The Type property of the resulting ListInitExpression is equal to newExpression.Type.
public static ListInit ( NewExpression newExpression, IEnumerable initializers ) : ListInitExpression
newExpression NewExpression A to set the property equal to.
initializers IEnumerable An that contains objects to use to populate the collection.
Результат ListInitExpression

ListInit() публичный статический метод

Creates a ListInitExpression that uses a method named "Add" to add elements to a collection.
public static ListInit ( NewExpression newExpression, IEnumerable initializers ) : ListInitExpression
newExpression NewExpression A to set the property equal to.
initializers IEnumerable An that contains objects to use to populate the collection.
Результат ListInitExpression

ListInit() публичный статический метод

Creates a ListInitExpression that uses a specified method to add elements to a collection.
public static ListInit ( NewExpression newExpression, MethodInfo addMethod ) : ListInitExpression
newExpression NewExpression A to set the property equal to.
addMethod System.Reflection.MethodInfo A that represents an instance method named "Add" (case insensitive), that adds an element to a collection.
Результат ListInitExpression

ListInit() публичный статический метод

Creates a ListInitExpression that uses a specified method to add elements to a collection.
public static ListInit ( NewExpression newExpression, MethodInfo addMethod, IEnumerable initializers ) : ListInitExpression
newExpression NewExpression A to set the property equal to.
addMethod System.Reflection.MethodInfo A that represents an instance method named "Add" (case insensitive), that adds an element to a collection.
initializers IEnumerable An that contains objects to use to populate the Initializers collection.
Результат ListInitExpression

Loop() публичный статический метод

Creates a LoopExpression with the given body.
public static Loop ( Expression body ) : LoopExpression
body Expression The body of the loop.
Результат LoopExpression

Loop() публичный статический метод

Creates a LoopExpression with the given body and break target.
public static Loop ( Expression body, LabelTarget @break ) : LoopExpression
body Expression The body of the loop.
@break LabelTarget
Результат LoopExpression

Loop() публичный статический метод

Creates a LoopExpression with the given body.
public static Loop ( Expression body, LabelTarget @break, LabelTarget @continue ) : LoopExpression
body Expression The body of the loop.
@break LabelTarget
@continue LabelTarget
Результат LoopExpression

MakeBinary() публичный статический метод

Creates a BinaryExpression, given the left and right operands, by calling an appropriate factory method.
public static MakeBinary ( ExpressionType binaryType, Expression left, Expression right ) : BinaryExpression
binaryType ExpressionType The ExpressionType that specifies the type of binary operation.
left Expression An Expression that represents the left operand.
right Expression An Expression that represents the right operand.
Результат BinaryExpression

MakeBinary() публичный статический метод

Creates a BinaryExpression, given the left and right operands, by calling an appropriate factory method.
public static MakeBinary ( ExpressionType binaryType, Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression
binaryType ExpressionType The ExpressionType that specifies the type of binary operation.
left Expression An Expression that represents the left operand.
right Expression An Expression that represents the right operand.
liftToNull bool true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
method System.Reflection.MethodInfo A MethodInfo that specifies the implementing method.
Результат BinaryExpression

MakeCatchBlock() публичный статический метод

Creates a CatchBlock representing a catch statement with the specified elements.
type must be non-null and match the type of variable (if it is supplied).
public static MakeCatchBlock ( Type type, System.Linq.Expressions.ParameterExpression variable, Expression body, Expression filter ) : CatchBlock
type Type The of this will handle.
variable System.Linq.Expressions.ParameterExpression A representing a reference to the object caught by this handler.
body Expression The body of the catch statement.
filter Expression The body of the filter.
Результат CatchBlock

MakeDynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
public static MakeDynamic ( Type delegateType, CallSiteBinder binder ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder CallSiteBinder The runtime binder for the dynamic operation.
Результат DynamicExpression

MakeDynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and one argument.
public static MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The argument to the dynamic operation.
Результат DynamicExpression

MakeDynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and two arguments.
public static MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
Результат DynamicExpression

MakeDynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and three arguments.
public static MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
Результат DynamicExpression

MakeDynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and four arguments.
public static MakeDynamic ( Type delegateType, CallSiteBinder binder, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder CallSiteBinder The runtime binder for the dynamic operation.
arg0 Expression The first argument to the dynamic operation.
arg1 Expression The second argument to the dynamic operation.
arg2 Expression The third argument to the dynamic operation.
arg3 Expression The fourth argument to the dynamic operation.
Результат DynamicExpression

MakeDynamic() публичный статический метод

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
public static MakeDynamic ( Type delegateType, CallSiteBinder binder, IEnumerable arguments ) : DynamicExpression
delegateType Type The type of the delegate used by the .
binder CallSiteBinder The runtime binder for the dynamic operation.
arguments IEnumerable The arguments to the dynamic operation.
Результат DynamicExpression

MakeGoto() публичный статический метод

Creates a GotoExpression representing a jump of the specified GotoExpressionKind. The value passed to the label upon jumping can also be specified.
public static MakeGoto ( GotoExpressionKind kind, LabelTarget target, Expression value, Type type ) : GotoExpression
kind GotoExpressionKind The of the .
target LabelTarget The that the will jump to.
value Expression The value that will be passed to the associated label upon jumping.
type Type A to set the property equal to.
Результат GotoExpression

MakeIndex() публичный статический метод

Creates an IndexExpression that represents accessing an indexed property in an object.
public static MakeIndex ( Expression instance, PropertyInfo indexer, IEnumerable arguments ) : IndexExpression
instance Expression The object to which the property belongs. Should be null if the property is static(shared).
indexer System.Reflection.PropertyInfo An representing the property to index.
arguments IEnumerable An containing the arguments to be used to index the property.
Результат IndexExpression

MakeMemberAccess() публичный статический метод

Creates a MemberExpression accessing a property or field.
public static MakeMemberAccess ( Expression expression, MemberInfo member ) : MemberExpression
expression Expression The containing object of the member. This can be null for static members.
member System.Reflection.MemberInfo The member to be accessed.
Результат MemberExpression

MakeTry() публичный статический метод

Creates a TryExpression representing a try block with the specified elements.
public static MakeTry ( Type type, Expression body, Expression @finally, Expression fault, IEnumerable handlers ) : TryExpression
type Type The result type of the try expression. If null, body and all handlers must have identical type.
body Expression The body of the try block.
@finally Expression
fault Expression The body of the t block. Pass null if the try block has no fault block associated with it.
handlers IEnumerable A collection of s representing the catch statements to be associated with the try block.
Результат TryExpression

MakeUnary() публичный статический метод

Creates a UnaryExpression, given an operand, by calling the appropriate factory method.
Thrown when does not correspond to a unary expression. Thrown when is null.
public static MakeUnary ( ExpressionType unaryType, Expression operand, Type type ) : UnaryExpression
unaryType ExpressionType The that specifies the type of unary operation.
operand Expression An that represents the operand.
type Type The that specifies the type to be converted to (pass null if not applicable).
Результат UnaryExpression

MemberBind() публичный статический метод

Creates a MemberMemberBinding that represents the recursive initialization of members of a field or property.
public static MemberBind ( MemberInfo member ) : MemberMemberBinding
member System.Reflection.MemberInfo The to set the property equal to.
Результат MemberMemberBinding

MemberBind() публичный статический метод

Creates a MemberMemberBinding that represents the recursive initialization of members of a field or property.
public static MemberBind ( MemberInfo member, IEnumerable bindings ) : MemberMemberBinding
member System.Reflection.MemberInfo The to set the property equal to.
bindings IEnumerable An that contains objects to use to populate the collection.
Результат MemberMemberBinding

MemberBind() публичный статический метод

Creates a MemberMemberBinding that represents the recursive initialization of members of a member that is accessed by using a property accessor method.
public static MemberBind ( MethodInfo propertyAccessor ) : MemberMemberBinding
propertyAccessor System.Reflection.MethodInfo The that represents a property accessor method.
Результат MemberMemberBinding

MemberBind() публичный статический метод

Creates a MemberMemberBinding that represents the recursive initialization of members of a member that is accessed by using a property accessor method.
public static MemberBind ( MethodInfo propertyAccessor, IEnumerable bindings ) : MemberMemberBinding
propertyAccessor System.Reflection.MethodInfo The that represents a property accessor method.
bindings IEnumerable An that contains objects to use to populate the collection.
Результат MemberMemberBinding

MemberInit() публичный статический метод

Creates a MemberInitExpression.
/// or is null. The property of an element of does not represent a member of the type that .Type represents.
public static MemberInit ( NewExpression newExpression ) : MemberInitExpression
newExpression NewExpression A to set the property equal to.
Результат MemberInitExpression

MemberInit() публичный статический метод

Creates a MemberInitExpression.
/// or is null. The property of an element of does not represent a member of the type that .Type represents.
public static MemberInit ( NewExpression newExpression, IEnumerable bindings ) : MemberInitExpression
newExpression NewExpression A to set the property equal to.
bindings IEnumerable An that contains objects to use to populate the collection.
Результат MemberInitExpression

Modulo() публичный статический метод

Creates a BinaryExpression that represents an arithmetic remainder operation.
public static Modulo ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Modulo() публичный статический метод

Creates a BinaryExpression that represents an arithmetic remainder operation.
public static Modulo ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

ModuloAssign() публичный статический метод

Creates a BinaryExpression that represents a remainder assignment operation.
public static ModuloAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

ModuloAssign() публичный статический метод

Creates a BinaryExpression that represents a remainder assignment operation.
public static ModuloAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

ModuloAssign() публичный статический метод

Creates a BinaryExpression that represents a remainder assignment operation.
public static ModuloAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

Multiply() публичный статический метод

Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.
public static Multiply ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Multiply() публичный статический метод

Creates a BinaryExpression that represents an arithmetic multiplication operation that does not have overflow checking.
public static Multiply ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

MultiplyAssign() публичный статический метод

Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.
public static MultiplyAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

MultiplyAssign() публичный статический метод

Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.
public static MultiplyAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

MultiplyAssign() публичный статический метод

Creates a BinaryExpression that represents a multiplication assignment operation that does not have overflow checking.
public static MultiplyAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

MultiplyAssignChecked() публичный статический метод

Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.
public static MultiplyAssignChecked ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

MultiplyAssignChecked() публичный статический метод

Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.
public static MultiplyAssignChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

MultiplyAssignChecked() публичный статический метод

Creates a BinaryExpression that represents a multiplication assignment operation that has overflow checking.
public static MultiplyAssignChecked ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

MultiplyChecked() публичный статический метод

Creates a BinaryExpression that represents an arithmetic multiplication operation that has overflow checking.
public static MultiplyChecked ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

MultiplyChecked() публичный статический метод

Creates a BinaryExpression that represents an arithmetic multiplication operation that has overflow checking.
public static MultiplyChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

Negate() публичный статический метод

Creates a UnaryExpression that represents an arithmetic negation operation.
Thrown when is null. Thrown when the unary minus operator is not defined for .Type.
public static Negate ( Expression expression ) : UnaryExpression
expression Expression An to set the property equal to.
Результат UnaryExpression

Negate() публичный статический метод

Creates a UnaryExpression that represents an arithmetic negation operation.
Thrown when is null. Thrown when is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument. Thrown when is null and the unary minus operator is not defined for .Type (or its corresponding non-nullable type if it is a nullable value type) is not assignable to the argument type of the method represented by method.
public static Negate ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат UnaryExpression

NegateChecked() публичный статический метод

Creates a UnaryExpression that represents an arithmetic negation operation that has overflow checking.
Thrown when is null. Thrown when the unary minus operator is not defined for .Type.
public static NegateChecked ( Expression expression ) : UnaryExpression
expression Expression An to set the property equal to.
Результат UnaryExpression

NegateChecked() публичный статический метод

Creates a UnaryExpression that represents an arithmetic negation operation that has overflow checking. The implementing method can be specified.
/// is null. /// is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument. /// is null and the unary minus operator is not defined for .Type.-or-.Type (or its corresponding non-nullable type if it is a nullable value type) is not assignable to the argument type of the method represented by .
public static NegateChecked ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат UnaryExpression

New() публичный статический метод

Creates a new NewExpression that represents calling the specified constructor that takes no arguments.
public static New ( ConstructorInfo constructor ) : NewExpression
constructor System.Reflection.ConstructorInfo The to set the property equal to.
Результат NewExpression

New() публичный статический метод

Creates a new NewExpression that represents calling the specified constructor that takes no arguments.
public static New ( ConstructorInfo constructor, IEnumerable arguments ) : NewExpression
constructor System.Reflection.ConstructorInfo The to set the property equal to.
arguments IEnumerable An of objects to use to populate the collection.
Результат NewExpression

New() публичный статический метод

Creates a new NewExpression that represents calling the specified constructor with the specified arguments. The members that access the constructor initialized fields are specified.
public static New ( ConstructorInfo constructor, IEnumerable arguments, IEnumerable members ) : NewExpression
constructor System.Reflection.ConstructorInfo The to set the property equal to.
arguments IEnumerable An of objects to use to populate the collection.
members IEnumerable An of objects to use to populate the collection.
Результат NewExpression

New() публичный статический метод

Creates a NewExpression that represents calling the parameterless constructor of the specified type.
public static New ( Type type ) : NewExpression
type Type A that has a constructor that takes no arguments.
Результат NewExpression

NewArrayBounds() публичный статический метод

Creates a NewArrayExpression that represents creating an array that has a specified rank.
public static NewArrayBounds ( Type type ) : NewArrayExpression
type Type A that represents the element type of the array.
Результат NewArrayExpression

NewArrayBounds() публичный статический метод

Creates a NewArrayExpression that represents creating an array that has a specified rank.
public static NewArrayBounds ( Type type, IEnumerable bounds ) : NewArrayExpression
type Type A that represents the element type of the array.
bounds IEnumerable An that contains objects to use to populate the collection.
Результат NewArrayExpression

NewArrayInit() публичный статический метод

Creates a NewArrayExpression of the specified type from the provided initializers.
public static NewArrayInit ( Type type ) : NewArrayExpression
type Type A Type that represents the element type of the array.
Результат NewArrayExpression

NewArrayInit() публичный статический метод

Creates a NewArrayExpression of the specified type from the provided initializers.
public static NewArrayInit ( Type type, IEnumerable initializers ) : NewArrayExpression
type Type A Type that represents the element type of the array.
initializers IEnumerable The expressions used to create the array elements.
Результат NewArrayExpression

Not() публичный статический метод

Creates a UnaryExpression that represents a bitwise complement operation.
/// is null. The unary not operator is not defined for .Type.
public static Not ( Expression expression ) : UnaryExpression
expression Expression An to set the property equal to.
Результат UnaryExpression

Not() публичный статический метод

Creates a UnaryExpression that represents a bitwise complement operation. The implementing method can be specified.
/// is null. /// is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument. /// is null and the unary not operator is not defined for .Type.-or-.Type (or its corresponding non-nullable type if it is a nullable value type) is not assignable to the argument type of the method represented by .
public static Not ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат UnaryExpression

NotEqual() публичный статический метод

Creates a BinaryExpression that represents an inequality comparison.
public static NotEqual ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

NotEqual() публичный статический метод

Creates a BinaryExpression that represents an inequality comparison.
public static NotEqual ( Expression left, Expression right, bool liftToNull, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
liftToNull bool true to set IsLiftedToNull to true; false to set IsLiftedToNull to false.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

OnesComplement() публичный статический метод

Returns the expression representing the ones complement.
public static OnesComplement ( Expression expression ) : UnaryExpression
expression Expression An .
Результат UnaryExpression

OnesComplement() публичный статический метод

Returns the expression representing the ones complement.
public static OnesComplement ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An .
method System.Reflection.MethodInfo A that represents the implementing method.
Результат UnaryExpression

Or() публичный статический метод

Creates a BinaryExpression that represents an bitwise OR operation.
public static Or ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Or() публичный статический метод

Creates a BinaryExpression that represents an bitwise OR operation.
public static Or ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method System.Reflection.MethodInfo A to set the property equal to.
Результат BinaryExpression

OrAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise OR assignment operation.
public static OrAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

OrAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise OR assignment operation.
public static OrAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

OrAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise OR assignment operation.
public static OrAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

OrElse() публичный статический метод

Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if it has to.
public static OrElse ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

OrElse() публичный статический метод

Creates a BinaryExpression that represents a conditional OR operation that evaluates the second operand only if it has to.
public static OrElse ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

PostDecrementAssign() публичный статический метод

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent decrement by 1 of the original expression.
public static PostDecrementAssign ( Expression expression ) : UnaryExpression
expression Expression An to apply the operations on.
Результат UnaryExpression

PostDecrementAssign() публичный статический метод

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent decrement by 1 of the original expression.
public static PostDecrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to apply the operations on.
method MethodInfo A that represents the implementing method.
Результат UnaryExpression

PostIncrementAssign() публичный статический метод

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent increment by 1 of the original expression.
public static PostIncrementAssign ( Expression expression ) : UnaryExpression
expression Expression An to apply the operations on.
Результат UnaryExpression

PostIncrementAssign() публичный статический метод

Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent increment by 1 of the original expression.
public static PostIncrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to apply the operations on.
method MethodInfo A that represents the implementing method.
Результат UnaryExpression

Power() публичный статический метод

Creates a BinaryExpression that represents raising a number to a power.
public static Power ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Power() публичный статический метод

Creates a BinaryExpression that represents raising a number to a power.
public static Power ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

PowerAssign() публичный статический метод

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.
public static PowerAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

PowerAssign() публичный статический метод

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.
public static PowerAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

PowerAssign() публичный статический метод

Creates a BinaryExpression that represents raising an expression to a power and assigning the result back to the expression.
public static PowerAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

PreDecrementAssign() публичный статический метод

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.
public static PreDecrementAssign ( Expression expression ) : UnaryExpression
expression Expression An to apply the operations on.
Результат UnaryExpression

PreDecrementAssign() публичный статический метод

Creates a UnaryExpression that decrements the expression by 1 and assigns the result back to the expression.
public static PreDecrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to apply the operations on.
method MethodInfo A that represents the implementing method.
Результат UnaryExpression

PreIncrementAssign() публичный статический метод

Creates a UnaryExpression that increments the expression by 1 and assigns the result back to the expression.
public static PreIncrementAssign ( Expression expression ) : UnaryExpression
expression Expression An to apply the operations on.
Результат UnaryExpression

PreIncrementAssign() публичный статический метод

Creates a UnaryExpression that increments the expression by 1 and assigns the result back to the expression.
public static PreIncrementAssign ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to apply the operations on.
method MethodInfo A that represents the implementing method.
Результат UnaryExpression

Property() публичный статический метод

Creates an IndexExpression representing the access to an indexed property.
public static Property ( Expression instance, PropertyInfo indexer ) : IndexExpression
instance Expression The object to which the property belongs. If the property is static/shared, it must be null.
indexer PropertyInfo The that represents the property to index.
Результат IndexExpression

Property() публичный статический метод

Creates an IndexExpression representing the access to an indexed property.
public static Property ( Expression instance, PropertyInfo indexer, IEnumerable arguments ) : IndexExpression
instance Expression The object to which the property belongs. If the property is static/shared, it must be null.
indexer PropertyInfo The that represents the property to index.
arguments IEnumerable An of objects that are used to index the property.
Результат IndexExpression

Property() публичный статический метод

Creates an IndexExpression representing the access to an indexed property.
public static Property ( Expression instance, string propertyName ) : IndexExpression
instance Expression The object to which the property belongs. If the property is static/shared, it must be null.
propertyName string The name of the indexer.
Результат IndexExpression

Property() публичный статический метод

Creates a MemberExpression accessing a property.
public static Property ( Expression expression, MethodInfo propertyAccessor ) : MemberExpression
expression Expression The containing object of the property. This can be null for static properties.
propertyAccessor MethodInfo An accessor method of the property to be accessed.
Результат MemberExpression

Property() публичный статический метод

Creates a MemberExpression accessing a property.
public static Property ( Expression expression, Type type, string propertyName ) : MemberExpression
expression Expression The containing object of the property. This can be null for static properties.
type Type The containing the property.
propertyName string The property to be accessed.
Результат MemberExpression

Property() публичный статический метод

Creates a MemberExpression accessing a property.
public static Property ( Expression expression, string propertyName ) : MemberExpression
expression Expression The containing object of the property. This can be null for static properties.
propertyName string The property to be accessed.
Результат MemberExpression

PropertyOrField() публичный статический метод

Creates a MemberExpression accessing a property or field.
public static PropertyOrField ( Expression expression, string propertyOrFieldName ) : MemberExpression
expression Expression The containing object of the member. This can be null for static members.
propertyOrFieldName string The member to be accessed.
Результат MemberExpression

Quote() публичный статический метод

Creates a UnaryExpression that represents an expression that has a constant value of type Expression.
/// is null.
public static Quote ( Expression expression ) : UnaryExpression
expression Expression An to set the property equal to.
Результат UnaryExpression

ReferenceEqual() публичный статический метод

Creates a BinaryExpression that represents a reference equality comparison.
public static ReferenceEqual ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

ReferenceNotEqual() публичный статический метод

Creates a BinaryExpression that represents a reference inequality comparison.
public static ReferenceNotEqual ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Rethrow() публичный статический метод

Creates a UnaryExpression that represents a rethrowing of an exception.
public static Rethrow ( ) : UnaryExpression
Результат UnaryExpression

Rethrow() публичный статический метод

Creates a UnaryExpression that represents a rethrowing of an exception with a given type.
public static Rethrow ( Type type ) : UnaryExpression
type Type The new of the expression.
Результат UnaryExpression

Return() публичный статический метод

Creates a GotoExpression representing a return statement.
public static Return ( LabelTarget target ) : GotoExpression
target LabelTarget The that the will jump to.
Результат GotoExpression

Return() публичный статический метод

Creates a GotoExpression representing a return statement. The value passed to the label upon jumping can be specified.
public static Return ( LabelTarget target, Expression value ) : GotoExpression
target LabelTarget The that the will jump to.
value Expression The value that will be passed to the associated label upon jumping.
Результат GotoExpression

Return() публичный статический метод

Creates a GotoExpression representing a return statement with the specified type. The value passed to the label upon jumping can be specified.
public static Return ( LabelTarget target, Expression value, Type type ) : GotoExpression
target LabelTarget The that the will jump to.
value Expression The value that will be passed to the associated label upon jumping.
type Type A to set the property equal to.
Результат GotoExpression

Return() публичный статический метод

Creates a GotoExpression representing a return statement with the specified type.
public static Return ( LabelTarget target, Type type ) : GotoExpression
target LabelTarget The that the will jump to.
type Type A to set the property equal to.
Результат GotoExpression

RightShift() публичный статический метод

Creates a BinaryExpression that represents an bitwise right-shift operation.
public static RightShift ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

RightShift() публичный статический метод

Creates a BinaryExpression that represents an bitwise right-shift operation.
public static RightShift ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

RightShiftAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise right-shift assignment operation.
public static RightShiftAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

RightShiftAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise right-shift assignment operation.
public static RightShiftAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

RightShiftAssign() публичный статический метод

Creates a BinaryExpression that represents a bitwise right-shift assignment operation.
public static RightShiftAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

RuntimeVariables() публичный статический метод

Creates an instance of RuntimeVariablesExpression.
public static RuntimeVariables ( ) : RuntimeVariablesExpression
Результат RuntimeVariablesExpression

RuntimeVariables() публичный статический метод

Creates an instance of RuntimeVariablesExpression.
public static RuntimeVariables ( IEnumerable variables ) : RuntimeVariablesExpression
variables IEnumerable A collection of objects to use to populate the collection.
Результат RuntimeVariablesExpression

Subtract() публичный статический метод

Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.
public static Subtract ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

Subtract() публичный статический метод

Creates a BinaryExpression that represents an arithmetic subtraction operation that does not have overflow checking.
public static Subtract ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

SubtractAssign() публичный статический метод

Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.
public static SubtractAssign ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

SubtractAssign() публичный статический метод

Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.
public static SubtractAssign ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

SubtractAssign() публичный статический метод

Creates a BinaryExpression that represents a subtraction assignment operation that does not have overflow checking.
public static SubtractAssign ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

SubtractAssignChecked() публичный статический метод

Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.
public static SubtractAssignChecked ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

SubtractAssignChecked() публичный статический метод

Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.
public static SubtractAssignChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

SubtractAssignChecked() публичный статический метод

Creates a BinaryExpression that represents a subtraction assignment operation that has overflow checking.
public static SubtractAssignChecked ( Expression left, Expression right, MethodInfo method, LambdaExpression conversion ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
conversion LambdaExpression A to set the property equal to.
Результат BinaryExpression

SubtractChecked() публичный статический метод

Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.
public static SubtractChecked ( Expression left, Expression right ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
Результат BinaryExpression

SubtractChecked() публичный статический метод

Creates a BinaryExpression that represents an arithmetic subtraction operation that has overflow checking.
public static SubtractChecked ( Expression left, Expression right, MethodInfo method ) : BinaryExpression
left Expression An to set the property equal to.
right Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат BinaryExpression

Switch() публичный статический метод

Creates a SwitchExpression.
public static Switch ( Expression switchValue ) : SwitchExpression
switchValue Expression The value to be tested against each case.
Результат SwitchExpression

Switch() публичный статический метод

Creates a SwitchExpression.
public static Switch ( Expression switchValue, Expression defaultBody ) : SwitchExpression
switchValue Expression The value to be tested against each case.
defaultBody Expression The result of the switch if no cases are matched.
Результат SwitchExpression

Switch() публичный статический метод

Creates a SwitchExpression.
public static Switch ( Expression switchValue, Expression defaultBody, MethodInfo comparison ) : SwitchExpression
switchValue Expression The value to be tested against each case.
defaultBody Expression The result of the switch if no cases are matched.
comparison MethodInfo The equality comparison method to use.
Результат SwitchExpression

Switch() публичный статический метод

Creates a SwitchExpression.
public static Switch ( Expression switchValue, Expression defaultBody, MethodInfo comparison, IEnumerable cases ) : SwitchExpression
switchValue Expression The value to be tested against each case.
defaultBody Expression The result of the switch if no cases are matched.
comparison MethodInfo The equality comparison method to use.
cases IEnumerable The valid cases for this switch.
Результат SwitchExpression

Switch() публичный статический метод

Creates a SwitchExpression.
public static Switch ( Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison ) : SwitchExpression
type Type The result type of the switch.
switchValue Expression The value to be tested against each case.
defaultBody Expression The result of the switch if no cases are matched.
comparison MethodInfo The equality comparison method to use.
Результат SwitchExpression

Switch() публичный статический метод

Creates a SwitchExpression.
public static Switch ( Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison, IEnumerable cases ) : SwitchExpression
type Type The result type of the switch.
switchValue Expression The value to be tested against each case.
defaultBody Expression The result of the switch if no cases are matched.
comparison MethodInfo The equality comparison method to use.
cases IEnumerable The valid cases for this switch.
Результат SwitchExpression

SwitchCase() публичный статический метод

Creates a Expressions.SwitchCase for use in a SwitchExpression.
public static SwitchCase ( Expression body ) : SwitchCase
body Expression The body of the case.
Результат SwitchCase

SwitchCase() публичный статический метод

Creates a Expressions.SwitchCase for use in a SwitchExpression.
public static SwitchCase ( Expression body, IEnumerable testValues ) : SwitchCase
body Expression The body of the case.
testValues IEnumerable The test values of the case.
Результат SwitchCase

SymbolDocument() публичный статический метод

Creates an instance of SymbolDocumentInfo.
public static SymbolDocument ( string fileName ) : SymbolDocumentInfo
fileName string A to set the equal to.
Результат SymbolDocumentInfo

SymbolDocument() публичный статический метод

Creates an instance of SymbolDocumentInfo.
public static SymbolDocument ( string fileName, Guid language ) : SymbolDocumentInfo
fileName string A to set the equal to.
language Guid A to set the equal to.
Результат SymbolDocumentInfo

SymbolDocument() публичный статический метод

Creates an instance of SymbolDocumentInfo.
public static SymbolDocument ( string fileName, Guid language, Guid languageVendor ) : SymbolDocumentInfo
fileName string A to set the equal to.
language Guid A to set the equal to.
languageVendor Guid A to set the equal to.
Результат SymbolDocumentInfo

SymbolDocument() публичный статический метод

Creates an instance of SymbolDocumentInfo.
public static SymbolDocument ( string fileName, Guid language, Guid languageVendor, Guid documentType ) : SymbolDocumentInfo
fileName string A to set the equal to.
language Guid A to set the equal to.
languageVendor Guid A to set the equal to.
documentType Guid A to set the equal to.
Результат SymbolDocumentInfo

Throw() публичный статический метод

Creates a UnaryExpression that represents a throwing of an exception.
public static Throw ( Expression value ) : UnaryExpression
value Expression An .
Результат UnaryExpression

Throw() публичный статический метод

Creates a UnaryExpression that represents a throwing of a value with a given type.
public static Throw ( Expression value, Type type ) : UnaryExpression
value Expression An .
type Type The new of the expression.
Результат UnaryExpression

TryCatch() публичный статический метод

Creates a TryExpression representing a try block with any number of catch statements and neither a fault nor finally block.
public static TryCatch ( Expression body ) : TryExpression
body Expression The body of the try block.
Результат TryExpression

TryCatchFinally() публичный статический метод

Creates a TryExpression representing a try block with any number of catch statements and a finally block.
public static TryCatchFinally ( Expression body, Expression @finally ) : TryExpression
body Expression The body of the try block.
@finally Expression
Результат TryExpression

TryFault() публичный статический метод

Creates a TryExpression representing a try block with a fault block and no catch statements.
public static TryFault ( Expression body, Expression fault ) : TryExpression
body Expression The body of the try block.
fault Expression The body of the fault block.
Результат TryExpression

TryFinally() публичный статический метод

Creates a TryExpression representing a try block with a finally block and no catch statements.
public static TryFinally ( Expression body, Expression @finally ) : TryExpression
body Expression The body of the try block.
@finally Expression
Результат TryExpression

TypeAs() публичный статический метод

Creates a UnaryExpression that represents an explicit reference or boxing conversion where null is supplied if the conversion fails.
/// or is null.
public static TypeAs ( Expression expression, Type type ) : UnaryExpression
expression Expression An to set the property equal to.
type Type A to set the property equal to.
Результат UnaryExpression

TypeEqual() публичный статический метод

Creates a TypeBinaryExpression that compares run-time type identity.
public static TypeEqual ( Expression expression, Type type ) : TypeBinaryExpression
expression Expression An to set the property equal to.
type Type A to set the property equal to.
Результат TypeBinaryExpression

TypeIs() публичный статический метод

Creates a TypeBinaryExpression.
public static TypeIs ( Expression expression, Type type ) : TypeBinaryExpression
expression Expression An to set the property equal to.
type Type A to set the property equal to.
Результат TypeBinaryExpression

UnaryPlus() публичный статический метод

Creates a UnaryExpression that represents a unary plus operation.
Thrown when is null. Thrown when the unary minus operator is not defined for .Type.
public static UnaryPlus ( Expression expression ) : UnaryExpression
expression Expression An to set the property equal to.
Результат UnaryExpression

UnaryPlus() публичный статический метод

Creates a UnaryExpression that represents a unary plus operation.
Thrown when is null. Thrown when is not null and the method it represents returns void, is not static (Shared in Visual Basic), or does not take exactly one argument. Thrown when is null and the unary minus operator is not defined for .Type (or its corresponding non-nullable type if it is a nullable value type) is not assignable to the argument type of the method represented by method.
public static UnaryPlus ( Expression expression, MethodInfo method ) : UnaryExpression
expression Expression An to set the property equal to.
method MethodInfo A to set the property equal to.
Результат UnaryExpression

Unbox() публичный статический метод

Creates a UnaryExpression that represents an explicit unboxing.
public static Unbox ( Expression expression, Type type ) : UnaryExpression
expression Expression An to unbox.
type Type The new of the expression.
Результат UnaryExpression