C# Class System.Linq.Expressions.GotoExpression

Represents an unconditional jump. This includes return statements, break and continue statements, and other jumps.
Inheritance: Expression
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Update ( LabelTarget target, Expression value ) : GotoExpression

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

Method Description
Accept ( ExpressionVisitor visitor ) : Expression

Dispatches to the specific visit method for this node type.

Private Methods

Method Description
GotoExpression ( GotoExpressionKind kind, LabelTarget target, Expression value, Type type ) : System.Diagnostics

Method Details

Accept() protected method

Dispatches to the specific visit method for this node type.
protected Accept ( ExpressionVisitor visitor ) : Expression
visitor ExpressionVisitor
return Expression

Update() public method

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.
public Update ( LabelTarget target, Expression value ) : GotoExpression
target LabelTarget The property of the result.
value Expression The property of the result.
return GotoExpression