26 instantiations of XmlnsPrefixAttribute
PresentationCore (5)
OtherAssemblyAttrs.cs (5)
36[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "av")] 41[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/winfx/2006/xaml", "x")] 52[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/xps/2005/06", "xps")] 64[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/netfx/2007/xaml/presentation", "wpf")] 76[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/netfx/2009/xaml/presentation", "wpf")]
PresentationFramework (5)
OtherAssemblyAttrs.cs (5)
66[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "av")] 79[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/netfx/2007/xaml/presentation", "wpf")] 91[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/netfx/2009/xaml/presentation", "wpf")] 94[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/winfx/2006/xaml", "x")] 105[assembly: System.Windows.Markup.XmlnsPrefix("http://schemas.microsoft.com/xps/2005/06", "metro")]
System.Xaml.Tests (16)
System\Windows\Markup\XmlnsPrefixAttributeTests.cs (3)
15var attribute = new XmlnsPrefixAttribute(xmlNamespace, prefix); 23Assert.Throws<ArgumentNullException>("xmlNamespace", () => new XmlnsPrefixAttribute(null!, "prefix")); 29Assert.Throws<ArgumentNullException>("prefix", () => new XmlnsPrefixAttribute("xmlNamespace", null!));
System\Xaml\XamlSchemaContextTests.cs (13)
148new XmlnsPrefixAttribute("namespace", "prefix"), 149new XmlnsPrefixAttribute("doubleNamespace1", "doublePrefix"), 150new XmlnsPrefixAttribute("doubleNamespace2", "doublePrefix"), 151new XmlnsPrefixAttribute("sameNamespace", "prefix1"), 152new XmlnsPrefixAttribute("sameNamespace", "prefix2"), 153new XmlnsPrefixAttribute("longerAssemblyNamespace", "longerAssemblyPrefix"), 154new XmlnsPrefixAttribute("shorterAssemblyNamespace", "shorterAssemblyPrefix"), 155new XmlnsPrefixAttribute("greaterAssemblyNamespace", "greaterAssemblyPrefix2"), 156new XmlnsPrefixAttribute("lesserAssemblyNamespace", "lesserAssemblyPrefix1") 169new XmlnsPrefixAttribute("longerAssemblyNamespace", "longerAssemblyPrefix2"), 170new XmlnsPrefixAttribute("shorterAssemblyNamespace", "shorterAssemblyPrefi"), 171new XmlnsPrefixAttribute("greaterAssemblyNamespace", "greaterAssemblyPrefix1"), 172new XmlnsPrefixAttribute("lesserAssemblyNamespace", "lesserAssemblyPrefix2"),
15 references to XmlnsPrefixAttribute
PresentationFramework (2)
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
1561foreach (XmlnsPrefixAttribute prefix in assembly.GetCustomAttributes(typeof(XmlnsPrefixAttribute), true))
System.Xaml (4)
System\Xaml\MS\Impl\XmlNsInfo.cs (4)
371if (LooseTypeExtensions.AssemblyQualifiedNameEquals(cad.Constructor.DeclaringType, typeof(XmlnsPrefixAttribute))) 381Attribute[] attributes = Attribute.GetCustomAttributes(assembly, typeof(XmlnsPrefixAttribute)); 384XmlnsPrefixAttribute xmlnsPrefixAttr = (XmlnsPrefixAttribute)attr;
System.Xaml.Tests (9)
System\Windows\Markup\XmlnsPrefixAttributeTests.cs (1)
15var attribute = new XmlnsPrefixAttribute(xmlNamespace, prefix);
System\Xaml\XamlSchemaContextTests.cs (8)
145typeof(XmlnsPrefixAttribute), 166typeof(XmlnsPrefixAttribute), 191typeof(XmlnsPrefixAttribute).GetConstructors()[0], 206ConstructorInfo constructor = typeof(XmlnsPrefixAttribute).GetConstructors()[0]; 324ConstructorResult = typeof(XmlnsPrefixAttribute).GetConstructors()[0], 340{ typeof(XmlnsPrefixAttribute), null } 354{ typeof(XmlnsPrefixAttribute), new object[] { new XmlnsDefinitionAttribute("xmlNamespace", "clrNamespace") } } 368{ typeof(XmlnsPrefixAttribute), new Attribute?[] { null } }