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