2 instantiations of LabelExpression
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
818
expr = new
LabelExpression
(node.Target, expression.Node);
System\Linq\Expressions\LabelExpression.cs (1)
93
return new
LabelExpression
(target, defaultValue);
32 references to LabelExpression
netstandard (1)
netstandard.cs (1)
1006
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.
LabelExpression
))]
System.Core (1)
System.Core.cs (1)
144
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.
LabelExpression
))]
System.Linq.Expressions (30)
System\Linq\Expressions\Compiler\LambdaCompiler.ControlFlow.cs (6)
53
var
node = (
LabelExpression
)expr;
162
LabelTarget label = ((
LabelExpression
)node).Target;
232
var
label = e as
LabelExpression
;
257
LabelTarget label = ((
LabelExpression
)expression).Target;
System\Linq\Expressions\Compiler\StackSpiller.cs (2)
813
var
node = (
LabelExpression
)expr;
System\Linq\Expressions\DebugViewWriter.cs (1)
991
protected internal override Expression VisitLabel(
LabelExpression
node)
System\Linq\Expressions\Expression.DebuggerProxy.cs (2)
201
private readonly
LabelExpression
_node;
203
public LabelExpressionProxy(
LabelExpression
node)
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
677
protected internal override Expression VisitLabel(
LabelExpression
node)
System\Linq\Expressions\ExpressionVisitor.cs (2)
327
/// Visits the children of the <see cref="
LabelExpression
"/>.
332
protected internal virtual Expression VisitLabel(
LabelExpression
node)
System\Linq\Expressions\Interpreter\LightCompiler.cs (5)
1726
var
node = (
LabelExpression
)expr;
1841
LabelTarget label = ((
LabelExpression
)node).Target;
1906
var
label = e as
LabelExpression
;
System\Linq\Expressions\LabelExpression.cs (11)
41
/// The value of the <see cref="
LabelExpression
"/> when the label is reached through
62
public
LabelExpression
Update(LabelTarget target, Expression? defaultValue)
75
/// Creates a <see cref="
LabelExpression
"/> representing a label with no default value.
77
/// <param name="target">The <see cref="LabelTarget"/> which this <see cref="
LabelExpression
"/> will be associated with.</param>
78
/// <returns>A <see cref="
LabelExpression
"/> with no default value.</returns>
79
public static
LabelExpression
Label(LabelTarget target)
85
/// Creates a <see cref="
LabelExpression
"/> representing a label with the given default value.
87
/// <param name="target">The <see cref="LabelTarget"/> which this <see cref="
LabelExpression
"/> will be associated with.</param>
88
/// <param name="defaultValue">The value of this <see cref="
LabelExpression
"/> when the label is reached through normal control flow.</param>
89
/// <returns>A <see cref="
LabelExpression
"/> with the given default value.</returns>
90
public static
LabelExpression
Label(LabelTarget target, Expression? defaultValue)