57 references to XmlName
Microsoft.Maui.Controls.Build.Tasks (28)
CompiledConverters\BindablePropertyConverter.cs (2)
81 => ((node as ElementNode).Properties[new XmlName("", "TargetType")] as ValueNode)?.Value as string; 102 return ((target?.Parent as IElementNode)?.Properties[new XmlName("", "TargetType")] as ValueNode)?.Value as string;
CompiledMarkupExtensions\ArrayExtension.cs (1)
13 var typeNode = node.Properties[new XmlName("", "Type")] as IElementNode;
CompiledMarkupExtensions\DataTemplateExtension.cs (1)
17 var name = new XmlName("", "TypeName");
CompiledMarkupExtensions\StaticExtension.cs (1)
16 if (!node.Properties.TryGetValue(new XmlName("", "Member"), out ntype))
CompiledMarkupExtensions\StaticResourceExtension.cs (2)
17 var name = new XmlName("", "Key"); 29 if (n.Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Resources"), out var resourcesNode))
CompiledMarkupExtensions\TypeExtension.cs (1)
17 var name = new XmlName("", "TypeName");
CompiledValueProviders\SetterValueProvider.cs (3)
15 if (!((IElementNode)node).Properties.TryGetValue(new XmlName("", "Value"), out valueNode) && 16 !((IElementNode)node).Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Value"), out valueNode) && 20 var bpNode = ((ValueNode)((IElementNode)node).Properties[new XmlName("", "Property")]);
CompiledValueProviders\StyleSheetProvider.cs (4)
17 ((IElementNode)node).Properties.TryGetValue(new XmlName("", "Source"), out sourceNode); 19 ((IElementNode)node).Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Source"), out sourceNode); 22 if (!((IElementNode)node).Properties.TryGetValue(new XmlName("", "Style"), out styleNode) && 23 !((IElementNode)node).Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Style"), out styleNode) &&
CreateObjectVisitor.cs (4)
286 if (!enode.Properties.ContainsKey(new XmlName("", propname))) 303 var node = enode.Properties[new XmlName("", propname)]; 304 if (!enode.SkipProperties.Contains(new XmlName("", propname))) 305 enode.SkipProperties.Add(new XmlName("", propname));
ExpandMarkupsVisitor.cs (2)
140 var contentname = new XmlName(null, null); 169 childname = XamlParser.ParsePropertyName(new XmlName(
SetPropertiesVisitor.cs (7)
63 propertyName = new XmlName(((IElementNode)parentNode).NamespaceURI, contentProperty); 146 var name = new XmlName(node.NamespaceURI, contentProperty); 269 var typeNode = node.Properties[new XmlName("", "Type")]; 304 bool hasSource = node.Properties.ContainsKey(new XmlName("", "Source")); 434 if (!node.Properties.TryGetValue(new XmlName("", "Path"), out INode pathNode) && node.CollectionItems.Any()) 437 if (!node.Properties.TryGetValue(new XmlName("", "Mode"), out INode modeNode) 1889 Context.IL.Append(SetPropertyValue(variableDefinition, new XmlName("", runTimeName), node, Context, node));
Microsoft.Maui.Controls.Xaml (29)
ApplyPropertiesVisitor.cs (3)
75 var name = new XmlName(((ElementNode)parentNode).NamespaceURI, contentProperty); 155 var name = new XmlName(node.NamespaceURI, contentProperty); 840 SetPropertyValue(source, new XmlName("", runTimeName.Name), value, Context.RootElement, node, Context, node);
CreateValuesVisitor.cs (2)
219 if (!node.Properties.ContainsKey(new XmlName("", propname))) 317 var name = new XmlName("", propname);
ExpandMarkupsVisitor.cs (2)
138 var contentname = new XmlName(null, null); 160 childname = XamlParser.ParsePropertyName(new XmlName(
RemoveDuplicateDesignNodes.cs (2)
32 var k = new XmlName(XamlParser.MauiUri, key.LocalName); 36 node.Properties.Remove(new XmlName("", k.LocalName));
SimplifyOnPlatformVisitor.cs (2)
52 if (node.Properties.TryGetValue(new XmlName("", Target), out INode targetNode) 53 || node.Properties.TryGetValue(new XmlName("", nameof(OnPlatformExtension.Default)), out targetNode))
SimplifyTypeExtensionVisitor.cs (2)
43 => propertyName == new XmlName("", "TargetType") 60 XmlName typeNameXmlName = new("", "TypeName");
XamlLoader.cs (1)
165 if (!rNode.Properties.TryGetValue(new XmlName(XamlParser.MauiUri, "Resources"), out var resources))
XamlParser.cs (7)
75 name = new XmlName(reader.NamespaceURI, reader.Name.Substring(elementName.Length + 1)); 77 name = new XmlName(reader.NamespaceURI, reader.LocalName); 223 var propertyName = ParsePropertyName(new XmlName(namespaceUri, reader.LocalName)); 252 return new XmlName(null, null); 255 return new XmlName(null, null); 273 return new XmlName(null, null); 280 return new XmlName(null, null);
XmlName.cs (8)
10 public static readonly XmlName _CreateContent = new XmlName("_", "CreateContent"); 11 public static readonly XmlName xKey = new XmlName("x", "Key"); 12 public static readonly XmlName xName = new XmlName("x", "Name"); 13 public static readonly XmlName xTypeArguments = new XmlName("x", "TypeArguments"); 14 public static readonly XmlName xArguments = new XmlName("x", "Arguments"); 15 public static readonly XmlName xFactoryMethod = new XmlName("x", "FactoryMethod"); 16 public static readonly XmlName xDataType = new XmlName("x", "DataType"); 39 => Equals(new XmlName(namespaceUri, localName));