33 references to NamespaceDeclaration
PresentationFramework (6)
System\Windows\FrameworkTemplate.cs (1)
992case System.Xaml.XamlNodeType.NamespaceDeclaration:
System\Windows\Markup\WpfXamlLoader.cs (1)
195case System.Xaml.XamlNodeType.NamespaceDeclaration:
System\Windows\TemplateContent.cs (4)
718case System.Xaml.XamlNodeType.NamespaceDeclaration: 879|| xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 882if (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 885while (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration)
System.Xaml (18)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
73case XamlNodeType.NamespaceDeclaration: 131case XamlNodeType.NamespaceDeclaration: 165if (NodeType == XamlNodeType.NamespaceDeclaration)
System\Xaml\Parser\NodeStreamSorter.cs (3)
185case XamlNodeType.NamespaceDeclaration: 218XamlNode node = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(uriString, prefix)); 507case XamlNodeType.NamespaceDeclaration:
System\Xaml\Parser\XamlPullParser.cs (2)
811XamlNode addNs = new XamlNode(XamlNodeType.NamespaceDeclaration, new NamespaceDeclaration(xamlNs, prefix)); 1042yield return new XamlNode(XamlNodeType.NamespaceDeclaration, nsDecl);
System\Xaml\WriterDelegate.cs (1)
67_addDelegate(XamlNodeType.NamespaceDeclaration, namespaceDeclaration);
System\Xaml\XamlObjectReader.cs (5)
2554return namespaceMapList.ConvertAll<XamlNode>(pair => new XamlNode(XamlNodeType.NamespaceDeclaration, 2898if (reader.NodeType != XamlNodeType.NamespaceDeclaration) 2905nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) }); 2921case XamlNodeType.NamespaceDeclaration: 2922nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.NamespaceDeclaration, reader.Namespace) });
System\Xaml\XamlReader.cs (1)
29case XamlNodeType.NamespaceDeclaration:
System\Xaml\XamlWriter.cs (1)
28case XamlNodeType.NamespaceDeclaration:
System\Xaml\XamlXmlWriter.cs (2)
899case XamlNodeType.NamespaceDeclaration: 1884writer.meNodesStack.Peek().Add(new XamlNode(XamlNodeType.NamespaceDeclaration, namespaceDeclaration));
System.Xaml.Tests (9)
System\Xaml\XamlNodeListTests.cs (3)
431Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 469Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 501Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType);
System\Xaml\XamlNodeQueueTests.cs (2)
351Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 382Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType);
System\Xaml\XamlReaderTests.cs (2)
19[InlineData(XamlNodeType.NamespaceDeclaration)] 20[InlineData(XamlNodeType.NamespaceDeclaration + 1)]
System\Xaml\XamlWriterTests.cs (2)
70var reader = new SubXamlReader(XamlNodeType.NamespaceDeclaration) 87[InlineData(XamlNodeType.NamespaceDeclaration + 1)]