7 overrides of NodeType
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
169public override XamlNodeType NodeType
System.Xaml (5)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
277public override XamlNodeType NodeType
System\Xaml\ReaderBaseDelegate.cs (1)
26public override XamlNodeType NodeType
System\Xaml\XamlBackgroundReader.cs (1)
275public override XamlNodeType NodeType
System\Xaml\XamlObjectReader.cs (1)
120public override XamlNodeType NodeType
System\Xaml\XamlSubreader.cs (1)
41public override XamlNodeType NodeType
System.Xaml.Tests (1)
Common\SubXamlReader.cs (1)
25public override XamlNodeType NodeType => NodeTypes[CurrentIndex];
73 references to NodeType
PresentationFramework (29)
System\Windows\FrameworkTemplate.cs (1)
987switch (templateReader.NodeType)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
160_xamlNodesReader.NodeType != XamlNodeType.EndObject) 171get { return _xamlNodesReader.NodeType; } 2685switch(reader.NodeType)
System\Windows\Markup\WpfXamlLoader.cs (2)
192switch (xamlReader.NodeType) 281switch (xamlReader.NodeType)
System\Windows\Markup\XamlReader.cs (4)
406if (xamlReader.NodeType == System.Xaml.XamlNodeType.StartMember) 417else if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value) 438else if (xamlReader.NodeType == System.Xaml.XamlNodeType.EndMember) 599if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value && _stack.CurrentFrame.Property == synchronousRecordProperty)
System\Windows\ResourceDictionary.cs (5)
1165if (reader.NodeType == Xaml.XamlNodeType.StartObject && reader.Type == xamlTypeStaticResourceExtension) 1169while (reader.NodeType == Xaml.XamlNodeType.StartMember && 1176if (reader.NodeType == Xaml.XamlNodeType.StartMember) 1180if (reader.NodeType == Xaml.XamlNodeType.StartObject) 1186else if (reader.NodeType == Xaml.XamlNodeType.Value)
System\Windows\TemplateContent.cs (14)
403switch (xamlReader.NodeType) 748Debug.Assert(xamlReader.NodeType == Xaml.XamlNodeType.StartObject); 757switch (xamlReader.NodeType) 794Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.StartMember); 829if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value) 875else if (xamlReader.NodeType == System.Xaml.XamlNodeType.StartObject 876|| xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 879if (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 882while (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 889Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.StartObject); 938switch (xamlReader.NodeType) 1000else if (xamlReader.NodeType == System.Xaml.XamlNodeType.GetObject) 1039System.Xaml.XamlNodeType nodeType = reader.NodeType; 1147Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.EndMember);
System.Xaml (15)
System\Xaml\XamlBackgroundReader.cs (1)
277get { return _internalReader.NodeType; }
System\Xaml\XamlObjectReader.cs (7)
2895while (reader.Read() && reader.NodeType != XamlNodeType.StartObject) 2897if (reader.NodeType != XamlNodeType.NamespaceDeclaration) 2899throw new XamlObjectReaderException(SR.Format(SR.XamlFactoryInvalidXamlNode, reader.NodeType)); 2908if (reader.NodeType != XamlNodeType.StartObject) 2910throw new XamlObjectReaderException(SR.Format(SR.XamlFactoryInvalidXamlNode, reader.NodeType)); 2918switch (reader.NodeType) 2949throw new InvalidOperationException(SR.Format(SR.XamlFactoryInvalidXamlNode, reader.NodeType));
System\Xaml\XamlReader.cs (3)
27switch (NodeType) 82if (NodeType != startNodeType) 91XamlNodeType nodeType = NodeType;
System\Xaml\XamlSubreader.cs (3)
24_rootIsStartMember = (reader.NodeType == XamlNodeType.StartMember); 43get { return IsEmpty ? XamlNodeType.None : _reader.NodeType; } 128XamlNodeType nodeType = _reader.NodeType;
System\Xaml\XamlWriter.cs (1)
25switch (reader.NodeType)
System.Xaml.Tests (29)
System\Xaml\XamlNodeListTests.cs (17)
52Assert.Equal(XamlNodeType.None, reader.NodeType); 78Assert.Equal(XamlNodeType.GetObject, reader.NodeType); 88Assert.Equal(XamlNodeType.EndObject, reader.NodeType); 98Assert.Equal(XamlNodeType.None, reader.NodeType); 134Assert.Equal(XamlNodeType.EndObject, reader.NodeType); 158Assert.Equal(XamlNodeType.None, reader.NodeType); 182Assert.Equal(XamlNodeType.None, reader.NodeType); 250Assert.Equal(XamlNodeType.GetObject, reader.NodeType); 280Assert.Equal(XamlNodeType.StartObject, reader.NodeType); 310Assert.Equal(XamlNodeType.EndObject, reader.NodeType); 340Assert.Equal(XamlNodeType.StartMember, reader.NodeType); 370Assert.Equal(XamlNodeType.EndMember, reader.NodeType); 400Assert.Equal(XamlNodeType.Value, reader.NodeType); 431Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 469Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 501Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 527Assert.Equal(XamlNodeType.None, reader.NodeType);
System\Xaml\XamlNodeQueueTests.cs (10)
37Assert.Equal(XamlNodeType.None, reader.NodeType); 66Assert.Equal(XamlNodeType.None, reader.NodeType); 106Assert.Equal(XamlNodeType.GetObject, reader.NodeType); 173Assert.Equal(XamlNodeType.EndObject, reader.NodeType); 240Assert.Equal(XamlNodeType.EndMember, reader.NodeType); 276Assert.Equal(XamlNodeType.Value, reader.NodeType); 351Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 382Assert.Equal(XamlNodeType.NamespaceDeclaration, reader.NodeType); 407Assert.Equal(XamlNodeType.None, reader.NodeType); 436Assert.Equal(XamlNodeType.None, reader.NodeType);
System\Xaml\XamlReaderTests.cs (2)
70Assert.Equal(XamlNodeType.None, subReader.NodeType); 79Assert.Equal(reader.NodeType, subReader.NodeType);