19 references to NamespaceDeclaration
PresentationFramework (2)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2127NamespaceDeclaration namespaceDeclaration = new NamespaceDeclaration(xamlNs, prefix);
System\Windows\Markup\XmlnsDictionary.cs (1)
278yield return new System.Xaml.NamespaceDeclaration(_nsDeclarations[i].Uri, _nsDeclarations[i].Prefix);
System.Xaml (8)
System\Xaml\Context\XamlCommonFrame.cs (1)
83_namespaceDeclarations.Add(new NamespaceDeclaration(kvp.Value, kvp.Key));
System\Xaml\Context\XamlParserContext.cs (1)
107yield return new NamespaceDeclaration(kvp.Value, kvp.Key);
System\Xaml\Parser\NamespacePrefixLookup.cs (1)
33_newNamespaces.Add(new NamespaceDeclaration(ns, newPrefix));
System\Xaml\Parser\NodeStreamSorter.cs (1)
218XamlNode node = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(uriString, prefix));
System\Xaml\Parser\XamlPullParser.cs (1)
811XamlNode addNs = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(xamlNs, prefix));
System\Xaml\XamlObjectReader.cs (1)
2555new NamespaceDeclaration(pair.Key, pair.Value)));
System\Xaml\XamlXmlWriter.cs (2)
565currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix)); 570currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix));
System.Xaml.Tests (9)
System\Xaml\NamespaceDeclarationTests.cs (1)
17var declaration = new NamespaceDeclaration(ns, prefix);
System\Xaml\XamlBackgroundReaderTests.cs (1)
24NamespaceResult = new NamespaceDeclaration("ns", "prefix"),
System\Xaml\XamlNodeListTests.cs (3)
423var namespaceDeclaration = new NamespaceDeclaration("namespace", "prefix"); 455var namespaceDeclaration = new NamespaceDeclaration("namespace", "prefix"); 487var namespaceDeclaration = new NamespaceDeclaration("namespace", "prefix");
System\Xaml\XamlNodeQueueTests.cs (2)
338var namespaceDeclaration = new NamespaceDeclaration("namespace", "prefix"); 369var namespaceDeclaration = new NamespaceDeclaration("namespace", "prefix");
System\Xaml\XamlReaderTests.cs (1)
62NamespaceResult = new NamespaceDeclaration("ns", "prefix"),
System\Xaml\XamlWriterTests.cs (1)
72NamespaceResult = new NamespaceDeclaration("ns", "prefix")