7 overrides of NodeType
PresentationFramework (1)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
170override public XamlNodeType NodeType
System.Xaml (5)
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
278public override XamlNodeType NodeType
System\Xaml\ReaderBaseDelegate.cs (1)
27public override XamlNodeType NodeType
System\Xaml\XamlBackgroundReader.cs (1)
278public override XamlNodeType NodeType
System\Xaml\XamlObjectReader.cs (1)
121public override XamlNodeType NodeType
System\Xaml\XamlSubreader.cs (1)
42public 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)
989switch (templateReader.NodeType)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (3)
161_xamlNodesReader.NodeType != XamlNodeType.EndObject) 172get { return _xamlNodesReader.NodeType; } 2686switch(reader.NodeType)
System\Windows\Markup\WpfXamlLoader.cs (2)
193switch (xamlReader.NodeType) 282switch (xamlReader.NodeType)
System\Windows\Markup\XamlReader.cs (4)
407if (xamlReader.NodeType == System.Xaml.XamlNodeType.StartMember) 418else if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value) 439else if (xamlReader.NodeType == System.Xaml.XamlNodeType.EndMember) 600if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value && _stack.CurrentFrame.Property == synchronousRecordProperty)
System\Windows\ResourceDictionary.cs (5)
1166if (reader.NodeType == Xaml.XamlNodeType.StartObject && reader.Type == xamlTypeStaticResourceExtension) 1170while (reader.NodeType == Xaml.XamlNodeType.StartMember && 1177if (reader.NodeType == Xaml.XamlNodeType.StartMember) 1181if (reader.NodeType == Xaml.XamlNodeType.StartObject) 1187else if (reader.NodeType == Xaml.XamlNodeType.Value)
System\Windows\TemplateContent.cs (14)
404switch (xamlReader.NodeType) 751Debug.Assert(xamlReader.NodeType == Xaml.XamlNodeType.StartObject); 760switch (xamlReader.NodeType) 797Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.StartMember); 832if (xamlReader.NodeType == System.Xaml.XamlNodeType.Value) 878else if (xamlReader.NodeType == System.Xaml.XamlNodeType.StartObject 879|| xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 882if (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 885while (xamlReader.NodeType == System.Xaml.XamlNodeType.NamespaceDeclaration) 892Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.StartObject); 941switch (xamlReader.NodeType) 1003else if (xamlReader.NodeType == System.Xaml.XamlNodeType.GetObject) 1042System.Xaml.XamlNodeType nodeType = reader.NodeType; 1150Debug.Assert(xamlReader.NodeType == System.Xaml.XamlNodeType.EndMember);
System.Xaml (15)
System\Xaml\XamlBackgroundReader.cs (1)
280get { return _internalReader.NodeType; }
System\Xaml\XamlObjectReader.cs (7)
2896while (reader.Read() && reader.NodeType != XamlNodeType.StartObject) 2898if (reader.NodeType != XamlNodeType.NamespaceDeclaration) 2900throw new XamlObjectReaderException(SR.Format(SR.XamlFactoryInvalidXamlNode, reader.NodeType)); 2909if (reader.NodeType != XamlNodeType.StartObject) 2911throw new XamlObjectReaderException(SR.Format(SR.XamlFactoryInvalidXamlNode, reader.NodeType)); 2919switch (reader.NodeType) 2950throw 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)
25_rootIsStartMember = (reader.NodeType == XamlNodeType.StartMember); 44get { return IsEmpty ? XamlNodeType.None : _reader.NodeType; } 129XamlNodeType nodeType = _reader.NodeType;
System\Xaml\XamlWriter.cs (1)
26switch (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);