13 instantiations of XmlnsPrefixAttribute
PresentationCore (5)
OtherAssemblyAttrs.cs (5)
38
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "av")]
43
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml", "x")]
54
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/xps/2005/06", "xps")]
66
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2007/xaml/presentation", "wpf")]
78
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2009/xaml/presentation", "wpf")]
PresentationFramework (5)
OtherAssemblyAttrs.cs (5)
72
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "av")]
85
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2007/xaml/presentation", "wpf")]
97
[assembly: System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/netfx/2009/xaml/presentation", "wpf")]
100
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/winfx/2006/xaml", "x")]
111
[assembly:System.Windows.Markup.
XmlnsPrefix
("http://schemas.microsoft.com/xps/2005/06", "metro")]
System.Xaml.Tests (3)
System\Windows\Markup\XmlnsPrefixAttributeTests.cs (3)
16
var attribute = new
XmlnsPrefixAttribute
(xmlNamespace, prefix);
24
Assert.Throws<ArgumentNullException>("xmlNamespace", () => new
XmlnsPrefixAttribute
(null!, "prefix"));
30
Assert.Throws<ArgumentNullException>("prefix", () => new
XmlnsPrefixAttribute
("xmlNamespace", null!));
7 references to XmlnsPrefixAttribute
PresentationFramework (2)
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1566
foreach (
XmlnsPrefixAttribute
prefix in assembly.GetCustomAttributes(typeof(
XmlnsPrefixAttribute
), true))
System.Xaml (4)
System\Xaml\MS\Impl\XmlNsInfo.cs (4)
354
if (LooseTypeExtensions.AssemblyQualifiedNameEquals(cad.Constructor.DeclaringType, typeof(
XmlnsPrefixAttribute
)))
364
Attribute[] attributes = Attribute.GetCustomAttributes(assembly, typeof(
XmlnsPrefixAttribute
));
367
XmlnsPrefixAttribute
xmlnsPrefixAttr = (
XmlnsPrefixAttribute
)attr;
System.Xaml.Tests (1)
System\Windows\Markup\XmlnsPrefixAttributeTests.cs (1)
16
var
attribute = new XmlnsPrefixAttribute(xmlNamespace, prefix);