15 references to Prefix
PresentationFramework (1)
System\Windows\Markup\WpfXamlLoader.cs (1)
223
stack.CurrentFrame.XmlnsDictionary.Add(xamlReader.Namespace.
Prefix
, xamlReader.Namespace.Namespace);
System.Xaml (13)
System\Xaml\Context\ObjectWriterContext.cs (1)
252
if (keys.Add(namespaceDeclaration.
Prefix
))
System\Xaml\Context\XamlParserContext.cs (1)
91
if (keys.Add(namespaceDeclaration.
Prefix
))
System\Xaml\InfosetObjects\XamlObjectWriter.cs (3)
897
if(namespaceDeclaration.
Prefix
is null)
925
string err = SR.Format(SR.NoPropertyInCurrentFrame_NS, namespaceDeclaration.
Prefix
,
937
_context.AddNamespacePrefix(namespaceDeclaration.
Prefix
, namespaceDeclaration.Namespace);
System\Xaml\XamlObjectReader.cs (3)
2587
if (prefixToNamespaceMap.TryGetValue(namespaceDeclaration.
Prefix
, out ns))
2597
namespaceToPrefixMap.Add(namespaceDeclaration.Namespace, namespaceDeclaration.
Prefix
);
2598
prefixToNamespaceMap.Add(namespaceDeclaration.
Prefix
, namespaceDeclaration.Namespace);
System\Xaml\XamlXmlWriter.cs (5)
230
if (namespaceDeclaration.
Prefix
is null)
240
if (namespaceDeclaration.
Prefix
== "xml")
959
writer.AssignNamespacePrefix(namespaceDeclaration.Namespace, namespaceDeclaration.
Prefix
);
1018
writer.AssignNamespacePrefix(namespaceDeclaration.Namespace, namespaceDeclaration.
Prefix
);
1252
writer.AssignNamespacePrefix(namespaceDeclaration.Namespace, namespaceDeclaration.
Prefix
);
System.Xaml.Tests (1)
System\Xaml\NamespaceDeclarationTests.cs (1)
19
Assert.Equal(prefix, declaration.
Prefix
);