1 write to NamespaceUri
Microsoft.Maui.Controls.Xaml (1)
XamlNode.cs (1)
49
NamespaceUri
= namespaceUri;
24 references to NamespaceUri
Microsoft.Maui.Controls.Build.Tasks (10)
CompiledConverters\BindablePropertyConverter.cs (7)
37
if ((node.Parent as ElementNode)?.XmlType.
NamespaceUri
== XamlParser.MauiUri
41
if (parent.XmlType.
NamespaceUri
== XamlParser.MauiUri &&
49
else if (parent.XmlType.
NamespaceUri
== XamlParser.MauiUri && parent.XmlType.Name == nameof(VisualState))
54
else if ((node.Parent as ElementNode)?.XmlType.
NamespaceUri
== XamlParser.MauiUri && (node.Parent as ElementNode)?.XmlType.Name == nameof(Trigger))
89
if (!(parent.Parent is IElementNode target) || target.XmlType.
NamespaceUri
!= XamlParser.MauiUri || target.XmlType.Name != nameof(VisualStateGroup))
94
|| ((target.Parent as IElementNode)?.XmlType.
NamespaceUri
== XamlParser.MauiUri
101
if (target.XmlType.
NamespaceUri
== XamlParser.MauiUri && target.XmlType.Name == nameof(Setter))
SetPropertiesVisitor.cs (2)
468
&& n.XmlType.
NamespaceUri
== XamlParser.MauiUri)
490
&& enode.XmlType.
NamespaceUri
== XamlParser.X2009Uri
XmlTypeExtensions.cs (1)
97
throw new BuildException(BuildExceptionCode.TypeResolution, xmlInfo, null, $"{xmlType.
NamespaceUri
}:{xmlType.Name}");
Microsoft.Maui.Controls.Xaml (14)
SimplifyOnPlatformVisitor.cs (1)
50
if (node.XmlType.Name == nameof(OnPlatformExtension) && node.XmlType.
NamespaceUri
== XamlParser.MauiUri)
SimplifyTypeExtensionVisitor.cs (5)
51
static bool IsStyle(XmlType type) => type.Name == nameof(Style) && type.
NamespaceUri
== XamlParser.MauiUri;
52
static bool IsTrigger(XmlType type) => type.Name == nameof(Trigger) && type.
NamespaceUri
== XamlParser.MauiUri;
53
static bool IsDataTrigger(XmlType type) => type.Name == nameof(DataTrigger) && type.
NamespaceUri
== XamlParser.MauiUri;
54
static bool IsMultiTrigger(XmlType type) => type.Name == nameof(MultiTrigger) && type.
NamespaceUri
== XamlParser.MauiUri;
58
if (node.XmlType.Name == nameof(TypeExtension) && node.XmlType.
NamespaceUri
== XamlParser.X2009Uri)
XamlLoader.cs (1)
173
if (resources is ElementNode resourcesEN && (resourcesEN.XmlType.
NamespaceUri
!= XamlParser.MauiUri || resourcesEN.XmlType.Name != nameof(ResourceDictionary)))
XamlNode.cs (4)
66
NamespaceUri
== other.
NamespaceUri
&&
80
int hashCode =
NamespaceUri
.GetHashCode(StringComparison.Ordinal);
228
protected RootNode(XmlType xmlType, IXmlNamespaceResolver nsResolver, int linenumber = -1, int lineposition = -1) : base(xmlType, xmlType.
NamespaceUri
, nsResolver, linenumber: linenumber, lineposition: lineposition)
XamlParser.cs (2)
102
else if (node.XmlType.
NamespaceUri
== MauiUri &&
431
exception = new XamlParseException($"Type {xmlType.Name} not found in xmlns {xmlType.
NamespaceUri
}", xmlInfo);
XmlTypeXamlExtensions.cs (1)
44
var namespaceURI = xmlType.
NamespaceUri
;