2 instantiations of LabelExpression
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
818expr = new LabelExpression(node.Target, expression.Node);
System\Linq\Expressions\LabelExpression.cs (1)
93return 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)
53var node = (LabelExpression)expr; 162LabelTarget label = ((LabelExpression)node).Target; 232var label = e as LabelExpression; 257LabelTarget label = ((LabelExpression)expression).Target;
System\Linq\Expressions\Compiler\StackSpiller.cs (2)
813var node = (LabelExpression)expr;
System\Linq\Expressions\DebugViewWriter.cs (1)
991protected internal override Expression VisitLabel(LabelExpression node)
System\Linq\Expressions\Expression.DebuggerProxy.cs (2)
201private readonly LabelExpression _node; 203public LabelExpressionProxy(LabelExpression node)
System\Linq\Expressions\ExpressionStringBuilder.cs (1)
677protected internal override Expression VisitLabel(LabelExpression node)
System\Linq\Expressions\ExpressionVisitor.cs (2)
327/// Visits the children of the <see cref="LabelExpression"/>. 332protected internal virtual Expression VisitLabel(LabelExpression node)
System\Linq\Expressions\Interpreter\LightCompiler.cs (5)
1726var node = (LabelExpression)expr; 1841LabelTarget label = ((LabelExpression)node).Target; 1906var label = e as LabelExpression;
System\Linq\Expressions\LabelExpression.cs (11)
41/// The value of the <see cref="LabelExpression"/> when the label is reached through 62public 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> 79public 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> 90public static LabelExpression Label(LabelTarget target, Expression? defaultValue)