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