6 instantiations of SetPropertiesVisitor
Microsoft.Maui.Controls.Build.Tasks (6)
CreateObjectVisitor.cs (1)
56
var visitor = new
SetPropertiesVisitor
(Context);
SetPropertiesVisitor.cs (1)
1840
node.Accept(new
SetPropertiesVisitor
(templateContext, stopOnResourceDictionary: true), null);
SetResourcesVisitor.cs (3)
30
node.Accept(new
SetPropertiesVisitor
(Context, stopOnResourceDictionary: false), parentNode);
55
node.Accept(new
SetPropertiesVisitor
(Context, stopOnResourceDictionary: false), parentNode);
59
node.Accept(new
SetPropertiesVisitor
(Context, stopOnResourceDictionary: false), parentNode);
XamlCTask.cs (1)
443
rootnode.Accept(new
SetPropertiesVisitor
(visitorContext, true), null);
9 references to SetPropertiesVisitor
Microsoft.Maui.Controls.Build.Tasks (9)
CompiledMarkupExtensions\ArrayExtension.cs (1)
32
context.IL.Append(
SetPropertiesVisitor
.ProvideValue(vardefref, context, module, node as ElementNode));
CompiledMarkupExtensions\StaticResourceExtension.cs (4)
114
SetPropertiesVisitor
.TryGetPropertyName(node, node.Parent, out propertyName);
118
var bpRef =
SetPropertiesVisitor
.GetBindablePropertyReference(parentType, propertyName.NamespaceURI, ref localName, out _, context, (IXmlLineInfo)node);
159
SetPropertiesVisitor
.TryGetPropertyName(node, node.Parent, out var propertyName);
174
bpRef =
SetPropertiesVisitor
.GetBindablePropertyReference(parentType,
CreateObjectVisitor.cs (2)
56
var
visitor = new SetPropertiesVisitor(Context);
273
if (
SetPropertiesVisitor
.TryGetPropertyName(node, parentNode, out name))
SetResourcesVisitor.cs (2)
42
if (IsResourceDictionary(node) &&
SetPropertiesVisitor
.TryGetPropertyName(node, parentNode, out propertyName))
46
Context.IL.Append(
SetPropertiesVisitor
.SetPropertyValue(Context.Variables[(IElementNode)parentNode], propertyName, node, Context, node));