2 writes to _labelBlock
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\LambdaCompiler.ControlFlow.cs (2)
42
_labelBlock
= new LabelScopeInfo(_labelBlock, type);
48
_labelBlock
= _labelBlock.Parent!;
21 references to _labelBlock
System.Linq.Expressions (21)
System\Linq\Expressions\Compiler\LambdaCompiler.ControlFlow.cs (16)
25
result.Reference(
_labelBlock
);
36
result.Define(
_labelBlock
);
42
_labelBlock = new LabelScopeInfo(
_labelBlock
, type);
47
Debug.Assert(
_labelBlock
!= null &&
_labelBlock
.Kind == kind);
48
_labelBlock =
_labelBlock
.Parent!;
61
if (
_labelBlock
.Kind == LabelScopeKind.Block)
63
_labelBlock
.TryGetLabelInfo(node.Target, out label);
66
if (label == null &&
_labelBlock
.Parent!.Kind == LabelScopeKind.Switch)
68
_labelBlock
.Parent.TryGetLabelInfo(node.Target, out label);
150
if (
_labelBlock
.Kind != LabelScopeKind.Expression)
160
if (
_labelBlock
.Kind == LabelScopeKind.Block)
163
if (
_labelBlock
.ContainsTarget(label))
167
if (
_labelBlock
.Parent!.Kind == LabelScopeKind.Switch &&
168
_labelBlock
.Parent.ContainsTarget(label))
185
if (
_labelBlock
.Parent!.Kind != LabelScopeKind.Switch)
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (1)
162
PopLabelBlock(
_labelBlock
.Kind);
System\Linq\Expressions\Compiler\LambdaCompiler.Lambda.cs (2)
246
Debug.Assert(
_labelBlock
.Parent == null &&
_labelBlock
.Kind == LabelScopeKind.Lambda);
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (2)
765
for (LabelScopeInfo? j =
_labelBlock
; j != null; j = j.Parent)
785
for (LabelScopeInfo? j =
_labelBlock
; j != null; j = j.Parent)