System.Linq.Expressions.BlockExpression Members

The members of System.Linq.Expressions.BlockExpression are listed below.

See Also: Inherited members from System.Linq.Expressions.Expression

Public Properties

[read-only]
ExpressionsSystem.Collections.ObjectModel.ReadOnlyCollection<Expression>.

Gets the expressions in this block.

[read-only]
override
NodeTypeExpressionType.

Returns the node type of this expression. Extension nodes should return ExpressionType.Extension when overriding this method.

[read-only]
ResultExpression.

Gets the last expression in this block.

[read-only]
override
TypeType.

Gets the static type of the expression that this System.Linq.Expressions.Expression represents.

[read-only]
VariablesSystem.Collections.ObjectModel.ReadOnlyCollection<ParameterExpression>.

Gets the variables defined in this block.

Public Methods

Update(IEnumerable<ParameterExpression>, IEnumerable<Expression>) : BlockExpression

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

Protected Methods

override
Accept(ExpressionVisitor) : Expression

Dispatches to the specific visit method for this node type. For example, System.Linq.Expressions.MethodCallExpression calls the ExpressionVisitor.VisitMethodCall(MethodCallExpression).