9 references to _scopes
Microsoft.Maui.Controls.Xaml (9)
NamescopingVisitor.cs (9)
21
public void Visit(ValueNode node, INode parentNode) =>
_scopes
[node] =
_scopes
[parentNode];
22
public void Visit(MarkupNode node, INode parentNode) =>
_scopes
[node] =
_scopes
[parentNode];
25
=>
_scopes
[node] = node.NameScopeRef = (parentNode == null || IsDataTemplate(node, parentNode) || IsStyle(node, parentNode) || IsVisualStateGroupList(node))
27
:
_scopes
[parentNode];
29
public void Visit(RootNode node, INode parentNode) =>
_scopes
[node] = node.NameScopeRef = new NameScopeRef { NameScope = new NameScope() };
32
_scopes
[node] =
_scopes
[parentNode];