2 instantiations of LabelScopeInfo
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\LambdaCompiler.ControlFlow.cs (1)
42
_labelBlock = new
LabelScopeInfo
(_labelBlock, type);
System\Linq\Expressions\Compiler\LambdaCompiler.cs (1)
47
private LabelScopeInfo _labelBlock = new
LabelScopeInfo
(null, LabelScopeKind.Lambda);
19 references to LabelScopeInfo
System.Linq.Expressions (19)
System\Linq\Expressions\Compiler\LabelInfo.cs (16)
38
private readonly HashSet<
LabelScopeInfo
> _definitions = new HashSet<
LabelScopeInfo
>();
41
private readonly List<
LabelScopeInfo
> _references = new List<
LabelScopeInfo
>();
76
internal void Reference(
LabelScopeInfo
block)
87
internal void Define(
LabelScopeInfo
block)
92
for (
LabelScopeInfo
? j = block; j != null; j = j.Parent)
106
foreach (
LabelScopeInfo
r in _references)
127
private void ValidateJump(
LabelScopeInfo
reference)
133
for (
LabelScopeInfo
? j = reference; j != null; j = j.Parent)
164
LabelScopeInfo
def = _definitions.First();
165
LabelScopeInfo
? common = Helpers.CommonNode(def, reference, b => b.Parent!);
171
for (
LabelScopeInfo
? j = reference; j != common; j = j.Parent)
189
for (
LabelScopeInfo
? j = def; j != common; j = j.Parent)
331
internal readonly
LabelScopeInfo
? Parent;
333
internal LabelScopeInfo(
LabelScopeInfo
? parent, LabelScopeKind kind)
System\Linq\Expressions\Compiler\LambdaCompiler.cs (1)
47
private
LabelScopeInfo
_labelBlock = new LabelScopeInfo(null, 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)