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