1 write to Scopes
Microsoft.Maui.Controls.Build.Tasks (1)
ILContext.cs (1)
18
Scopes
= new Dictionary<INode, Tuple<VariableDefinition, IList<string>>>();
15 references to Scopes
Microsoft.Maui.Controls.Build.Tasks (15)
NodeILExtensions.cs (1)
585
if (context.
Scopes
.TryGetValue(node, out var scope))
SetNamescopesAndRegisterNamesVisitor.cs (12)
32
Context.
Scopes
[node] = Context.
Scopes
[parentNode];
35
RegisterName((string)node.Value, Context.
Scopes
[node].Item1, Context.
Scopes
[node].Item2, Context.Variables[(IElementNode)parentNode], node);
41
Context.
Scopes
[node] = Context.
Scopes
[parentNode];
57
namescopeVarDef = Context.
Scopes
[parentNode].Item1;
58
namesInNamescope = Context.
Scopes
[parentNode].Item2;
74
Context.
Scopes
[node] = new Tuple<VariableDefinition, IList<string>>(namescopeVarDef, namesInNamescope);
83
Context.
Scopes
[node] = new System.Tuple<VariableDefinition, IList<string>>(namescopeVarDef, namesInNamescope);
88
Context.
Scopes
[node] = Context.
Scopes
[parentNode];
SetPropertiesVisitor.cs (2)
1817
foreach (var kvp in parentContext.
Scopes
)
1832
templateContext.
Scopes
[kvp.Key] = new Tuple<VariableDefinition, IList<string>>(varDefScope, kvp.Value.Item2);