13 instantiations of XmlnsPrefixAttribute
PresentationCore (5)
OtherAssemblyAttrs.cs (5)
37
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "av")]
42
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml", "x")]
53
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/xps/2005/06", "xps")]
65
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2007/xaml/presentation", "wpf")]
77
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2009/xaml/presentation", "wpf")]
PresentationFramework (5)
OtherAssemblyAttrs.cs (5)
67
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "av")]
80
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2007/xaml/presentation", "wpf")]
92
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2009/xaml/presentation", "wpf")]
95
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml", "x")]
106
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/xps/2005/06", "metro")]
System.Xaml.Tests (3)
System\Windows\Markup\XmlnsPrefixAttributeTests.cs (3)
15
var attribute = new
XmlnsPrefixAttribute
(xmlNamespace, prefix);
23
Assert.Throws<ArgumentNullException>("xmlNamespace", () => new
XmlnsPrefixAttribute
(null!, "prefix"));
29
Assert.Throws<ArgumentNullException>("prefix", () => new
XmlnsPrefixAttribute
("xmlNamespace", null!));
7 references to XmlnsPrefixAttribute
PresentationFramework (2)
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1559
foreach (
XmlnsPrefixAttribute
prefix in assembly.GetCustomAttributes(typeof(
XmlnsPrefixAttribute
), true))
System.Xaml (4)
System\Xaml\MS\Impl\XmlNsInfo.cs (4)
352
if (LooseTypeExtensions.AssemblyQualifiedNameEquals(cad.Constructor.DeclaringType, typeof(
XmlnsPrefixAttribute
)))
362
Attribute[] attributes = Attribute.GetCustomAttributes(assembly, typeof(
XmlnsPrefixAttribute
));
365
XmlnsPrefixAttribute
xmlnsPrefixAttr = (
XmlnsPrefixAttribute
)attr;
System.Xaml.Tests (1)
System\Windows\Markup\XmlnsPrefixAttributeTests.cs (1)
15
var
attribute = new XmlnsPrefixAttribute(xmlNamespace, prefix);