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