33 references to NamespaceDeclaration
PresentationFramework (6)
System\Windows\FrameworkTemplate.cs (1)
990
case System.Xaml.XamlNodeType.
NamespaceDeclaration
:
System\Windows\Markup\WpfXamlLoader.cs (1)
194
case System.Xaml.XamlNodeType.
NamespaceDeclaration
:
System\Windows\TemplateContent.cs (4)
715
case System.Xaml.XamlNodeType.
NamespaceDeclaration
:
876
|| xamlReader.NodeType == System.Xaml.XamlNodeType.
NamespaceDeclaration
)
879
if (xamlReader.NodeType == System.Xaml.XamlNodeType.
NamespaceDeclaration
)
882
while (xamlReader.NodeType == System.Xaml.XamlNodeType.
NamespaceDeclaration
)
System.Xaml (18)
System\Xaml\InfosetObjects\XamlNodes.cs (3)
72
case XamlNodeType.
NamespaceDeclaration
:
130
case XamlNodeType.
NamespaceDeclaration
:
164
if (NodeType == XamlNodeType.
NamespaceDeclaration
)
System\Xaml\Parser\NodeStreamSorter.cs (3)
181
case XamlNodeType.
NamespaceDeclaration
:
214
XamlNode node = new XamlNode(XamlNodeType.
NamespaceDeclaration
, new NamespaceDeclaration(uriString, prefix));
503
case XamlNodeType.
NamespaceDeclaration
:
System\Xaml\Parser\XamlPullParser.cs (2)
810
XamlNode addNs = new XamlNode(XamlNodeType.
NamespaceDeclaration
, new NamespaceDeclaration(xamlNs, prefix));
1041
yield return new XamlNode(XamlNodeType.
NamespaceDeclaration
, nsDecl);
System\Xaml\WriterDelegate.cs (1)
66
_addDelegate(XamlNodeType.
NamespaceDeclaration
, namespaceDeclaration);
System\Xaml\XamlObjectReader.cs (5)
2553
return namespaceMapList.ConvertAll<XamlNode>(pair => new XamlNode(XamlNodeType.
NamespaceDeclaration
,
2897
if (reader.NodeType != XamlNodeType.
NamespaceDeclaration
)
2904
nodes.Add(new ValueMarkupInfo{ XamlNode = new XamlNode(XamlNodeType.
NamespaceDeclaration
, reader.Namespace) });
2920
case XamlNodeType.
NamespaceDeclaration
:
2921
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)
27
case XamlNodeType.
NamespaceDeclaration
:
System\Xaml\XamlXmlWriter.cs (2)
896
case XamlNodeType.
NamespaceDeclaration
:
1866
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)]