24 overrides of NodeType
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
119
public override XmlNodeType
NodeType
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
41
public override XmlNodeType
NodeType
{ get { return _reader.NodeType; } }
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
3323
public override XmlNodeType
NodeType
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
26
public override XmlNodeType
NodeType
{ get { return _reader.NodeType; } }
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
113
public override XmlNodeType
NodeType
{ get { return IsXmlDataNode ? _xmlNodeReader.NodeType : _nodeType; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
71
public override XmlNodeType
NodeType
{ get { return InnerReader.NodeType; } }
System\Xml\XmlBaseReader.cs (1)
921
public sealed override XmlNodeType
NodeType
System\Xml\XmlDictionaryReader.cs (1)
1487
public override XmlNodeType
NodeType
System.Private.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
419
public override XmlNodeType
NodeType
System\Xml\Core\XmlAsyncCheckReader.cs (1)
82
public override XmlNodeType
NodeType
System\Xml\Core\XmlTextReader.cs (1)
112
public override XmlNodeType
NodeType
System\Xml\Core\XmlTextReaderImpl.cs (1)
857
public override XmlNodeType
NodeType
System\Xml\Core\XmlValidatingReader.cs (1)
50
public override XmlNodeType
NodeType
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
287
public override XmlNodeType
NodeType
System\Xml\Core\XmlWrappingReader.cs (1)
34
public override XmlNodeType
NodeType
{ get { return reader.NodeType; } }
System\Xml\Core\XsdCachingReader.cs (1)
108
public override XmlNodeType
NodeType
System\Xml\Core\XsdValidatingReader.cs (1)
213
public override XmlNodeType
NodeType
System\Xml\Dom\XmlNodeReader.cs (1)
1168
public override XmlNodeType
NodeType
System\Xml\XPath\XPathNavigatorReader.cs (1)
193
public override XmlNodeType
NodeType
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
53
public override XmlNodeType
NodeType
System.Private.Xml.Linq (1)
System\Xml\Linq\XNodeReader.cs (1)
274
public override XmlNodeType
NodeType
System.ServiceModel.Primitives (2)
Internals\System\Xml\XmlMtomReader.cs (2)
744
public override XmlNodeType
NodeType
1165
public override XmlNodeType
NodeType
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
41
public override XmlNodeType
NodeType
{ get { return _reader.NodeType; } }
846 references to NodeType
Microsoft.AspNetCore.Mvc.Formatters.Xml (3)
ProblemDetailsWrapper.cs (1)
57
while (reader.
NodeType
!= XmlNodeType.EndElement)
SerializableErrorWrapper.cs (1)
65
while (reader.
NodeType
!= XmlNodeType.EndElement)
ValidationProblemDetailsWrapper.cs (1)
61
while (reader.
NodeType
!= XmlNodeType.EndElement)
Microsoft.Build (2)
BackEnd\Components\SdkResolution\SdkResolverManifest.cs (2)
78
if (reader.
NodeType
== XmlNodeType.Element && reader.Name == "SdkResolver")
110
switch (reader.
NodeType
)
Microsoft.Build.Engine.UnitTests (1)
Construction\XmlReaderWithoutLocation_Tests.cs (1)
121
get { return _wrappedReader.
NodeType
; }
Microsoft.Build.Tasks.Core (13)
AppConfig\AppConfig.cs (1)
84
if (reader.
NodeType
== XmlNodeType.Element && StringEquals(reader.Name, "runtime"))
AppConfig\DependentAssembly.cs (3)
54
if (reader.
NodeType
== XmlNodeType.EndElement && AppConfig.StringEquals(reader.Name, "dependentassembly"))
60
if (reader.
NodeType
== XmlNodeType.Element && AppConfig.StringEquals(reader.Name, "assemblyIdentity"))
104
if (reader.
NodeType
== XmlNodeType.Element && AppConfig.StringEquals(reader.Name, "bindingRedirect"))
AppConfig\RuntimeSection.cs (2)
24
if (reader.
NodeType
== XmlNodeType.EndElement && AppConfig.StringEquals(reader.Name, "runtime"))
30
if (reader.
NodeType
== XmlNodeType.Element && AppConfig.StringEquals(reader.Name, "dependentAssembly"))
ManifestUtil\ManifestReader.cs (1)
236
} while (r.
NodeType
!= XmlNodeType.Element);
RedistList.cs (6)
669
if (reader.
NodeType
== XmlNodeType.Element)
734
if (reader.
NodeType
== XmlNodeType.Element)
768
if (reader.
NodeType
== XmlNodeType.EndElement && string.Equals(reader.Name, "From", StringComparison.OrdinalIgnoreCase))
774
if (reader.
NodeType
== XmlNodeType.EndElement && string.Equals(reader.Name, "Remap", StringComparison.OrdinalIgnoreCase))
788
if (reader.
NodeType
== XmlNodeType.Element)
818
if (reader.
NodeType
== XmlNodeType.EndElement && string.Equals(reader.Name, "FileList", StringComparison.OrdinalIgnoreCase))
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
3137
if (reader.
NodeType
== XmlNodeType.Element)
Microsoft.CodeAnalysis (1)
DocumentationComments\XmlDocumentationCommentTextReader.XmlStream.cs (1)
77
&& reader.
NodeType
== XmlNodeType.EndElement
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\DocumentationComment.cs (1)
230
if (reader.
NodeType
== XmlNodeType.Element)
Shared\Utilities\XmlFragmentParser.cs (1)
107
&& _xmlReader.
NodeType
== XmlNodeType.EndElement
Microsoft.Extensions.Configuration.Xml (4)
XmlStreamConfigurationProvider.cs (4)
56
XmlNodeType preNodeType = reader.
NodeType
;
60
switch (reader.
NodeType
)
166
throw new FormatException(SR.Format(SR.Error_UnsupportedNodeType, reader.
NodeType
, GetLineInfo(reader)));
168
preNodeType = reader.
NodeType
;
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
790
XmlNodeType currNodeType = xmlReader.
NodeType
;
MS\Internal\MarkupCompiler\ParserExtension.cs (2)
419
string attrName = (xmlReader.
NodeType
== XmlNodeType.Attribute) ? xmlReader.Name : null;
718
while (!xamlDefTagNode.IsEmptyElement && xamlDefTagNode.XmlReader.
NodeType
!= XmlNodeType.EndElement)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (9)
388
switch (XmlReader.
NodeType
)
1247
switch (XmlReader.
NodeType
)
1330
XmlReader.
NodeType
.ToString());
2076
CompileBamlTag(XmlReader.
NodeType
, ref endTagHasBeenRead);
2092
switch (XmlReader.
NodeType
)
2098
CompileText(XmlReader.
NodeType
, XmlReader.Value);
2158
CompileText(XmlReader.
NodeType
, XmlReader.Value);
3809
CompileText(XmlReader.
NodeType
, XmlReader.Value);
5227
0 == XmlReader.Depth && XmlReader.
NodeType
== XmlNodeType.None))
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
172
switch (Reader.
NodeType
)
746
_inAttribute = (Reader.
NodeType
== XmlNodeType.Attribute);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
41
public override XmlNodeType NodeType { get { return _reader.
NodeType
; } }
PresentationCore (7)
MS\Internal\FontFace\CompositeFontParser.cs (7)
211
if (_reader.
NodeType
== XmlNodeType.Attribute)
218
if (_reader.
NodeType
== XmlNodeType.Attribute)
301
switch (_reader.
NodeType
)
313
return _reader.
NodeType
;
415
if (_reader.
NodeType
== XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace)
581
if (_reader.
NodeType
== XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace)
829
if (_reader.
NodeType
== XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace)
PresentationFramework (15)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
398
switch (_xamlReader.
NodeType
)
System\Windows\Annotations\Annotation.cs (6)
290
while (!(XmlNodeType.EndElement == reader.
NodeType
&& AnnotationXmlConstants.Elements.Annotation == reader.LocalName))
299
while (!(AnnotationXmlConstants.Elements.AnchorCollection == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
314
while (!(AnnotationXmlConstants.Elements.CargoCollection == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
329
while (!(AnnotationXmlConstants.Elements.AuthorCollection == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
331
if (!(AnnotationXmlConstants.Elements.StringAuthor == reader.LocalName && XmlNodeType.Element == reader.
NodeType
))
523
if (reader.
NodeType
== XmlNodeType.Attribute)
System\Windows\Annotations\AnnotationResource.cs (2)
179
while (!(AnnotationXmlConstants.Elements.Resource == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
191
else if (XmlNodeType.Element == reader.
NodeType
)
System\Windows\Annotations\LocatorGroup.cs (1)
140
while (!(AnnotationXmlConstants.Elements.ContentLocatorGroup == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
System\Windows\Annotations\LocatorPartList.cs (4)
225
while (!(AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
227
if (XmlNodeType.Element != reader.
NodeType
)
243
while (!(XmlNodeType.EndElement == reader.
NodeType
&& part.PartType.Name == reader.LocalName))
286
if (!(XmlNodeType.EndElement == reader.
NodeType
&& AnnotationXmlConstants.Elements.Item == reader.LocalName))
System\Windows\Documents\FixedFindEngine.cs (1)
390
switch (xmlReader.
NodeType
)
ReachFramework (5)
Packaging\XpsFixedDocumentReaderWriter.cs (2)
1097
if( reader.
NodeType
== XmlNodeType.Element &&
1106
if( reader.
NodeType
== XmlNodeType.EndElement &&
Packaging\XPSSignatureDefinition.cs (3)
420
if( reader.
NodeType
!= XmlNodeType.Element ||
436
switch( reader.
NodeType
)
581
switch (reader.
NodeType
)
System.Configuration.ConfigurationManager (7)
System\Configuration\ConfigurationElement.cs (4)
1503
if (reader.
NodeType
== XmlNodeType.Element)
1553
if (reader.
NodeType
== XmlNodeType.EndElement) break;
1555
if ((reader.
NodeType
== XmlNodeType.CDATA) || (reader.
NodeType
== XmlNodeType.Text))
System\Configuration\ConfigurationSection.cs (1)
39
if (!reader.Read() || (reader.
NodeType
!= XmlNodeType.Element))
System\Configuration\DefaultSection.cs (1)
51
if (!xmlReader.Read() || (xmlReader.
NodeType
!= XmlNodeType.Element))
System\Configuration\IgnoreSection.cs (1)
51
if (!xmlReader.Read() || (xmlReader.
NodeType
!= XmlNodeType.Element))
System.Data.Common (51)
System\Data\Common\ObjectStorage.cs (1)
428
if (type == typeof(string) && xmlReader.
NodeType
== XmlNodeType.Element && xmlReader.IsEmptyElement)
System\Data\DataSet.cs (23)
201
if (reader.
NodeType
== XmlNodeType.Element)
1581
if (reader.
NodeType
== XmlNodeType.Element)
1675
if (reader.
NodeType
== XmlNodeType.Element)
1682
if (reader.
NodeType
== XmlNodeType.Element)
1770
while (!reader.EOF && reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.Element && reader.Depth > depth)
1774
return (reader.
NodeType
== XmlNodeType.Element);
1779
while (!reader.EOF && reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.Element)
1786
while (reader.
NodeType
== XmlNodeType.Whitespace)
1790
if (reader.
NodeType
== XmlNodeType.None)
1794
else if (reader.
NodeType
== XmlNodeType.EndElement)
1830
while (reader.
NodeType
== XmlNodeType.Whitespace)
2081
if (reader.
NodeType
== XmlNodeType.Element)
2086
if (reader.
NodeType
== XmlNodeType.Element)
2186
while (!reader.EOF && reader.
NodeType
== XmlNodeType.Whitespace)
2188
if (reader.
NodeType
!= XmlNodeType.Element)
2446
if (reader.
NodeType
== XmlNodeType.Whitespace)
2461
if (reader.
NodeType
== XmlNodeType.Whitespace)
2472
if (reader.
NodeType
== XmlNodeType.Whitespace)
2477
Debug.Assert(reader.
NodeType
!= XmlNodeType.Whitespace, "Should not be on Whitespace node");
2586
if ((mode != XmlReadMode.Fragment) && (reader.
NodeType
== XmlNodeType.Element))
2594
if (reader.
NodeType
== XmlNodeType.Element)
System\Data\DataTable.cs (10)
5755
if (reader.
NodeType
== XmlNodeType.Element)
5981
if ((mode != XmlReadMode.Fragment) && (reader.
NodeType
== XmlNodeType.Element))
5998
if (reader.
NodeType
== XmlNodeType.Element)
6237
while (reader.
NodeType
== XmlNodeType.Whitespace)
6241
if (reader.
NodeType
== XmlNodeType.None)
6245
else if (reader.
NodeType
== XmlNodeType.EndElement)
6259
while (!reader.EOF && reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.Element && reader.Depth > depth)
6263
return (reader.
NodeType
== XmlNodeType.Element);
6298
if (reader.
NodeType
== XmlNodeType.Whitespace)
System\Data\XmlDataLoader.cs (5)
626
if (reader.
NodeType
!= XmlNodeType.Element)
738
switch (_dataReader.
NodeType
)
966
switch (_dataReader.
NodeType
)
1235
switch (_dataReader.
NodeType
)
1247
while (_dataReader.Read() && entryDepth < _dataReader.Depth && IsTextLikeNode(_dataReader.
NodeType
))
System\Data\XMLDiffLoader.cs (11)
199
if (XmlNodeType.Element == ssync.
NodeType
)
210
while ((ssync.
NodeType
== XmlNodeType.EndElement) && (iSsyncDepth < ssync.Depth))
254
if (XmlNodeType.Element == ssync.
NodeType
)
264
while ((ssync.
NodeType
== XmlNodeType.EndElement) && (iSsyncDepth < ssync.Depth))
352
if (currentDepth == iRowDepth && row.
NodeType
== XmlNodeType.EndElement)
377
while ((row.
NodeType
!= XmlNodeType.EndElement) && (row.LocalName != ln) && (row.NamespaceURI != ns))
430
if (row.
NodeType
== XmlNodeType.Text || row.
NodeType
== XmlNodeType.Whitespace || row.
NodeType
== XmlNodeType.SignificantWhitespace)
454
while (reader.
NodeType
== XmlNodeType.Whitespace || reader.
NodeType
== XmlNodeType.SignificantWhitespace)
System\Data\xmlsaver.cs (1)
3327
return _xmlreader.
NodeType
;
System.IO.Packaging (14)
System\IO\Packaging\PackagingUtilities.cs (2)
34
if (reader.Read() && reader.
NodeType
== XmlNodeType.XmlDeclaration && reader.Depth == 0)
86
Debug.Assert(reader.
NodeType
== XmlNodeType.Element, "XmlReader should be positioned at an Element");
System\IO\Packaging\PartBasedPackageProperties.cs (3)
518
if (reader.
NodeType
== XmlNodeType.EndElement)
522
if (reader.
NodeType
!= XmlNodeType.Element)
646
if (reader.
NodeType
!= XmlNodeType.Text)
System\IO\Packaging\XmlCompatibilityReader.cs (2)
153
switch (Reader.
NodeType
)
689
_inAttribute = (Reader.
NodeType
== XmlNodeType.Attribute);
System\IO\Packaging\XmlWrappingReader.cs (1)
26
public override XmlNodeType NodeType { get { return _reader.
NodeType
; } }
System\IO\Packaging\ZipPackage.cs (6)
980
if ((reader.
NodeType
== XmlNodeType.Element)
1001
if (reader.
NodeType
== XmlNodeType.None)
1006
if (reader.
NodeType
== XmlNodeType.Element
1013
else if (reader.
NodeType
== XmlNodeType.Element
1020
else if (reader.
NodeType
== XmlNodeType.EndElement && reader.Depth == 0 && reader.Name == TypesTagName)
1226
if (reader.
NodeType
== XmlNodeType.EndElement && elementName == reader.LocalName)
System.Private.DataContractSerialization (19)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
169
get { return isEndOfEmptyElement ? XmlNodeType.EndElement : reader.
NodeType
; }
System\Runtime\Serialization\XmlSerializableReader.cs (3)
56
if (reader.
NodeType
== XmlNodeType.EndElement ||
57
(reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement))
71
public override XmlNodeType NodeType { get { return InnerReader.
NodeType
; } }
System\Runtime\Serialization\XmlSerializableServices.cs (1)
36
while (xmlReader.Depth > startDepth && xmlReader.
NodeType
!= XmlNodeType.EndElement)
System\Xml\ArrayHelper.cs (1)
44
if (read < array.Length || reader.
NodeType
== XmlNodeType.EndElement)
System\Xml\XmlDictionaryReader.cs (7)
393
switch (this.
NodeType
)
457
if (this.
NodeType
!= XmlNodeType.Element)
459
if (this.
NodeType
== XmlNodeType.Element)
465
if (this.
NodeType
== XmlNodeType.EndElement)
470
while (IsTextNode(this.
NodeType
))
560
XmlNodeType nodeType = this.
NodeType
;
1491
return _reader.
NodeType
;
System\Xml\XmlDictionaryWriter.cs (4)
269
if (reader.
NodeType
== XmlNodeType.EntityReference)
387
int d = (reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth);
390
XmlNodeType nodeType = reader.
NodeType
;
433
while (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement));
System\Xml\XmlExceptionHelper.cs (2)
65
switch (reader.
NodeType
)
80
return SR.Format(SR.XmlFoundNodeType, reader.
NodeType
);
System.Private.Xml (325)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3236
_nodetype = r.
NodeType
;
System\Xml\Core\ReadContentAsBinaryHelper.cs (10)
159
if (_reader.
NodeType
!= XmlNodeType.Element)
202
if (_reader.
NodeType
!= XmlNodeType.Element)
242
if (_reader.
NodeType
!= XmlNodeType.EndElement)
244
throw new XmlException(SR.Xml_InvalidNodeType, _reader.
NodeType
.ToString(), _reader as IXmlLineInfo);
276
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element);
289
if (_reader.
NodeType
!= XmlNodeType.EndElement)
291
throw new XmlException(SR.Xml_InvalidNodeType, _reader.
NodeType
.ToString(), _reader as IXmlLineInfo);
401
if (_reader.
NodeType
!= XmlNodeType.EndElement)
403
throw new XmlException(SR.Xml_InvalidNodeType, _reader.
NodeType
.ToString(), _reader as IXmlLineInfo);
416
switch (_reader.
NodeType
)
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (10)
112
if (_reader.
NodeType
!= XmlNodeType.Element)
156
if (_reader.
NodeType
!= XmlNodeType.Element)
197
if (_reader.
NodeType
!= XmlNodeType.EndElement)
199
throw new XmlException(SR.Xml_InvalidNodeType, _reader.
NodeType
.ToString(), _reader as IXmlLineInfo);
224
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element);
237
if (_reader.
NodeType
!= XmlNodeType.EndElement)
239
throw new XmlException(SR.Xml_InvalidNodeType, _reader.
NodeType
.ToString(), _reader as IXmlLineInfo);
323
if (_reader.
NodeType
!= XmlNodeType.EndElement)
325
throw new XmlException(SR.Xml_InvalidNodeType, _reader.
NodeType
.ToString(), _reader as IXmlLineInfo);
338
switch (_reader.
NodeType
)
System\Xml\Core\XmlAsyncCheckReader.cs (1)
87
return _coreReader.
NodeType
;
System\Xml\Core\XmlCharCheckingReader.cs (1)
192
XmlNodeType nodeType = base.reader.
NodeType
;
System\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
54
XmlNodeType nodeType = base.reader.
NodeType
;
System\Xml\Core\XmlReader.cs (57)
108
public virtual bool HasValue => HasValueInternal(
NodeType
);
693
if (
NodeType
== XmlNodeType.Element)
704
if (
NodeType
== XmlNodeType.EndElement)
710
while (IsTextualNode(
NodeType
))
728
switch (
NodeType
)
732
return
NodeType
;
739
return
NodeType
;
742
return
NodeType
;
750
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
760
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
778
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
798
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
804
if (
NodeType
!= XmlNodeType.EndElement)
806
throw new XmlException(SR.Xml_UnexpectedNodeInSimpleContent, new string[] {
NodeType
.ToString(), "ReadElementString" }, this as IXmlLineInfo);
825
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
836
if (
NodeType
!= XmlNodeType.EndElement)
838
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
857
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
868
if (
NodeType
!= XmlNodeType.EndElement)
870
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
887
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
923
if (
NodeType
== XmlNodeType.Element && Ref.Equal(name, Name))
944
if (
NodeType
== XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI))
959
if (
NodeType
!= XmlNodeType.Element)
983
if (
NodeType
== XmlNodeType.Element && Ref.Equal(name, Name))
988
Debug.Assert(
NodeType
== XmlNodeType.EndElement ||
NodeType
== XmlNodeType.None || ReadState == ReadState.Error);
1000
if (
NodeType
!= XmlNodeType.Element)
1025
if (
NodeType
== XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI))
1030
Debug.Assert(
NodeType
== XmlNodeType.EndElement);
1050
nt =
NodeType
;
1077
nt =
NodeType
;
1110
if (
NodeType
!= XmlNodeType.Attribute &&
NodeType
!= XmlNodeType.Element)
1121
if (
NodeType
== XmlNodeType.Attribute)
1127
if (
NodeType
== XmlNodeType.Element)
1139
int d =
NodeType
== XmlNodeType.None ? -1 : Depth;
1142
switch (
NodeType
)
1181
if (d == Depth &&
NodeType
== XmlNodeType.EndElement)
1193
if (
NodeType
== XmlNodeType.EntityReference)
1213
if (
NodeType
!= XmlNodeType.Attribute &&
NodeType
!= XmlNodeType.Element)
1224
if (
NodeType
== XmlNodeType.Attribute)
1269
if (
NodeType
!= XmlNodeType.Element)
1389
if (
NodeType
== XmlNodeType.Element && !IsEmptyElement)
1399
if (
NodeType
== XmlNodeType.EndElement)
1415
if (
NodeType
!= XmlNodeType.Element)
1417
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString(), this as IXmlLineInfo);
1428
return CreateReadContentAsException(methodName,
NodeType
, this as IXmlLineInfo);
1433
return CreateReadElementContentAsException(methodName,
NodeType
, this as IXmlLineInfo);
1438
return CanReadContentAs(
NodeType
);
1471
switch (
NodeType
)
1513
if (
NodeType
!= XmlNodeType.Element)
1528
XmlNodeType nodeType =
NodeType
;
1547
if (
NodeType
!= XmlNodeType.EndElement)
1549
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString());
1779
XmlNodeType nt = _reader.
NodeType
;
System\Xml\Core\XmlReaderAsync.cs (21)
161
switch (
NodeType
)
165
return
NodeType
;
172
return
NodeType
;
175
return
NodeType
;
185
if (
NodeType
!= XmlNodeType.Attribute &&
NodeType
!= XmlNodeType.Element)
195
if (
NodeType
== XmlNodeType.Attribute)
201
if (
NodeType
== XmlNodeType.Element)
213
int d =
NodeType
== XmlNodeType.None ? -1 : Depth;
216
switch (
NodeType
)
255
if (d == Depth &&
NodeType
== XmlNodeType.EndElement)
268
if (
NodeType
!= XmlNodeType.Attribute &&
NodeType
!= XmlNodeType.Element)
278
if (
NodeType
== XmlNodeType.Attribute)
300
if (
NodeType
== XmlNodeType.Element && !IsEmptyElement)
310
if (
NodeType
== XmlNodeType.EndElement)
327
switch (
NodeType
)
369
if (
NodeType
!= XmlNodeType.Element)
384
XmlNodeType nodeType =
NodeType
;
400
if (
NodeType
!= XmlNodeType.EndElement)
402
throw new XmlException(SR.Xml_InvalidNodeType,
NodeType
.ToString());
System\Xml\Core\XmlSubtreeReader.cs (16)
119
return _useCurNode ? _curNode.type : reader.
NodeType
;
432
Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
482
if (reader.
NodeType
== XmlNodeType.EndElement ||
483
(reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement))
489
Debug.Assert(reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement);
552
if (reader.Depth == _initialDepth && reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement)
590
if (reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement)
595
while (reader.
NodeType
!= XmlNodeType.EndElement && reader.Depth > _initialDepth)
601
Debug.Assert(reader.
NodeType
== XmlNodeType.EndElement ||
602
reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement ||
609
if (reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement)
933
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
1070
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
1246
switch (reader.
NodeType
)
1391
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
1420
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlSubtreeReaderAsync.cs (12)
45
if (reader.
NodeType
== XmlNodeType.EndElement ||
46
(reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement))
52
Debug.Assert(reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement);
116
if (reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement)
121
while (reader.
NodeType
!= XmlNodeType.EndElement && reader.Depth > _initialDepth)
127
Debug.Assert(reader.
NodeType
== XmlNodeType.EndElement ||
128
reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement ||
135
if (reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement)
339
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
476
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
575
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
604
throw new XmlException(SR.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImpl.cs (1)
1566
if (_outerReader.
NodeType
== XmlNodeType.EntityReference &&
System\Xml\Core\XmlValidatingReaderImpl.cs (8)
291
return _coreReader.
NodeType
;
754
if (_outerReader.
NodeType
== XmlNodeType.EntityReference && _parsingFunction != ParsingFunction.ResolveEntityInternally)
952
switch (_outerReader.
NodeType
)
974
XmlNodeType type = _outerReader.
NodeType
;
983
if (_outerReader.
NodeType
!= XmlNodeType.EndElement)
985
throw new XmlException(SR.Xml_InvalidNodeType, _outerReader.
NodeType
.ToString());
1052
Debug.Assert(_coreReader.
NodeType
== XmlNodeType.EntityReference);
1096
switch (_coreReader.
NodeType
)
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
193
Debug.Assert(_coreReader.
NodeType
== XmlNodeType.EntityReference);
System\Xml\Core\XmlWrappingReader.cs (1)
34
public override XmlNodeType NodeType { get { return reader.
NodeType
; } }
System\Xml\Core\XmlWriter.cs (6)
317
if (reader.
NodeType
is XmlNodeType.Element or XmlNodeType.XmlDeclaration)
325
else if (reader.
NodeType
!= XmlNodeType.Attribute)
340
if (reader.
NodeType
== XmlNodeType.EntityReference)
363
int d = reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth;
366
switch (reader.
NodeType
)
418
} while (reader.Read() && (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement)));
System\Xml\Core\XmlWriterAsync.cs (9)
238
if (reader.
NodeType
is XmlNodeType.Element or XmlNodeType.XmlDeclaration)
246
else if (reader.
NodeType
!= XmlNodeType.Attribute)
261
if (reader.
NodeType
== XmlNodeType.EntityReference)
299
int d = reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth;
302
switch (reader.
NodeType
)
352
} while (reader.Read() && (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement)));
361
int d = reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth;
364
switch (reader.
NodeType
)
415
} while (await reader.ReadAsync().ConfigureAwait(false) && (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement)));
System\Xml\Core\XsdCachingReader.cs (12)
81
if (_coreReader.
NodeType
== XmlNodeType.Element)
83
ValidatingReaderNodeData element = AddContent(_coreReader.
NodeType
);
411
switch (_coreReader.
NodeType
)
419
recordedNode = AddContent(_coreReader.
NodeType
);
430
recordedNode = AddContent(_coreReader.
NodeType
);
453
if (_coreReader.
NodeType
!= XmlNodeType.Element || _readAhead)
483
Debug.Assert(_coreReader.
NodeType
== XmlNodeType.EndElement || (_coreReader.
NodeType
== XmlNodeType.Element && _coreReader.IsEmptyElement));
496
Debug.Assert(_coreReader.
NodeType
== XmlNodeType.EndElement || (_coreReader.
NodeType
== XmlNodeType.Element && _coreReader.IsEmptyElement));
545
if (_coreReader.
NodeType
!= XmlNodeType.EndElement && !_readAhead)
692
Debug.Assert(_coreReader.
NodeType
== XmlNodeType.Element);
System\Xml\Core\XsdCachingReaderAsync.cs (5)
43
switch (_coreReader.
NodeType
)
51
recordedNode = AddContent(_coreReader.
NodeType
);
62
recordedNode = AddContent(_coreReader.
NodeType
);
85
if (_coreReader.
NodeType
!= XmlNodeType.Element || _readAhead)
111
if (_coreReader.
NodeType
!= XmlNodeType.EndElement && !_readAhead)
System\Xml\Core\XsdValidatingReader.cs (7)
224
XmlNodeType nodeType = _coreReader.
NodeType
;
2005
switch (_coreReader.
NodeType
)
2333
if (_coreReader.
NodeType
== XmlNodeType.Element)
2527
switch (_coreReader.
NodeType
)
2587
Debug.Assert(_coreReader.
NodeType
== XmlNodeType.EndElement);
2595
switch (_coreReader.
NodeType
)
2656
switch (_coreReader.
NodeType
)
System\Xml\Core\XsdValidatingReaderAsync.cs (3)
500
switch (_coreReader.
NodeType
)
656
if (_coreReader.
NodeType
== XmlNodeType.Element)
865
switch (_coreReader.
NodeType
)
System\Xml\Dom\XmlLoader.cs (13)
106
switch (r.
NodeType
)
222
throw UnexpectedNodeType(r.
NodeType
);
251
Debug.Assert(_reader!.
NodeType
== XmlNodeType.Attribute);
269
switch (r.
NodeType
)
289
throw UnexpectedNodeType(r.
NodeType
);
326
switch (r.
NodeType
)
348
throw UnexpectedNodeType(r.
NodeType
);
358
Debug.Assert(_reader!.
NodeType
== XmlNodeType.EntityReference);
363
while (_reader.Read() && _reader.
NodeType
!= XmlNodeType.EndEntity)
381
Debug.Assert(_reader!.
NodeType
== XmlNodeType.XmlDeclaration);
419
Debug.Assert(_reader!.
NodeType
== XmlNodeType.DocumentType);
463
switch (r.
NodeType
)
546
throw UnexpectedNodeType(_reader!.
NodeType
);
System\Xml\Schema\Inference\Infer.cs (32)
186
while (_xtr.
NodeType
!= XmlNodeType.Element && _xtr.Read()) ;
189
if (_xtr.
NodeType
== XmlNodeType.Element)
693
if (_xtr.
NodeType
== XmlNodeType.Whitespace)
697
if (_xtr.
NodeType
== XmlNodeType.EntityReference)
701
} while ((!_xtr.EOF) && (_xtr.
NodeType
!= XmlNodeType.EndElement) && (_xtr.
NodeType
!= XmlNodeType.CDATA) && (_xtr.
NodeType
!= XmlNodeType.Element) && (_xtr.
NodeType
!= XmlNodeType.Text));
703
if (_xtr.
NodeType
== XmlNodeType.EndElement)
768
while (!_xtr.EOF && (_xtr.
NodeType
!= XmlNodeType.EndElement))
772
if ((_xtr.
NodeType
== XmlNodeType.Text) || (_xtr.
NodeType
== XmlNodeType.CDATA)) //node can be simple type, complex with simple content or complex with mixed content
782
do { _xtr.Read(); } while ((!_xtr.EOF) && ((_xtr.
NodeType
== XmlNodeType.CDATA) || (_xtr.
NodeType
== XmlNodeType.Text) || (_xtr.
NodeType
== XmlNodeType.Comment) || (_xtr.
NodeType
== XmlNodeType.ProcessingInstruction) || (_xtr.
NodeType
== XmlNodeType.Whitespace) || (_xtr.
NodeType
== XmlNodeType.SignificantWhitespace) || (_xtr.
NodeType
== XmlNodeType.XmlDeclaration)));
784
if (_xtr.
NodeType
== XmlNodeType.EndElement)
791
if ((_xtr.
NodeType
== XmlNodeType.Text) && (iChildNumber == 1))
822
if (_xtr.
NodeType
== XmlNodeType.Text)
853
if (_xtr.
NodeType
== XmlNodeType.Text)
863
else if (_xtr.
NodeType
== XmlNodeType.Text)
889
else if (_xtr.
NodeType
== XmlNodeType.Element)
944
else if (_xtr.
NodeType
== XmlNodeType.Text)
952
if (_xtr.
NodeType
== XmlNodeType.EntityReference)
964
} while ((!_xtr.EOF) && (_xtr.
NodeType
!= XmlNodeType.EndElement) && (_xtr.
NodeType
!= XmlNodeType.CDATA) && (_xtr.
NodeType
!= XmlNodeType.Element) && (_xtr.
NodeType
!= XmlNodeType.Text));
1202
Debug.Assert(_xtr!.
NodeType
== XmlNodeType.Attribute);
System\Xml\Schema\Parser.cs (15)
70
while (reader.
NodeType
!= XmlNodeType.Element && reader.Read()) { }
176
else if (_reader.
NodeType
== XmlNodeType.Element)
222
else if (_reader.
NodeType
== XmlNodeType.Text)
229
else if (_reader.
NodeType
== XmlNodeType.EntityReference ||
230
_reader.
NodeType
== XmlNodeType.SignificantWhitespace ||
231
_reader.
NodeType
== XmlNodeType.CDATA)
235
else if (_reader.
NodeType
== XmlNodeType.EndElement)
274
switch (_reader!.
NodeType
)
333
Debug.Assert(_reader!.
NodeType
== XmlNodeType.Element);
418
Debug.Assert(_reader!.
NodeType
== XmlNodeType.Attribute);
426
switch (r.
NodeType
)
435
throw XmlLoader.UnexpectedNodeType(r.
NodeType
);
444
Debug.Assert(_reader!.
NodeType
== XmlNodeType.EntityReference);
455
switch (_reader.
NodeType
)
470
throw XmlLoader.UnexpectedNodeType(_reader.
NodeType
);
System\Xml\Schema\ParserAsync.cs (1)
30
while (reader.
NodeType
!= XmlNodeType.Element && await reader.ReadAsync().ConfigureAwait(false)) { }
System\Xml\Serialization\PrimitiveXmlSerializers.cs (20)
252
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
281
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
305
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
329
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
353
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
377
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
401
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
425
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
449
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
473
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
503
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
527
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
551
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
575
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
599
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
623
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
652
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
676
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
706
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
730
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
System\Xml\Serialization\ReflectionXmlSerializationReader.cs (18)
120
while (Reader.
NodeType
!= XmlNodeType.EndElement && Reader.
NodeType
!= XmlNodeType.None)
282
while (Reader.
NodeType
!= XmlNodeType.EndElement && Reader.
NodeType
!= XmlNodeType.None)
342
while (Reader.
NodeType
== XmlNodeType.Element)
403
while (Reader.
NodeType
!= XmlNodeType.EndElement && Reader.
NodeType
!= XmlNodeType.None)
501
if (Reader.
NodeType
== XmlNodeType.Element)
556
while (Reader.
NodeType
!= XmlNodeType.EndElement && Reader.
NodeType
!= XmlNodeType.None)
703
if ((Reader.
NodeType
== XmlNodeType.Text ||
704
Reader.
NodeType
== XmlNodeType.CDATA ||
705
Reader.
NodeType
== XmlNodeType.Whitespace ||
706
Reader.
NodeType
== XmlNodeType.SignificantWhitespace))
1183
while (Reader.
NodeType
!= XmlNodeType.EndElement && Reader.
NodeType
!= XmlNodeType.None)
1421
while (Reader.
NodeType
!= XmlNodeType.EndElement && Reader.
NodeType
!= XmlNodeType.None)
System\Xml\Serialization\XmlSerializationReader.cs (20)
821
while (_r.
NodeType
!= XmlNodeType.EndElement)
898
if (_r.
NodeType
!= XmlNodeType.EndElement)
900
while (_r.
NodeType
!= XmlNodeType.EndElement)
1204
if (_r.
NodeType
== XmlNodeType.None || _r.
NodeType
== XmlNodeType.Whitespace)
1209
if (_r.
NodeType
== XmlNodeType.EndElement)
1215
else if (_r.
NodeType
== XmlNodeType.Attribute && _events.OnUnknownAttribute == null)
1219
else if (_r.
NodeType
== XmlNodeType.Element && _events.OnUnknownElement == null)
1272
_r.
NodeType
switch
1404
while (_r.
NodeType
== XmlNodeType.Whitespace) _r.Skip();
1405
if (_r.
NodeType
== XmlNodeType.None) _r.Skip();
1406
if (_r.
NodeType
== XmlNodeType.EndElement && _r.LocalName == name && _r.NamespaceURI == ns)
1667
while (_r.
NodeType
!= XmlNodeType.EndElement)
1683
while (_r.
NodeType
!= XmlNodeType.EndElement)
1757
while (_r.
NodeType
!= XmlNodeType.EndElement && _r.
NodeType
!= XmlNodeType.None)
1856
while (_r.
NodeType
== XmlNodeType.Whitespace) _r.Skip();
1857
if (_r.
NodeType
== XmlNodeType.None) _r.Skip();
1871
if (Reader.
NodeType
== XmlNodeType.Attribute)
1932
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement)
System\Xml\XPath\XPathDocument.cs (1)
192
switch (reader.
NodeType
)
System\Xml\XPath\XPathNavigator.cs (1)
2042
switch (reader.
NodeType
)
System\Xml\Xsl\Xslt\XsltInput.cs (21)
183
rec.start = new Location(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition - PositionAdjustment(_reader.
NodeType
));
191
rec.end = new Location(_readerLineInfo.LineNumber, _readerLineInfo.LinePosition - PositionAdjustment(_reader.
NodeType
));
202
_reader.
NodeType
== XmlNodeType.Whitespace || _reader.
NodeType
== XmlNodeType.SignificantWhitespace ||
203
_reader.
NodeType
== XmlNodeType.Text || _reader.
NodeType
== XmlNodeType.CDATA
213
bool isCDATA = (_reader.
NodeType
== XmlNodeType.CDATA);
244
Debug.Assert(_reader.
NodeType
== XmlNodeType.EntityReference);
258
Debug.Assert(_reader.
NodeType
== XmlNodeType.Text || _reader.
NodeType
== XmlNodeType.Whitespace || _reader.
NodeType
== XmlNodeType.SignificantWhitespace);
261
Debug.Assert(_reader.
NodeType
== XmlNodeType.EndEntity);
273
Debug.Assert(_reader.
NodeType
== XmlNodeType.Attribute, "reader.NodeType == XmlNodeType.Attribute");
303
int correction = (_reader.
NodeType
== XmlNodeType.EntityReference) ? -2 : -1;
315
switch (_reader.
NodeType
)
323
Debug.Assert(_reader.
NodeType
== XmlNodeType.Text, "Unexpected node type inside attribute value");
332
Debug.Assert(_reader.
NodeType
!= XmlNodeType.EntityReference);
333
int correction = ((_reader.
NodeType
== XmlNodeType.EndEntity) ? 1 : lastText.Length) + 1;
384
switch (_reader.
NodeType
)
452
switch (_reader.
NodeType
)
488
Debug.Assert(_reader.
NodeType
== XmlNodeType.Element);
System.Private.Xml.Linq (16)
System\Xml\Linq\XContainer.cs (8)
903
switch (r.
NodeType
)
950
throw new InvalidOperationException(SR.Format(SR.InvalidOperation_UnexpectedNodeType, r.
NodeType
));
957
switch (r.
NodeType
)
1006
throw new InvalidOperationException(SR.Format(SR.InvalidOperation_UnexpectedNodeType, r.
NodeType
));
1016
switch (r.
NodeType
)
1104
throw new InvalidOperationException(SR.Format(SR.InvalidOperation_UnexpectedNodeType, r.
NodeType
));
1130
switch (r.
NodeType
)
1220
throw new InvalidOperationException(SR.Format(SR.InvalidOperation_UnexpectedNodeType, r.
NodeType
));
System\Xml\Linq\XDocument.cs (1)
499
if (reader.
NodeType
== XmlNodeType.XmlDeclaration)
System\Xml\Linq\XElement.cs (3)
811
if (reader.MoveToContent() != XmlNodeType.Element) throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ExpectedNodeType, XmlNodeType.Element, reader.
NodeType
));
846
if (await reader.MoveToContentAsync().ConfigureAwait(false) != XmlNodeType.Element) throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ExpectedNodeType, XmlNodeType.Element, reader.
NodeType
));
1883
if (reader.MoveToContent() != XmlNodeType.Element) throw new InvalidOperationException(SR.Format(SR.InvalidOperation_ExpectedNodeType, XmlNodeType.Element, reader.
NodeType
));
System\Xml\Linq\XNode.cs (4)
431
switch (reader.
NodeType
)
448
throw new InvalidOperationException(SR.Format(SR.InvalidOperation_UnexpectedNodeType, reader.
NodeType
));
479
switch (reader.
NodeType
)
509
throw new InvalidOperationException(SR.Format(SR.InvalidOperation_UnexpectedNodeType, reader.
NodeType
));
System.ServiceModel.Primitives (63)
Extensions\XmlReaderExtensions.cs (2)
16
throw new XmlException(SRP.Format(SRP.Xml_InvalidNodeType, reader.
NodeType
.ToString()), null, lineInfo?.LineNumber ?? 0, lineInfo?.LinePosition ?? 0);
27
throw new XmlException(SRP.Format(SRP.Xml_InvalidNodeType, reader.
NodeType
.ToString()), null, lineInfo?.LineNumber ?? 0, lineInfo?.LinePosition ?? 0);
Internals\System\Xml\XmlMtomReader.cs (3)
332
if (_xmlReader.
NodeType
== XmlNodeType.Element)
748
return _xmlReader.
NodeType
;
1169
return (_readState == ReadState.Interactive) ? _nodeType : _parentReader.
NodeType
;
System\ServiceModel\Channels\AddressHeader.cs (2)
346
Fx.Assert(reader.
NodeType
== XmlNodeType.Element, "");
392
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
1599
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\BodyWriter.cs (1)
168
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\Message.cs (10)
644
if (reader.
NodeType
!= XmlNodeType.Element)
649
if (reader.
NodeType
== XmlNodeType.Element)
654
else if (reader.
NodeType
== XmlNodeType.EndElement)
1267
while (bodyReader.
NodeType
!= XmlNodeType.EndElement && !bodyReader.EOF)
1333
if (reader.
NodeType
!= XmlNodeType.Element)
1369
if (reader.
NodeType
!= XmlNodeType.Element)
1687
if (reader.
NodeType
!= XmlNodeType.Element)
1704
if (reader.
NodeType
!= XmlNodeType.Element)
1717
if (reader.
NodeType
!= XmlNodeType.Element)
1743
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\MessageFault.cs (3)
197
if (reader.
NodeType
!= XmlNodeType.EndElement && !reader.EOF)
654
while (r.
NodeType
!= XmlNodeType.EndElement)
687
while (r.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\MessageHeader.cs (1)
502
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\MessageHeaders.cs (6)
486
if (reader.
NodeType
!= XmlNodeType.Element)
886
if (reader.
NodeType
== XmlNodeType.Element)
895
if (reader.
NodeType
== XmlNodeType.Element)
919
if (reader.
NodeType
!= XmlNodeType.Element)
948
if (reader.
NodeType
== XmlNodeType.EndElement)
1853
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\WsrmFault.cs (2)
723
if ((headerReader.
NodeType
!= XmlNodeType.Element)
748
if ((headerReader.
NodeType
== XmlNodeType.Element)
System\ServiceModel\Channels\WsrmMessageInfo.cs (8)
1145
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1158
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1173
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1186
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1213
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1234
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1240
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1251
SRP.Format(SRP.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
436
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SRP.Format(SRP.SFxInvalidMessageBody, messageInfo.WrapperName, messageInfo.WrapperNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
157
if (detailReader.
NodeType
!= XmlNodeType.EndElement && !detailReader.EOF)
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
579
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SRP.Format(SRP.SFxInvalidMessageBody, _requestWrapperName, _requestWrapperNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
604
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SRP.Format(SRP.SFxInvalidMessageBody, _responseWrapperName, _responseWrapperNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
367
if (_reader.
NodeType
== XmlNodeType.EndElement)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
455
if (reader.
NodeType
== XmlNodeType.EndElement)
System\ServiceModel\EndpointAddress.cs (3)
531
else if (reader.
NodeType
!= XmlNodeType.Element)
879
while (reader.
NodeType
!= XmlNodeType.EndElement && !reader.EOF)
934
return (reader.
NodeType
== XmlNodeType.EndElement || reader.EOF);
System\ServiceModel\EndpointIdentity.cs (1)
185
else if (reader.
NodeType
== XmlNodeType.Element)
System\ServiceModel\Security\SecurityAppliedMessage.cs (2)
128
while (reader.
NodeType
!= XmlNodeType.EndElement)
155
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (6)
210
if (reader.
NodeType
!= XmlNodeType.Element)
219
if (reader.
NodeType
!= XmlNodeType.Element)
227
if (reader.
NodeType
!= XmlNodeType.Element)
250
if (reader.
NodeType
!= XmlNodeType.Element)
380
while (reader.
NodeType
!= XmlNodeType.EndElement)
465
if (reader.
NodeType
!= XmlNodeType.Element)
System\ServiceModel\Security\WSSecureConversation.cs (1)
412
Fx.Assert(reader.
NodeType
== XmlNodeType.Element, "");
System\ServiceModel\Security\XmlHelper.cs (5)
129
while (reader.
NodeType
== XmlNodeType.Whitespace || reader.
NodeType
== XmlNodeType.SignificantWhitespace)
155
if (reader.
NodeType
== XmlNodeType.Comment)
159
else if (reader.
NodeType
== XmlNodeType.Whitespace)
211
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SRP.Format(SRP.UnexpectedXmlChildNode, r.Name, r.
NodeType
, parentName)));
System.ServiceModel.Syndication (2)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (2)
601
switch (reader.
NodeType
)
616
return SR.Format(SR.XmlFoundNodeType, reader.
NodeType
);
System.Web.Services.Description (273)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (273)
4824
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
4902
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
4903
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5033
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5034
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5123
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5124
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5220
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5221
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5280
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5281
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5340
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5341
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5414
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5415
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5531
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5532
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5655
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5656
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5754
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5755
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5834
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5835
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
5911
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
5912
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6074
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6075
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6156
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6157
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6228
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6229
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6304
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6305
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6386
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6387
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6458
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6459
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6515
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6516
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6608
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6609
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6677
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6678
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6746
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6747
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6858
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6859
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6922
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6923
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
6991
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
6992
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7154
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7155
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7210
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7211
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7278
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7279
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7350
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7351
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7418
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7419
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7482
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7483
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7546
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7547
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7606
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7607
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7676
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7677
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7768
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7769
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7878
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7879
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
7958
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
7959
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8038
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8039
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8115
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8116
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8209
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8210
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8282
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8283
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8394
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8395
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8581
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8582
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8689
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8690
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8766
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8767
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8855
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8856
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8859
else if (Reader.
NodeType
== Xml.XmlNodeType.Text ||
8860
Reader.
NodeType
== Xml.XmlNodeType.CDATA ||
8861
Reader.
NodeType
== Xml.XmlNodeType.Whitespace ||
8862
Reader.
NodeType
== Xml.XmlNodeType.SignificantWhitespace) {
8932
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
8933
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
8936
else if (Reader.
NodeType
== Xml.XmlNodeType.Text ||
8937
Reader.
NodeType
== Xml.XmlNodeType.CDATA ||
8938
Reader.
NodeType
== Xml.XmlNodeType.Whitespace ||
8939
Reader.
NodeType
== Xml.XmlNodeType.SignificantWhitespace) {
9021
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9022
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9125
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9126
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9213
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9214
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9313
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9314
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9405
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9406
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9613
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9614
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9697
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9698
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9781
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9782
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9865
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9866
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
9949
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
9950
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10033
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10034
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10117
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10118
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10201
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10202
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10285
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10286
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10369
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10370
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10453
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10454
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10537
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10538
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10617
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10618
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10790
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10791
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
10913
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
10914
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11007
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11008
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11088
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11089
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11183
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11184
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11294
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11295
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11427
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11428
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11522
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11523
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11660
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11661
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11745
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11746
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11887
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11888
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
11963
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
11964
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12052
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12053
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12158
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12159
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12386
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12387
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12475
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12476
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12596
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12597
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12716
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12717
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12816
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12817
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
12897
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
12898
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
13027
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
13028
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
13107
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
13108
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
13187
while (Reader.
NodeType
!= Xml.XmlNodeType.EndElement && Reader.
NodeType
!= Xml.XmlNodeType.None) {
13188
if (Reader.
NodeType
== Xml.XmlNodeType.Element) {
System.Xaml (7)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlCompatibilityReader.cs (2)
172
switch (Reader.
NodeType
)
746
_inAttribute = (Reader.
NodeType
== XmlNodeType.Attribute);
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
41
public override XmlNodeType NodeType { get { return _reader.
NodeType
; } }
System\Xaml\Parser\XamlScanner.cs (4)
180
XmlNodeType xmlNodeType = _xmlReader.
NodeType
;
248
Debug.Assert(_xmlReader.
NodeType
== XmlNodeType.Element);
284
Debug.Assert(_xmlReader.
NodeType
== XmlNodeType.Element);
426
Debug.Assert(_xmlReader.
NodeType
== XmlNodeType.Element);