12 references to Namespace
PresentationFramework (1)
System\Windows\Markup\WpfXamlLoader.cs (1)
220
stack.CurrentFrame.XmlnsDictionary.Add(xamlReader.Namespace.Prefix, xamlReader.Namespace.
Namespace
);
System.Xaml (10)
System\Xaml\InfosetObjects\XamlObjectWriter.cs (3)
902
if(namespaceDeclaration.
Namespace
is null)
926
namespaceDeclaration.
Namespace
,
937
_context.AddNamespacePrefix(namespaceDeclaration.Prefix, namespaceDeclaration.
Namespace
);
System\Xaml\XamlObjectReader.cs (3)
2586
if (ns == namespaceDeclaration.
Namespace
)
2594
namespaceToPrefixMap.Add(namespaceDeclaration.
Namespace
, namespaceDeclaration.Prefix);
2595
prefixToNamespaceMap.Add(namespaceDeclaration.Prefix, namespaceDeclaration.
Namespace
);
System\Xaml\XamlXmlWriter.cs (4)
235
if (namespaceDeclaration.
Namespace
is null)
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)
18
Assert.Equal(ns, declaration.
Namespace
);