10 instantiations of NamespaceDeclaration
PresentationFramework (2)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
2120NamespaceDeclaration namespaceDeclaration = new NamespaceDeclaration(xamlNs, prefix);
System\Windows\Markup\XmlnsDictionary.cs (1)
279yield return new System.Xaml.NamespaceDeclaration(_nsDeclarations[i].Uri, _nsDeclarations[i].Prefix);
System.Xaml (8)
System\Xaml\Context\XamlCommonFrame.cs (1)
88_namespaceDeclarations.Add(new NamespaceDeclaration(kvp.Value, kvp.Key));
System\Xaml\Context\XamlParserContext.cs (1)
103yield return new NamespaceDeclaration(kvp.Value, kvp.Key);
System\Xaml\Parser\NamespacePrefixLookup.cs (1)
31_newNamespaces.Add(new NamespaceDeclaration(ns, newPrefix));
System\Xaml\Parser\NodeStreamSorter.cs (1)
212XamlNode node = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(uriString, prefix));
System\Xaml\Parser\XamlPullParser.cs (1)
770XamlNode addNs = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(xamlNs, prefix));
System\Xaml\XamlObjectReader.cs (1)
2540new NamespaceDeclaration(pair.Key, pair.Value)));
System\Xaml\XamlXmlWriter.cs (2)
556currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix)); 561currentState.WriteNamespace(this, new NamespaceDeclaration(chosenNamespace, prefix));
62 references to NamespaceDeclaration
PresentationFramework (17)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (2)
179override public NamespaceDeclaration Namespace 2120NamespaceDeclaration namespaceDeclaration = new NamespaceDeclaration(xamlNs, prefix);
System\Windows\Markup\XmlnsDictionary.cs (1)
273public System.Collections.Generic.IEnumerable<System.Xaml.NamespaceDeclaration> GetNamespacePrefixes()
System\Windows\TemplateContent.cs (14)
29private FrugalObjectList<System.Xaml.NamespaceDeclaration> _namespaces; 85public FrugalObjectList<System.Xaml.NamespaceDeclaration> Namespaces 91_namespaces = new FrugalObjectList<System.Xaml.NamespaceDeclaration>(); 138public void AddNamespace(System.Xaml.NamespaceDeclaration nsd) 162public FrugalObjectList<System.Xaml.NamespaceDeclaration> InScopeNamespaces 166FrugalObjectList<System.Xaml.NamespaceDeclaration> allNamespaces = null; 175allNamespaces = new FrugalObjectList<System.Xaml.NamespaceDeclaration>(); 795FrugalObjectList<System.Xaml.NamespaceDeclaration> previousNamespaces, 882FrugalObjectList<System.Xaml.NamespaceDeclaration> localNamespaces = null; 885localNamespaces = new FrugalObjectList<Xaml.NamespaceDeclaration>(); 1189FrugalObjectList<System.Xaml.NamespaceDeclaration> previousNamespaces, 1190FrugalObjectList<System.Xaml.NamespaceDeclaration> localNamespaces) 1457FrugalObjectList<NamespaceDeclaration> namespaces = Frames.InScopeNamespaces; 1472IEnumerable<NamespaceDeclaration> IXamlNamespaceResolver.GetNamespacePrefixes()
System.Xaml (45)
System\Xaml\Context\ObjectWriterContext.cs (2)
233public override IEnumerable<NamespaceDeclaration> GetNamespacePrefixes() 242foreach (NamespaceDeclaration namespaceDeclaration in frame.GetNamespacePrefixes())
System\Xaml\Context\ServiceProviderContext.cs (1)
255IEnumerable<NamespaceDeclaration> IXamlNamespaceResolver.GetNamespacePrefixes()
System\Xaml\Context\XamlCommonFrame.cs (3)
83public IEnumerable<NamespaceDeclaration> GetNamespacePrefixes() 85List<NamespaceDeclaration> _namespaceDeclarations = new List<NamespaceDeclaration>();
System\Xaml\Context\XamlContext.cs (1)
212abstract public IEnumerable<NamespaceDeclaration> GetNamespacePrefixes();
System\Xaml\Context\XamlParserContext.cs (2)
78public override IEnumerable<NamespaceDeclaration> GetNamespacePrefixes() 86foreach (NamespaceDeclaration namespaceDeclaration in frame.GetNamespacePrefixes())
System\Xaml\InfosetObjects\DeferredWriter.cs (1)
223public override void WriteNamespace(NamespaceDeclaration namespaceDeclaration)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
74Debug.Assert(data is NamespaceDeclaration, "XamlNode ctor, NamespaceDeclaration data is not a NamespaceDeclaration"); 159public NamespaceDeclaration NamespaceDeclaration 165return (NamespaceDeclaration)_data;
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
871public override void WriteNamespace(NamespaceDeclaration namespaceDeclaration)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
279public override NamespaceDeclaration Namespace
System\Xaml\IXamlNamespaceResolver.cs (1)
12IEnumerable<NamespaceDeclaration> GetNamespacePrefixes();
System\Xaml\Parser\NamespacePrefixLookup.cs (3)
13private readonly List<NamespaceDeclaration> _newNamespaces; 15public NamespacePrefixLookup(out IEnumerable<NamespaceDeclaration> newNamespaces, Func<string, string> nsResolver) 17newNamespaces = _newNamespaces = new List<NamespaceDeclaration>();
System\Xaml\Parser\XamlPullParser.cs (2)
987IEnumerable<NamespaceDeclaration> newNamespaces = null; 992foreach (NamespaceDeclaration nsDecl in newNamespaces)
System\Xaml\ReaderBaseDelegate.cs (1)
37public override NamespaceDeclaration Namespace
System\Xaml\WriterDelegate.cs (1)
64public override void WriteNamespace(NamespaceDeclaration namespaceDeclaration)
System\Xaml\XamlBackgroundReader.cs (1)
275public override NamespaceDeclaration Namespace
System\Xaml\XamlMarkupExtensionWriter.cs (2)
168public override void WriteNamespace(NamespaceDeclaration namespaceDeclaration) 244public virtual void WriteNamespace(XamlMarkupExtensionWriter writer, NamespaceDeclaration namespaceDeclaration)
System\Xaml\XamlObjectReader.cs (2)
129public override NamespaceDeclaration Namespace 2566public bool TryHoistNamespaceDeclaration(NamespaceDeclaration namespaceDeclaration)
System\Xaml\XamlReader.cs (1)
18public abstract NamespaceDeclaration Namespace { get; }
System\Xaml\XamlSubreader.cs (1)
51public override NamespaceDeclaration Namespace
System\Xaml\XamlWriter.cs (1)
18public abstract void WriteNamespace(NamespaceDeclaration namespaceDeclaration);
System\Xaml\XamlXmlWriter.cs (14)
223public override void WriteNamespace(NamespaceDeclaration namespaceDeclaration) 794public virtual void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 938public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 985public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1109public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1221public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1408public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1451public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1499public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1570public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1628public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1673public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1715public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration) 1843public override void WriteNamespace(XamlXmlWriter writer, NamespaceDeclaration namespaceDeclaration)