3 instantiations of LabelInfo
System.Core (3)
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (3)
32
_labelInfo.Add(node, result = new
LabelInfo
(_ilg, node, false));
45
return new
LabelInfo
(_ilg, null, false);
239
_labelInfo.Add(label, new
LabelInfo
(_ilg, label, TypeUtils.AreReferenceAssignable(lambda.ReturnType, label.Type)));
18 references to LabelInfo
System.Core (18)
Microsoft\Scripting\Compiler\LabelInfo.cs (4)
308
private Dictionary<LabelTarget,
LabelInfo
> Labels; // lazily allocated, we typically use this only once every 6th-7th block
342
internal bool TryGetLabelInfo(LabelTarget target, out
LabelInfo
info) {
351
internal void AddLabelInfo(LabelTarget target,
LabelInfo
info) {
355
Labels = new Dictionary<LabelTarget,
LabelInfo
>();
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (8)
29
private
LabelInfo
EnsureLabel(LabelTarget node) {
30
LabelInfo
result;
37
private
LabelInfo
ReferenceLabel(LabelTarget node) {
38
LabelInfo
result = EnsureLabel(node);
43
private
LabelInfo
DefineLabel(LabelTarget node) {
47
LabelInfo
result = EnsureLabel(node);
69
LabelInfo
label = null;
101
var
labelInfo = ReferenceLabel(node.Target);
Microsoft\Scripting\Compiler\LambdaCompiler.cs (2)
58
private readonly Dictionary<LabelTarget,
LabelInfo
> _labelInfo = new Dictionary<LabelTarget,
LabelInfo
>();
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
197
foreach (
LabelInfo
label in _labelInfo.Values) {
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (3)
143
LabelInfo
breakTarget = DefineLabel(node.BreakLabel);
144
LabelInfo
continueTarget = DefineLabel(node.ContinueLabel);
414
LabelInfo
jumpInfo = ReferenceLabel(jump.Target);