29 overrides of NodeType
PresentationBuildTasks (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
57
public override XmlNodeType
NodeType
{ get { return _reader.NodeType; } }
System.Activities (1)
System\Activities\Debugger\XmlWrappingReader.cs (1)
24
public override XmlNodeType
NodeType
System.Data (1)
fx\src\data\System\Data\xmlsaver.cs (1)
2866
public override XmlNodeType
NodeType
{
System.Data.Services.Client (1)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
211
public override XmlNodeType
NodeType
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
58
public override XmlNodeType
NodeType
{
System.IdentityModel (3)
System\IdentityModel\DelegatingXmlDictionaryReader.cs (1)
173
public override XmlNodeType
NodeType
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
202
public override XmlNodeType
NodeType
System\IdentityModel\WrappedXmlDictionaryReader.cs (1)
139
public override XmlNodeType
NodeType
System.Runtime.Serialization (6)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
121
public override XmlNodeType
NodeType
{ get { return IsXmlDataNode ? xmlNodeReader.NodeType : nodeType; } }
System\Runtime\Serialization\XmlSerializableReader.cs (1)
70
public override XmlNodeType
NodeType
{ get { return InnerReader.NodeType; } }
System\Xml\XmlBaseReader.cs (1)
941
public sealed override XmlNodeType
NodeType
System\Xml\XmlDictionaryReader.cs (1)
1521
public override XmlNodeType
NodeType
System\Xml\XmlMtomReader.cs (2)
692
public override XmlNodeType
NodeType
1114
public override XmlNodeType
NodeType
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\XmlByteStreamReader.cs (1)
116
public override XmlNodeType
NodeType
System.Xml (12)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
413
public override XmlNodeType
NodeType
{
System\Xml\Core\XmlAsyncCheckReader.cs (1)
75
public override XmlNodeType
NodeType
{
System\Xml\Core\XmlTextReader.cs (1)
108
public override XmlNodeType
NodeType
{
System\Xml\Core\XmlTextReaderImpl.cs (1)
869
public override XmlNodeType
NodeType
{
System\Xml\Core\XmlValidatingReader.cs (1)
52
public override XmlNodeType
NodeType
{
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
258
public override XmlNodeType
NodeType
{
System\Xml\Core\XmlWrappingReader.cs (1)
38
public override XmlNodeType
NodeType
{ get { return reader.NodeType; } }
System\Xml\Core\XsdCachingReader.cs (1)
105
public override XmlNodeType
NodeType
{
System\Xml\Core\XsdValidatingReader.cs (1)
209
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlNodeReader.cs (1)
993
public override XmlNodeType
NodeType
{
System\Xml\Serialization\XmlCountingReader.cs (1)
34
public override XmlNodeType
NodeType
{ get { return innerReader.NodeType; } }
System\Xml\XPath\XPathNavigatorReader.cs (1)
176
public override XmlNodeType
NodeType
{
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
8276
public override XmlNodeType
NodeType
{
WindowsBase (1)
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
57
public override XmlNodeType
NodeType
{ get { return _reader.NodeType; } }
1100 references to NodeType
PresentationBuildTasks (15)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (2)
187
switch (Reader.
NodeType
)
761
_inAttribute = (Reader.
NodeType
== XmlNodeType.Attribute);
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
57
public override XmlNodeType NodeType { get { return _reader.
NodeType
; } }
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
796
XmlNodeType currNodeType = xmlReader.
NodeType
;
BuildTasks\Ms\Internal\MarkupCompiler\ParserExtension.cs (2)
425
string attrName = (xmlReader.
NodeType
== XmlNodeType.Attribute) ? xmlReader.Name : null;
718
while (!xamlDefTagNode.IsEmptyElement && xamlDefTagNode.XmlReader.
NodeType
!= XmlNodeType.EndElement)
Framework\System\Windows\Markup\XamlReaderHelper.cs (9)
394
switch (XmlReader.
NodeType
)
1249
switch (XmlReader.
NodeType
)
1332
XmlReader.
NodeType
.ToString());
2085
CompileBamlTag(XmlReader.
NodeType
, ref endTagHasBeenRead);
2101
switch (XmlReader.
NodeType
)
2107
CompileText(XmlReader.
NodeType
, XmlReader.Value);
2167
CompileText(XmlReader.
NodeType
, XmlReader.Value);
3810
CompileText(XmlReader.
NodeType
, XmlReader.Value);
5176
0 == XmlReader.Depth && XmlReader.
NodeType
== XmlNodeType.None))
PresentationCore (7)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (7)
213
if (_reader.
NodeType
== XmlNodeType.Attribute)
220
if (_reader.
NodeType
== XmlNodeType.Attribute)
303
switch (_reader.
NodeType
)
315
return _reader.
NodeType
;
420
if (_reader.
NodeType
== XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace)
588
if (_reader.
NodeType
== XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace)
838
if (_reader.
NodeType
== XmlNodeType.Element && _reader.NamespaceURI == CompositeFontNamespace)
PresentationFramework (16)
src\Framework\MS\Internal\AppModel\XappLauncher.cs (1)
465
while(rdr.
NodeType
!= XmlNodeType.EndElement)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
418
switch (_xamlReader.
NodeType
)
src\Framework\System\Windows\Annotations\Annotation.cs (6)
315
while (!(XmlNodeType.EndElement == reader.
NodeType
&& AnnotationXmlConstants.Elements.Annotation == reader.LocalName))
324
while (!(AnnotationXmlConstants.Elements.AnchorCollection == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
339
while (!(AnnotationXmlConstants.Elements.CargoCollection == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
354
while (!(AnnotationXmlConstants.Elements.AuthorCollection == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
356
if (!(AnnotationXmlConstants.Elements.StringAuthor == reader.LocalName && XmlNodeType.Element == reader.
NodeType
))
548
if (reader.
NodeType
== XmlNodeType.Attribute)
src\Framework\System\Windows\Annotations\AnnotationResource.cs (2)
201
while (!(AnnotationXmlConstants.Elements.Resource == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
213
else if (XmlNodeType.Element == reader.
NodeType
)
src\Framework\System\Windows\Annotations\LocatorGroup.cs (1)
156
while (!(AnnotationXmlConstants.Elements.ContentLocatorGroup == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
src\Framework\System\Windows\Annotations\LocatorPartList.cs (4)
242
while (!(AnnotationXmlConstants.Elements.ContentLocator == reader.LocalName && XmlNodeType.EndElement == reader.
NodeType
))
244
if (XmlNodeType.Element != reader.
NodeType
)
260
while (!(XmlNodeType.EndElement == reader.
NodeType
&& part.PartType.Name == reader.LocalName))
303
if (!(XmlNodeType.EndElement == reader.
NodeType
&& AnnotationXmlConstants.Elements.Item == reader.LocalName))
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
396
switch (xmlReader.
NodeType
)
System.Activities (1)
System\Activities\Debugger\XmlWrappingReader.cs (1)
26
get { return this.baseReader.
NodeType
; }
System.Configuration (7)
System\Configuration\ConfigurationElement.cs (4)
1515
if (reader.
NodeType
== XmlNodeType.Element) {
1546
else if (reader.
NodeType
== XmlNodeType.EndElement) {
1549
else if ((reader.
NodeType
== XmlNodeType.CDATA) || (reader.
NodeType
== XmlNodeType.Text)) {
System\Configuration\ConfigurationSection.cs (1)
59
if (!reader.Read() || reader.
NodeType
!= XmlNodeType.Element) {
System\Configuration\DefaultSection.cs (1)
49
if (!xmlReader.Read() || xmlReader.
NodeType
!= XmlNodeType.Element) {
System\Configuration\IgnoreSection.cs (1)
49
if (!xmlReader.Read() || xmlReader.
NodeType
!= XmlNodeType.Element) {
System.Data (56)
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
352
if(type == typeof(string) && xmlReader.
NodeType
== XmlNodeType.Element && xmlReader.IsEmptyElement) {
fx\src\data\System\Data\DataSet.cs (23)
186
if (reader.
NodeType
== XmlNodeType.Element) {
1488
if (reader.
NodeType
== XmlNodeType.Element) {
1566
if (reader.
NodeType
== XmlNodeType.Element)
1571
if (reader.
NodeType
== XmlNodeType.Element) {
1646
while (!reader.EOF && reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.Element && reader.Depth > depth) {
1649
return (reader.
NodeType
== XmlNodeType.Element);
1653
while (!reader.EOF && reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.Element) {
1658
while (reader.
NodeType
== XmlNodeType.Whitespace) {
1661
if (reader.
NodeType
== XmlNodeType.None) {
1664
else if (reader.
NodeType
== XmlNodeType.EndElement) {
1692
while (reader.
NodeType
== XmlNodeType.Whitespace) {
1927
if (reader.
NodeType
== XmlNodeType.Element)
1930
if (reader.
NodeType
== XmlNodeType.Element) {
2014
while (!reader.EOF && reader.
NodeType
== XmlNodeType.Whitespace)
2016
if (reader.
NodeType
!= XmlNodeType.Element)
2234
if (reader.
NodeType
== XmlNodeType.Whitespace)
2245
if (reader.
NodeType
== XmlNodeType.Whitespace) {
2254
if (reader.
NodeType
== XmlNodeType.Whitespace) {
2258
Debug.Assert(reader.
NodeType
!= XmlNodeType.Whitespace, "Should not be on Whitespace node");
2351
if ((mode != XmlReadMode.Fragment) && (reader.
NodeType
== XmlNodeType.Element))
2357
if (reader.
NodeType
== XmlNodeType.Element) {
fx\src\data\System\Data\DataTable.cs (10)
5162
if (reader.
NodeType
== XmlNodeType.Element) {
5354
if ((mode != XmlReadMode.Fragment) && (reader.
NodeType
== XmlNodeType.Element))
5367
if (reader.
NodeType
== XmlNodeType.Element) {
5560
while (reader.
NodeType
== XmlNodeType.Whitespace) {
5563
if (reader.
NodeType
== XmlNodeType.None) {
5566
else if (reader.
NodeType
== XmlNodeType.EndElement) {
5577
while (!reader.EOF && reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.Element && reader.Depth > depth) {
5580
return (reader.
NodeType
== XmlNodeType.Element);
5606
if (reader.
NodeType
== XmlNodeType.Whitespace) {
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
974
if ( (XmlNodeType.Element == xmlReader.
NodeType
) &&
1064
if ((XmlNodeType.Element != xmlReader.
NodeType
) || (0 != String.Compare(xmlReader.LocalName, MessageNode, StringComparison.OrdinalIgnoreCase))) {
1076
if (xmlReader.
NodeType
!= XmlNodeType.Text) {
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
571
switch (_xmlReader.
NodeType
) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
10384
if (feed._source.
NodeType
== XmlNodeType.XmlDeclaration) {
fx\src\data\System\Data\XmlDataLoader.cs (5)
602
if ( reader.
NodeType
!= XmlNodeType.Element ) { // Read till Element is found
707
switch (dataReader.
NodeType
) { // Process nodes based on type
924
switch (dataReader.
NodeType
) { // Process nodes based on type
1162
switch (dataReader.
NodeType
) { // Process nodes based on type
1173
while ( dataReader.Read() && entryDepth < dataReader.Depth && IsTextLikeNode(dataReader.
NodeType
)) {
fx\src\data\System\Data\XMLDiffLoader.cs (11)
192
if (XmlNodeType.Element == ssync.
NodeType
) {
202
while ((ssync.
NodeType
== XmlNodeType.EndElement) && (iSsyncDepth < ssync.Depth) )
240
if (XmlNodeType.Element == ssync.
NodeType
) {
249
while ((ssync.
NodeType
== XmlNodeType.EndElement) && (iSsyncDepth < ssync.Depth) )
328
if (currentDepth == iRowDepth && row.
NodeType
== XmlNodeType.EndElement) {
348
while((row.
NodeType
!= XmlNodeType.EndElement) && (row.LocalName!=ln) && (row.NamespaceURI!=ns))
393
if (row.
NodeType
== XmlNodeType.Text || row.
NodeType
== XmlNodeType.Whitespace || row.
NodeType
== XmlNodeType.SignificantWhitespace) {
414
while (reader.
NodeType
== XmlNodeType.Whitespace || reader.
NodeType
== XmlNodeType.SignificantWhitespace) {
fx\src\data\System\Data\xmlsaver.cs (1)
2868
return _xmlreader.
NodeType
;
System.Data.Entity (12)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (5)
143
if (sourceReader.
NodeType
!= XmlNodeType.Element)
145
while (sourceReader.Read() && sourceReader.
NodeType
!= XmlNodeType.Element)
304
if (reader != null && !IsValidateableXmlNamespace(reader.NamespaceURI, reader.
NodeType
== XmlNodeType.Attribute))
318
if ( (reader.
NodeType
== XmlNodeType.Attribute) || (e.Severity == System.Xml.Schema.XmlSeverityType.Warning))
326
if ((this.SchemaVersion >= XmlConstants.EdmVersionForV2) && (reader.
NodeType
== XmlNodeType.Attribute)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (5)
241
Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
264
switch ( reader.
NodeType
)
303
System.Data.Entity.Strings.UnexpectedXmlNodeType(reader.
NodeType
));
657
if (reader.
NodeType
== XmlNodeType.Element)
706
Debug.Assert(reader.
NodeType
== XmlNodeType.Attribute, "called an attribute function when not on an attribute");
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (2)
205
if (!reader.EOF && reader.
NodeType
!= XmlNodeType.Element)
207
while (reader.Read() && reader.
NodeType
!= XmlNodeType.Element)
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityFrameworkVersions.cs (2)
198
if (!reader.EOF && reader.
NodeType
!= XmlNodeType.Element)
200
while (reader.Read() && reader.
NodeType
!= XmlNodeType.Element)
System.Data.Linq (19)
Mapping\MappingSource.cs (19)
242
if (reader.
NodeType
!= XmlNodeType.EndElement) {
243
throw Error.ExpectedEmptyElement(nodeName, reader.
NodeType
, reader.Name);
251
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
269
while (reader.
NodeType
!= XmlNodeType.EndElement) {
270
if (reader.
NodeType
== XmlNodeType.Whitespace || !IsInNamespace(reader)) {
325
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
344
while (reader.
NodeType
!= XmlNodeType.EndElement) {
345
if (reader.
NodeType
== XmlNodeType.Whitespace || !IsInNamespace(reader)) {
376
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
394
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
418
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
435
while (reader.
NodeType
!= XmlNodeType.EndElement) {
436
if (reader.
NodeType
== XmlNodeType.Whitespace || !IsInNamespace(reader)) {
469
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
478
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
502
while (reader.
NodeType
!= XmlNodeType.EndElement) {
503
if (reader.
NodeType
== XmlNodeType.Whitespace || !IsInNamespace(reader)) {
533
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
567
System.Diagnostics.Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
System.Data.Services (17)
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
61
switch (reader.
NodeType
)
System\Data\Services\Serializers\PlainXmlDeserializer.cs (9)
211
switch (this.xmlReader.
NodeType
)
243
this.xmlReader.
NodeType
!= XmlNodeType.Element,
262
Debug.Assert(reader.
NodeType
== XmlNodeType.Element, "reader.NodeType == XmlNodeType.Element");
274
if (reader.
NodeType
!= XmlNodeType.EndElement)
296
Debug.Assert(XmlNodeType.Element == reader.
NodeType
, "not positioned on Element");
312
switch (reader.
NodeType
)
394
switch (reader.
NodeType
)
415
reader.
NodeType
!= XmlNodeType.Element,
569
reader.
NodeType
== XmlNodeType.EndElement,
System\Data\Services\Serializers\SyndicationDeserializer.cs (3)
258
reader.
NodeType
== XmlNodeType.Element,
259
reader.
NodeType
.ToString() + " == XmlNodeType.Element -- otherwise XmlSyndicationContent didn't see a 'content' tag");
608
if (linkReader.
NodeType
== XmlNodeType.Element)
System\Data\Services\WebUtil.cs (4)
1176
switch (reader.
NodeType
)
1399
return ((XmlNodeType.Element == reader.
NodeType
) || (XmlNodeType.EndElement == reader.
NodeType
)) &&
1418
switch (xmlReader.
NodeType
)
System.Data.Services.Client (38)
System\Data\Services\Client\AtomParser.cs (22)
207
this.reader.
NodeType
== XmlNodeType.Element || this.reader.
NodeType
== XmlNodeType.EndElement,
212
if (this.reader.
NodeType
== XmlNodeType.EndElement)
341
reader.
NodeType
== XmlNodeType.Element || reader.
NodeType
== XmlNodeType.EndElement,
390
Debug.Assert(reader.
NodeType
!= XmlNodeType.EndElement, "reader.NodeType != XmlNodeType.EndElement");
414
(reader.
NodeType
== XmlNodeType.EndElement ||
415
(reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement))))
449
reader.
NodeType
== XmlNodeType.EndElement,
454
if (reader.
NodeType
== XmlNodeType.SignificantWhitespace ||
455
reader.
NodeType
== XmlNodeType.Text)
478
switch (reader.
NodeType
)
532
Debug.Assert(this.reader.
NodeType
== XmlNodeType.Element, "this.reader.NodeType == XmlNodeType.Element");
572
else if (this.reader.
NodeType
!= XmlNodeType.EndElement)
587
this.reader.
NodeType
== XmlNodeType.Element,
748
switch (this.reader.
NodeType
)
799
this.reader.
NodeType
== XmlNodeType.Element,
839
Debug.Assert(this.reader.
NodeType
== XmlNodeType.Element, "this.reader.NodeType == XmlNodeType.Element");
848
if (this.reader.
NodeType
== XmlNodeType.EndElement)
853
if (this.reader.
NodeType
== XmlNodeType.Element)
875
Debug.Assert(this.reader.
NodeType
== XmlNodeType.Element, "this.reader.NodeType == XmlNodeType.Element");
899
if (this.reader.
NodeType
== XmlNodeType.Element)
System\Data\Services\Client\MaterializeFromAtom.cs (5)
380
Debug.Assert(reader.
NodeType
== XmlNodeType.Element, "reader.NodeType == XmlNodeType.Element");
390
if (reader.
NodeType
== XmlNodeType.EndElement && reader.Depth == readerDepth)
486
while (this.reader.
NodeType
!= XmlNodeType.Element && this.reader.Read())
558
reader.
NodeType
== XmlNodeType.Element,
571
switch (reader.
NodeType
)
System\Data\Services\Client\Util.cs (3)
415
return ((XmlNodeType.Element == reader.
NodeType
) || (XmlNodeType.EndElement == reader.
NodeType
)) &&
563
Debug.Assert(XmlNodeType.Element == reader.
NodeType
, "not positioned on Element");
System\Data\Services\Client\Xml\XmlAtomErrorReader.cs (5)
64
Debug.Assert(XmlNodeType.Element == reader.
NodeType
, "not positioned on Element");
76
switch (reader.
NodeType
)
109
Debug.Assert(reader.
NodeType
== XmlNodeType.Element, "reader.NodeType == XmlNodeType.Element");
115
if (reader.
NodeType
== XmlNodeType.Element)
128
else if (reader.
NodeType
== XmlNodeType.EndElement)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (3)
215
return this.reader.
NodeType
;
439
if (this.reader.
NodeType
== XmlNodeType.EndElement)
457
if (this.reader.
NodeType
== XmlNodeType.Element &&
System.Data.SqlXml (24)
System\Xml\Xsl\QIL\QilXmlReader.cs (3)
74
switch (r.
NodeType
) {
95
Debug.Fail("Unexpected event " + r.
NodeType
+ ", value " + r.Value);
390
switch (r.
NodeType
) {
System\Xml\Xsl\Xslt\XsltInput.cs (21)
167
rec.start = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition - PositionAdjustment(reader.
NodeType
));
173
rec.end = new Location(readerLineInfo.LineNumber, readerLineInfo.LinePosition - PositionAdjustment(reader.
NodeType
));
182
reader.
NodeType
== XmlNodeType.Whitespace || reader.
NodeType
== XmlNodeType.SignificantWhitespace ||
183
reader.
NodeType
== XmlNodeType.Text || reader.
NodeType
== XmlNodeType.CDATA
192
bool isCDATA = (reader.
NodeType
== XmlNodeType.CDATA);
219
Debug.Assert(reader.
NodeType
== XmlNodeType.EntityReference);
232
Debug.Assert(reader.
NodeType
== XmlNodeType.Text || reader.
NodeType
== XmlNodeType.Whitespace || reader.
NodeType
== XmlNodeType.SignificantWhitespace);
235
Debug.Assert(reader.
NodeType
== XmlNodeType.EndEntity);
247
Debug.Assert(reader.
NodeType
== XmlNodeType.Attribute, "reader.NodeType == XmlNodeType.Attribute");
270
int correction = (reader.
NodeType
== XmlNodeType.EntityReference) ? -2 : -1;
280
switch (reader.
NodeType
) {
287
Debug.Assert(reader.
NodeType
== XmlNodeType.Text, "Unexpected node type inside attribute value");
295
Debug.Assert(reader.
NodeType
!= XmlNodeType.EntityReference);
296
int correction = ((reader.
NodeType
== XmlNodeType.EndEntity) ? 1 : lastText.Length) + 1;
337
switch (reader.
NodeType
) {
395
switch (reader.
NodeType
) {
428
Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
System.IdentityModel (14)
System\IdentityModel\DelegatingXmlDictionaryReader.cs (1)
175
get { return _innerReader.
NodeType
; }
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
206
return _reader.
NodeType
;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
3156
while (reader.
NodeType
== XmlNodeType.Whitespace)
3163
if (reader.
NodeType
== XmlNodeType.Element)
3165
while (reader.
NodeType
== XmlNodeType.Element)
5330
if (!requireKeyInfo && XmlNodeType.EndElement != reader.
NodeType
)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
2732
while (reader.
NodeType
== XmlNodeType.Whitespace)
2739
if (reader.
NodeType
== XmlNodeType.Element)
2741
while (reader.
NodeType
== XmlNodeType.Element)
System\IdentityModel\WrappedReader.cs (1)
306
base.InnerReader.
NodeType
, base.InnerReader.Name)));
System\IdentityModel\WrappedXmlDictionaryReader.cs (1)
143
return this.reader.
NodeType
;
System\IdentityModel\XmlHelper.cs (3)
18
while (reader.
NodeType
== XmlNodeType.Whitespace || reader.
NodeType
== XmlNodeType.SignificantWhitespace)
87
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedXmlChildNode, r.Name, r.
NodeType
, parentName)));
System.Runtime.Serialization (22)
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
174
get { return isEndOfEmptyElement ? XmlNodeType.EndElement : reader.
NodeType
; }
System\Runtime\Serialization\XmlSerializableReader.cs (3)
55
if (reader.
NodeType
== XmlNodeType.EndElement ||
56
(reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement))
70
public override XmlNodeType NodeType { get { return InnerReader.
NodeType
; } }
System\Runtime\Serialization\XmlSerializableServices.cs (1)
40
while (xmlReader.Depth > startDepth && xmlReader.
NodeType
!= XmlNodeType.EndElement)
System\Xml\ArrayHelper.cs (1)
43
if (read < array.Length || reader.
NodeType
== XmlNodeType.EndElement)
System\Xml\XmlDictionaryReader.cs (7)
422
switch (this.
NodeType
)
487
if (this.
NodeType
!= XmlNodeType.Element)
489
if (this.
NodeType
== XmlNodeType.Element)
495
if (this.
NodeType
== XmlNodeType.EndElement)
500
while (IsTextNode(this.
NodeType
))
591
XmlNodeType nodeType = this.
NodeType
;
1525
return reader.
NodeType
;
System\Xml\XmlDictionaryWriter.cs (4)
773
if (reader.
NodeType
== XmlNodeType.EntityReference)
892
int d = (reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth);
895
XmlNodeType nodeType = reader.
NodeType
;
938
while (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement));
System\Xml\XmlExceptionHelper.cs (2)
68
switch (reader.
NodeType
)
83
return SR.GetString(SR.XmlFoundNodeType, reader.
NodeType
);
System\Xml\XmlMtomReader.cs (3)
282
if (xmlReader.
NodeType
== XmlNodeType.Element)
696
return xmlReader.
NodeType
;
1118
return (readState == ReadState.Interactive) ? nodeType : parentReader.
NodeType
;
System.ServiceModel (85)
System\ServiceModel\Channels\AddressHeader.cs (2)
327
Fx.Assert(reader.
NodeType
== XmlNodeType.Element, "");
373
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
1733
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\BodyWriter.cs (1)
145
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
143
if (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\Message.cs (10)
610
if (reader.
NodeType
!= XmlNodeType.Element)
612
if (reader.
NodeType
== XmlNodeType.Element)
617
else if (reader.
NodeType
== XmlNodeType.EndElement)
1245
while (bodyReader.
NodeType
!= XmlNodeType.EndElement && !bodyReader.EOF)
1299
if (reader.
NodeType
!= XmlNodeType.Element)
1333
if (reader.
NodeType
!= XmlNodeType.Element)
1622
if (reader.
NodeType
!= XmlNodeType.Element)
1633
if (reader.
NodeType
!= XmlNodeType.Element)
1640
if (reader.
NodeType
!= XmlNodeType.Element)
1664
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\MessageFault.cs (3)
180
if (reader.
NodeType
!= XmlNodeType.EndElement && !reader.EOF)
576
while (r.
NodeType
!= XmlNodeType.EndElement)
607
while (r.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\MessageHeader.cs (1)
457
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\MessageHeaders.cs (6)
417
if (reader.
NodeType
!= XmlNodeType.Element)
774
if (reader.
NodeType
== XmlNodeType.Element)
778
if (reader.
NodeType
== XmlNodeType.Element)
797
if (reader.
NodeType
!= XmlNodeType.Element)
820
if (reader.
NodeType
== XmlNodeType.EndElement)
1673
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Channels\WsrmFault.cs (2)
732
if ((headerReader.
NodeType
!= XmlNodeType.Element)
757
if ((headerReader.
NodeType
== XmlNodeType.Element)
System\ServiceModel\Channels\WsrmMessageInfo.cs (8)
1509
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1522
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1537
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1550
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1577
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1598
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1604
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
1615
SR.GetString(SR.UnexpectedXmlChildNode, reader.Name, reader.
NodeType
,
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (2)
454
if (XmlNodeType.Element != reader.
NodeType
)
464
if (XmlNodeType.Element == subTree.
NodeType
)
System\ServiceModel\Description\MetadataSet.cs (15)
437
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
493
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None)
495
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
564
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None)
566
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
576
if (this.Reader.
NodeType
== XmlNodeType.EndElement)
647
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None)
650
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
654
else if (Reader.
NodeType
== System.Xml.XmlNodeType.Text ||
655
Reader.
NodeType
== System.Xml.XmlNodeType.CDATA ||
656
Reader.
NodeType
== System.Xml.XmlNodeType.Whitespace ||
657
Reader.
NodeType
== System.Xml.XmlNodeType.SignificantWhitespace)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
376
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SR.GetString(SR.SFxInvalidMessageBody, messageInfo.WrapperName, messageInfo.WrapperNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
146
if (detailReader.
NodeType
!= XmlNodeType.EndElement && !detailReader.EOF)
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
500
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SR.GetString(SR.SFxInvalidMessageBody, requestWrapperName, requestWrapperNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
522
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(SR.GetString(SR.SFxInvalidMessageBody, responseWrapperName, responseWrapperNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (1)
1936
switch (reader.
NodeType
)
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
262
if (reader.
NodeType
== XmlNodeType.EndElement)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
379
if (reader.
NodeType
== XmlNodeType.EndElement)
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (2)
457
if (reader.
NodeType
== XmlNodeType.Attribute)
524
if (reader.
NodeType
== XmlNodeType.Attribute)
System\ServiceModel\EndpointAddress.cs (4)
561
else if (reader.
NodeType
!= XmlNodeType.Element)
599
else if (reader.
NodeType
!= XmlNodeType.Element)
934
while (reader.
NodeType
!= XmlNodeType.EndElement && !reader.EOF)
989
return (reader.
NodeType
== XmlNodeType.EndElement || reader.EOF);
System\ServiceModel\EndpointIdentity.cs (1)
230
else if (reader.
NodeType
== XmlNodeType.Element)
System\ServiceModel\Security\SecurityAppliedMessage.cs (1)
145
while (reader.
NodeType
!= XmlNodeType.EndElement)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (6)
219
if (reader.
NodeType
!= XmlNodeType.Element)
228
if (reader.
NodeType
!= XmlNodeType.Element)
236
if (reader.
NodeType
!= XmlNodeType.Element)
259
if (reader.
NodeType
!= XmlNodeType.Element)
424
while (reader.
NodeType
!= XmlNodeType.EndElement)
506
if (reader.
NodeType
!= XmlNodeType.Element)
System\ServiceModel\Security\WSSecureConversation.cs (1)
429
Fx.Assert(reader.
NodeType
== XmlNodeType.Element, "");
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (3)
74
if (!bodyContentReader.EOF && bodyContentReader.
NodeType
!= XmlNodeType.EndElement)
204
if (reader.
NodeType
!= XmlNodeType.Element)
308
if (reader.
NodeType
!= XmlNodeType.Element)
System\ServiceModel\Security\XmlHelper.cs (5)
130
while (reader.
NodeType
== XmlNodeType.Whitespace || reader.
NodeType
== XmlNodeType.SignificantWhitespace)
156
if (reader.
NodeType
== XmlNodeType.Comment)
160
else if (reader.
NodeType
== XmlNodeType.Whitespace)
212
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedXmlChildNode, r.Name, r.
NodeType
, parentName)));
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (3)
542
TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.SyndicationProtocolElementIgnoredOnRead, SR.GetString(SR.TraceCodeSyndicationProtocolElementIgnoredOnRead, reader.
NodeType
, reader.LocalName, reader.NamespaceURI));
583
switch (reader.
NodeType
)
598
return SR.GetString(SR.XmlFoundNodeType, reader.
NodeType
);
System.ServiceModel.Discovery (3)
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (1)
394
if ((reader.
NodeType
== XmlNodeType.EndElement) && (reader.Depth == startDepth))
System\ServiceModel\Discovery\FindCriteria.cs (1)
333
if ((reader.
NodeType
== XmlNodeType.EndElement) && (reader.Depth == startDepth))
System\ServiceModel\Discovery\ResolveCriteria.cs (1)
116
if ((reader.
NodeType
== XmlNodeType.EndElement) && (reader.Depth == startDepth))
System.ServiceModel.Web (4)
System\ServiceModel\Dispatcher\DataContractJsonSerializerOperationFormatter.cs (4)
548
throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(System.ServiceModel.SR.GetString(System.ServiceModel.SR.SFxInvalidMessageBody, JsonGlobals.rootString, string.Empty, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
734
throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(System.ServiceModel.SR.GetString(System.ServiceModel.SR.SFxInvalidMessageBody, messageInfo.WrapperName, messageInfo.WrapperNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
762
throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(System.ServiceModel.SR.GetString(System.ServiceModel.SR.SFxInvalidMessageBody, elementName, string.Empty, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
783
throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SerializationException(System.ServiceModel.SR.GetString(System.ServiceModel.SR.SFxInvalidMessageBody, elementName, elementNamespace, reader.
NodeType
, reader.Name, reader.NamespaceURI)));
System.Web (5)
UI\WebControls\AdRotator.cs (3)
544
if (reader.
NodeType
== XmlNodeType.Element && reader.Name == "Ad" && reader.Depth == 1) {
548
while (!(reader.
NodeType
== XmlNodeType.EndElement)) {
549
if (reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement) {
UI\WebParts\ImportCatalogPart.cs (1)
254
while (!reader.EOF && !(reader.
NodeType
== XmlNodeType.Element &&
UI\WebParts\WebPartManager.cs (1)
3140
((reader.Name == ExportIPersonalizableElement) && (reader.
NodeType
== XmlNodeType.EndElement))) {
System.Web.Extensions (86)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (28)
206
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
257
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
258
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
272
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
273
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
307
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
308
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
342
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
343
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
377
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
378
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
451
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
452
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
501
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
502
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
574
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
575
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
641
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
642
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
Compilation\XmlSerializer\SvcMapFileSerializer.cs (58)
393
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
443
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
444
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
464
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
465
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
499
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
500
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
534
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
535
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
608
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
609
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
681
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
682
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
748
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
749
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
796
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
797
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
827
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
828
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
875
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
876
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
905
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
906
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
965
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
966
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
995
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
996
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
1025
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
1026
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
1098
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
1099
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
1144
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
1145
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
1190
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
1191
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
1249
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
1250
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
1308
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
1309
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
System.Web.Services (309)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (273)
4117
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4183
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4184
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4267
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4268
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4338
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4339
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4404
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4405
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4454
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4455
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4504
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4505
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4566
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4567
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4643
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4644
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4727
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4728
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4802
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4803
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4872
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4873
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
4937
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
4938
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5034
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5035
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5106
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5107
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5168
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5169
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5234
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5235
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5306
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5307
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5368
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5369
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5415
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5416
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5491
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5492
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5543
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5544
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5595
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5596
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5662
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5663
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5716
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5717
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5773
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5774
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5856
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5857
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5902
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5903
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
5960
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
5961
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6022
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6023
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6080
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6081
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6134
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6135
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6188
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6189
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6238
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6239
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6296
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6297
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6369
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6370
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6446
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6447
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6514
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6515
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6582
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6583
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6647
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6648
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6722
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6723
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6783
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6784
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6876
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6877
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
6974
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
6975
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7056
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7057
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7121
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7122
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7184
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7185
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7188
else if (Reader.
NodeType
== System.Xml.XmlNodeType.Text ||
7189
Reader.
NodeType
== System.Xml.XmlNodeType.CDATA ||
7190
Reader.
NodeType
== System.Xml.XmlNodeType.Whitespace ||
7191
Reader.
NodeType
== System.Xml.XmlNodeType.SignificantWhitespace) {
7249
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7250
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7253
else if (Reader.
NodeType
== System.Xml.XmlNodeType.Text ||
7254
Reader.
NodeType
== System.Xml.XmlNodeType.CDATA ||
7255
Reader.
NodeType
== System.Xml.XmlNodeType.Whitespace ||
7256
Reader.
NodeType
== System.Xml.XmlNodeType.SignificantWhitespace) {
7326
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7327
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7418
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7419
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7494
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7495
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7582
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7583
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7655
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7656
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7767
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7768
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7839
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7840
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7911
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7912
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
7983
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
7984
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8055
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8056
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8127
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8128
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8199
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8200
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8271
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8272
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8343
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8344
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8415
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8416
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8487
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8488
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8559
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8560
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8627
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8628
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8788
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8789
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8878
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8879
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
8953
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
8954
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9022
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9023
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9098
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9099
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9190
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9191
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9297
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9298
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9373
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9374
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9464
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9465
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9537
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9538
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9632
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9633
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9696
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9697
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9773
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9774
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9853
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9854
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
9971
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
9972
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10048
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10049
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10143
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10144
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10237
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10238
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10325
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10326
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10394
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10395
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10477
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10478
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10545
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10546
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
10613
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
10614
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
System\Web\Services\Description\WebReferenceOptions.cs (7)
304
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
305
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
326
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
327
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
385
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
System\Web\Services\Discovery\DiscoveryDocumentSerializer.cs (16)
148
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
191
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
192
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
255
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
256
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
305
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
306
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
355
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
356
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
401
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement && Reader.
NodeType
!= System.Xml.XmlNodeType.None) {
402
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
System\Web\Services\Protocols\SoapClientProtocol.cs (11)
696
if (reader.
NodeType
== XmlNodeType.EndElement) {
724
while (reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.None) {
743
while (reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.None) {
752
while (reader.
NodeType
== XmlNodeType.Whitespace) reader.Skip();
753
if (reader.
NodeType
== XmlNodeType.None) reader.Skip();
780
if (reader.
NodeType
== XmlNodeType.EndElement) {
813
while (reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.None) {
835
if (reader.
NodeType
== XmlNodeType.EndElement) {
System\Web\Services\Protocols\SoapHeader.cs (1)
284
if (reader.
NodeType
== XmlNodeType.EndElement) {
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
644
if (reader.
NodeType
== XmlNodeType.EndElement) {
System.Windows.Forms (8)
winforms\Managed\System\Resources\ResXResourceReader.cs (8)
490
if (reader.
NodeType
== XmlNodeType.Element) {
498
if (reader.
NodeType
== XmlNodeType.Element) {
506
if (reader.
NodeType
== XmlNodeType.Element) {
514
if (reader.
NodeType
== XmlNodeType.Element) {
524
if (reader.
NodeType
== XmlNodeType.Element) {
532
if (reader.
NodeType
== XmlNodeType.Element) {
540
if (reader.
NodeType
== XmlNodeType.Element) {
548
if (reader.
NodeType
== XmlNodeType.Element) {
System.Workflow.ComponentModel (23)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
269
if (reader != null && reader.
NodeType
== XmlNodeType.Element)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (20)
132
while (xmlReader.Read() && xmlReader.
NodeType
!= XmlNodeType.Element && xmlReader.
NodeType
!= XmlNodeType.ProcessingInstruction);
218
if (reader.
NodeType
!= XmlNodeType.Element)
275
if (reader.
NodeType
!= XmlNodeType.Element)
446
if (reader.
NodeType
!= XmlNodeType.Comment && reader.
NodeType
!= XmlNodeType.Whitespace && !unnecessaryXmlFound)
456
if (reader.
NodeType
== XmlNodeType.Element)
513
else if (reader.
NodeType
== XmlNodeType.Text && contentProperty.Property != null)
524
if (reader.
NodeType
== XmlNodeType.Entity ||
525
reader.
NodeType
== XmlNodeType.Text ||
526
reader.
NodeType
== XmlNodeType.CDATA)
1654
while (reader.
NodeType
!= XmlNodeType.EndElement && reader.
NodeType
!= XmlNodeType.Element && reader.
NodeType
!= XmlNodeType.Text && reader.Read());
1852
} while (reader.
NodeType
!= XmlNodeType.Text && reader.
NodeType
!= XmlNodeType.Element && reader.
NodeType
!= XmlNodeType.ProcessingInstruction && reader.
NodeType
!= XmlNodeType.EndElement);
1854
if (reader.
NodeType
== XmlNodeType.Text)
1861
if (reader.
NodeType
== XmlNodeType.Element)
Shared\XomlSerializationHelpers.cs (2)
111
if (reader.
NodeType
== XmlNodeType.Attribute)
130
XmlNodeType currNodeType = reader.
NodeType
;
System.Workflow.Runtime (14)
Tracking\TrackingProfileSerializer.cs (14)
159
switch (reader.
NodeType
)
198
switch (reader.
NodeType
)
243
switch (reader.
NodeType
)
314
switch (reader.
NodeType
)
362
switch (reader.
NodeType
)
470
switch (reader.
NodeType
)
510
switch (reader.
NodeType
)
557
switch (reader.
NodeType
)
597
switch (reader.
NodeType
)
653
switch (reader.
NodeType
)
696
switch (reader.
NodeType
)
734
switch (reader.
NodeType
)
774
switch (reader.
NodeType
)
810
switch (reader.
NodeType
)
System.Xml (294)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
2845
|| ((this.textXmlReader.
NodeType
== XmlNodeType.XmlDeclaration)
2858
this.nodetype = r.
NodeType
;
System\Xml\Core\ReadContentAsBinaryHelper.cs (10)
173
if ( reader.
NodeType
!= XmlNodeType.Element ) {
220
if ( reader.
NodeType
!= XmlNodeType.Element ) {
255
if ( reader.
NodeType
!= XmlNodeType.EndElement ) {
256
throw new XmlException( Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo );
284
Debug.Assert( reader.
NodeType
== XmlNodeType.Element );
295
if ( reader.
NodeType
!= XmlNodeType.EndElement ) {
296
throw new XmlException( Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo );
386
if ( reader.
NodeType
!= XmlNodeType.EndElement ) {
387
throw new XmlException( Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo );
398
switch ( reader.
NodeType
) {
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (10)
123
if ( reader.
NodeType
!= XmlNodeType.Element ) {
170
if ( reader.
NodeType
!= XmlNodeType.Element ) {
205
if ( reader.
NodeType
!= XmlNodeType.EndElement ) {
206
throw new XmlException( Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo );
228
Debug.Assert( reader.
NodeType
== XmlNodeType.Element );
239
if ( reader.
NodeType
!= XmlNodeType.EndElement ) {
240
throw new XmlException( Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo );
310
if ( reader.
NodeType
!= XmlNodeType.EndElement ) {
311
throw new XmlException( Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo );
322
switch ( reader.
NodeType
) {
System\Xml\Core\XmlAsyncCheckReader.cs (1)
78
return coreReader.
NodeType
;
System\Xml\Core\XmlCharCheckingReader.cs (1)
177
XmlNodeType nodeType = base.reader.
NodeType
;
System\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
45
XmlNodeType nodeType = base.reader.
NodeType
;
System\Xml\Core\XmlReader.cs (56)
137
return HasValueInternal(this.
NodeType
);
689
if (this.
NodeType
== XmlNodeType.Element) {
696
if (this.
NodeType
== XmlNodeType.EndElement) {
701
while (IsTextualNode(this.
NodeType
)) {
716
switch (this.
NodeType
) {
726
return this.
NodeType
;
729
return this.
NodeType
;
735
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
743
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
757
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
774
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
779
if (this.
NodeType
!= XmlNodeType.EndElement) {
780
throw new XmlException(Res.Xml_UnexpectedNodeInSimpleContent, new string[] { this.
NodeType
.ToString(), "ReadElementString" }, this as IXmlLineInfo);
796
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
805
if (this.
NodeType
!= XmlNodeType.EndElement) {
806
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
822
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
831
if (this.
NodeType
!= XmlNodeType.EndElement) {
832
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
846
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
880
if (
NodeType
== XmlNodeType.Element && Ref.Equal(name, Name)) {
902
if (
NodeType
== XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) {
916
if (
NodeType
!= XmlNodeType.Element) {
935
if (
NodeType
== XmlNodeType.Element && Ref.Equal(name, Name)) {
939
Debug.Assert(
NodeType
== XmlNodeType.EndElement ||
NodeType
== XmlNodeType.None || ReadState == ReadState.Error);
953
if (
NodeType
!= XmlNodeType.Element) {
973
if (
NodeType
== XmlNodeType.Element && Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) {
977
Debug.Assert(
NodeType
== XmlNodeType.EndElement);
996
nt =
NodeType
;
1023
nt =
NodeType
;
1052
if ((this.
NodeType
!= XmlNodeType.Attribute) && (this.
NodeType
!= XmlNodeType.Element)) {
1061
if (this.
NodeType
== XmlNodeType.Attribute) {
1067
if (this.
NodeType
== XmlNodeType.Element) {
1082
int d = this.
NodeType
== XmlNodeType.None ? -1 : this.Depth;
1084
switch (this.
NodeType
) {
1123
if (d == this.Depth && this.
NodeType
== XmlNodeType.EndElement) {
1132
if (this.
NodeType
== XmlNodeType.EntityReference) {
1147
if ((this.
NodeType
!= XmlNodeType.Attribute) && (this.
NodeType
!= XmlNodeType.Element)) {
1156
if (this.
NodeType
== XmlNodeType.Attribute) {
1206
if (
NodeType
!= XmlNodeType.Element) {
1328
if (
NodeType
== XmlNodeType.Element && !IsEmptyElement) {
1336
if (
NodeType
== XmlNodeType.EndElement)
1353
if (
NodeType
!= XmlNodeType.Element) {
1354
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString(), this as IXmlLineInfo);
1362
return CreateReadContentAsException(methodName,
NodeType
, this as IXmlLineInfo);
1366
return CreateReadElementContentAsException(methodName,
NodeType
, this as IXmlLineInfo);
1370
return CanReadContentAs(this.
NodeType
);
1395
switch (this.
NodeType
) {
1436
if (this.
NodeType
!= XmlNodeType.Element) {
1449
XmlNodeType nodeType = this.
NodeType
;
1461
if (this.
NodeType
!= XmlNodeType.EndElement) {
1462
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString());
1732
XmlNodeType nt = reader.
NodeType
;
System\Xml\Core\XmlReaderAsync.cs (20)
160
switch (this.
NodeType
) {
170
return this.
NodeType
;
173
return this.
NodeType
;
181
if ((this.
NodeType
!= XmlNodeType.Attribute) && (this.
NodeType
!= XmlNodeType.Element)) {
190
if (this.
NodeType
== XmlNodeType.Attribute) {
196
if (this.
NodeType
== XmlNodeType.Element) {
211
int d = this.
NodeType
== XmlNodeType.None ? -1 : this.Depth;
213
switch (this.
NodeType
) {
252
if (d == this.Depth && this.
NodeType
== XmlNodeType.EndElement) {
262
if ((this.
NodeType
!= XmlNodeType.Attribute) && (this.
NodeType
!= XmlNodeType.Element)) {
271
if (this.
NodeType
== XmlNodeType.Attribute) {
292
if (
NodeType
== XmlNodeType.Element && !IsEmptyElement) {
300
if (
NodeType
== XmlNodeType.EndElement)
314
switch (this.
NodeType
) {
355
if (this.
NodeType
!= XmlNodeType.Element) {
368
XmlNodeType nodeType = this.
NodeType
;
380
if (this.
NodeType
!= XmlNodeType.EndElement) {
381
throw new XmlException(Res.Xml_InvalidNodeType, this.
NodeType
.ToString());
System\Xml\Core\XmlSubtreeReader.cs (16)
112
return ( useCurNode ) ? curNode.type : reader.
NodeType
;
347
Debug.Assert(reader.
NodeType
== XmlNodeType.Element);
388
if ( reader.
NodeType
== XmlNodeType.EndElement ||
389
( reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement ) ) {
394
Debug.Assert( reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement );
449
if (reader.Depth == initialDepth && reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement) {
480
if ( reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement ) {
483
while ( reader.
NodeType
!= XmlNodeType.EndElement && reader.Depth > initialDepth ) {
488
Debug.Assert( reader.
NodeType
== XmlNodeType.EndElement ||
489
reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement ||
496
if ( reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement ) {
768
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
885
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
1036
switch ( reader.
NodeType
) {
1146
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
1171
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlSubtreeReaderAsync.cs (12)
38
if ( reader.
NodeType
== XmlNodeType.EndElement ||
39
( reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement ) ) {
44
Debug.Assert( reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement );
101
if ( reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement ) {
104
while ( reader.
NodeType
!= XmlNodeType.EndElement && reader.Depth > initialDepth ) {
109
Debug.Assert( reader.
NodeType
== XmlNodeType.EndElement ||
110
reader.
NodeType
== XmlNodeType.Element && reader.IsEmptyElement ||
117
if ( reader.
NodeType
== XmlNodeType.Element && !reader.IsEmptyElement ) {
292
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
409
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
497
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
522
throw new XmlException(Res.Xml_InvalidNodeType, reader.
NodeType
.ToString(), reader as IXmlLineInfo);
System\Xml\Core\XmlTextReaderImpl.cs (1)
1493
if ( outerReader.
NodeType
== XmlNodeType.EntityReference &&
System\Xml\Core\XmlValidatingReaderImpl.cs (8)
260
return coreReader.
NodeType
;
640
if ( outerReader.
NodeType
== XmlNodeType.EntityReference && parsingFunction != ParsingFunction.ResolveEntityInternally ) {
797
switch ( outerReader.
NodeType
) {
811
XmlNodeType type = outerReader.
NodeType
;
818
if ( outerReader.
NodeType
!= XmlNodeType.EndElement ) {
819
throw new XmlException( Res.Xml_InvalidNodeType, outerReader.
NodeType
.ToString());
879
Debug.Assert( coreReader.
NodeType
== XmlNodeType.EntityReference );
922
switch ( coreReader.
NodeType
) {
System\Xml\Core\XmlValidatingReaderImplAsync.cs (6)
152
if ( outerReader.
NodeType
== XmlNodeType.EntityReference && parsingFunction != ParsingFunction.ResolveEntityInternally ) {
165
switch ( outerReader.
NodeType
) {
179
XmlNodeType type = outerReader.
NodeType
;
186
if ( outerReader.
NodeType
!= XmlNodeType.EndElement ) {
187
throw new XmlException( Res.Xml_InvalidNodeType, outerReader.
NodeType
.ToString());
229
Debug.Assert( coreReader.
NodeType
== XmlNodeType.EntityReference );
System\Xml\Core\XmlWrappingReader.cs (1)
38
public override XmlNodeType NodeType { get { return reader.
NodeType
; } }
System\Xml\Core\XmlWriter.cs (7)
336
if (reader.
NodeType
== XmlNodeType.Element || reader.
NodeType
== XmlNodeType.XmlDeclaration) {
342
else if (reader.
NodeType
!= XmlNodeType.Attribute) {
352
if (reader.
NodeType
== XmlNodeType.EntityReference) {
374
int d = reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth;
376
switch (reader.
NodeType
) {
428
} while (reader.Read() && (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement)));
System\Xml\Core\XmlWriterAsync.cs (10)
218
if (reader.
NodeType
== XmlNodeType.Element || reader.
NodeType
== XmlNodeType.XmlDeclaration) {
224
else if (reader.
NodeType
!= XmlNodeType.Attribute) {
234
if (reader.
NodeType
== XmlNodeType.EntityReference) {
270
int d = reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth;
272
switch (reader.
NodeType
) {
320
} while (reader.Read() && (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement)));
329
int d = reader.
NodeType
== XmlNodeType.None ? -1 : reader.Depth;
331
switch (reader.
NodeType
) {
380
} while (await reader.ReadAsync().ConfigureAwait(false) && (d < reader.Depth || (d == reader.Depth && reader.
NodeType
== XmlNodeType.EndElement)));
System\Xml\Core\XsdCachingReader.cs (12)
82
if (coreReader.
NodeType
== XmlNodeType.Element) {
83
ValidatingReaderNodeData element = AddContent(coreReader.
NodeType
);
353
switch(coreReader.
NodeType
) {
360
recordedNode = AddContent(coreReader.
NodeType
);
371
recordedNode = AddContent(coreReader.
NodeType
);
392
if (coreReader.
NodeType
!= XmlNodeType.Element || readAhead) { //Only when coreReader not positioned on Element node, read ahead, otherwise it is on the next element node already, since this was not cached
418
Debug.Assert(coreReader.
NodeType
== XmlNodeType.EndElement || (coreReader.
NodeType
== XmlNodeType.Element && coreReader.IsEmptyElement));
430
Debug.Assert(coreReader.
NodeType
== XmlNodeType.EndElement || (coreReader.
NodeType
== XmlNodeType.Element && coreReader.IsEmptyElement));
470
if (coreReader.
NodeType
!= XmlNodeType.EndElement && !readAhead) { //will be true for IsDefault cases where we peek only one node ahead
602
Debug.Assert(coreReader.
NodeType
== XmlNodeType.Element);
System\Xml\Core\XsdCachingReaderAsync.cs (5)
37
switch(coreReader.
NodeType
) {
44
recordedNode = AddContent(coreReader.
NodeType
);
55
recordedNode = AddContent(coreReader.
NodeType
);
76
if (coreReader.
NodeType
!= XmlNodeType.Element || readAhead) { //Only when coreReader not positioned on Element node, read ahead, otherwise it is on the next element node already, since this was not cached
98
if (coreReader.
NodeType
!= XmlNodeType.EndElement && !readAhead) { //will be true for IsDefault cases where we peek only one node ahead
System\Xml\Core\XsdValidatingReader.cs (7)
215
XmlNodeType nodeType = coreReader.
NodeType
;
1557
switch (coreReader.
NodeType
) {
1822
if (coreReader.
NodeType
== XmlNodeType.Element) {
1984
switch (coreReader.
NodeType
) {
2030
Debug.Assert(coreReader.
NodeType
== XmlNodeType.EndElement);
2036
switch (coreReader.
NodeType
) {
2081
switch (coreReader.
NodeType
) {
System\Xml\Core\XsdValidatingReaderAsync.cs (3)
404
switch (coreReader.
NodeType
) {
531
if (coreReader.
NodeType
== XmlNodeType.Element) {
711
switch (coreReader.
NodeType
) {
System\Xml\Dom\XmlLoader.cs (13)
95
switch ( r.
NodeType
) {
200
throw UnexpectedNodeType( r.
NodeType
);
223
Debug.Assert(reader.
NodeType
== XmlNodeType.Attribute);
237
switch (r.
NodeType
) {
254
throw UnexpectedNodeType( r.
NodeType
);
287
switch ( r.
NodeType
) {
306
throw UnexpectedNodeType( r.
NodeType
);
315
Debug.Assert( reader.
NodeType
== XmlNodeType.EntityReference );
319
while ( reader.Read() && reader.
NodeType
!= XmlNodeType.EndEntity ) {
334
Debug.Assert( reader.
NodeType
== XmlNodeType.XmlDeclaration );
369
Debug.Assert( reader.
NodeType
== XmlNodeType.DocumentType );
408
switch ( r.
NodeType
) {
482
throw UnexpectedNodeType( reader.
NodeType
);
System\Xml\Schema\Inference\Infer.cs (32)
211
while (xtr.
NodeType
!= XmlNodeType.Element && xtr.Read()) ;
214
if (xtr.
NodeType
== XmlNodeType.Element)
710
if (xtr.
NodeType
== XmlNodeType.Whitespace)
714
if (xtr.
NodeType
== XmlNodeType.EntityReference)
718
} while( (!xtr.EOF) && (xtr.
NodeType
!= XmlNodeType.EndElement) && (xtr.
NodeType
!= XmlNodeType.CDATA)&&(xtr.
NodeType
!= XmlNodeType.Element)&&(xtr.
NodeType
!= XmlNodeType.Text) );
720
if (xtr.
NodeType
== XmlNodeType.EndElement)
784
while (!xtr.EOF && (xtr.
NodeType
!= XmlNodeType.EndElement))
788
if ((xtr.
NodeType
== XmlNodeType.Text) || (xtr.
NodeType
== XmlNodeType.CDATA) ) //node can be simple type, complex with simple content or complex with mixed content
798
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)));
800
if (xtr.
NodeType
== XmlNodeType.EndElement)
807
if ((xtr.
NodeType
== XmlNodeType.Text) && (iChildNumber==1))
838
if (xtr.
NodeType
== XmlNodeType.Text)
870
if (xtr.
NodeType
== XmlNodeType.Text)
880
else if (xtr.
NodeType
== XmlNodeType.Text)
905
else if (xtr.
NodeType
== XmlNodeType.Element)
961
else if (xtr.
NodeType
== XmlNodeType.Text)
969
if (xtr.
NodeType
== XmlNodeType.EntityReference)
982
} while( (!xtr.EOF) && (xtr.
NodeType
!= XmlNodeType.EndElement) && (xtr.
NodeType
!= XmlNodeType.CDATA)&&(xtr.
NodeType
!= XmlNodeType.Element)&&(xtr.
NodeType
!= XmlNodeType.Text));
1216
Debug.Assert(xtr.
NodeType
== XmlNodeType.Attribute);
System\Xml\Schema\Parser.cs (15)
72
while (reader.
NodeType
!= XmlNodeType.Element && reader.Read()) {}
161
else if (reader.
NodeType
== XmlNodeType.Element) {
197
else if (reader.
NodeType
== XmlNodeType.Text) { //Check for whitespace
202
else if (reader.
NodeType
== XmlNodeType.EntityReference ||
203
reader.
NodeType
== XmlNodeType.SignificantWhitespace ||
204
reader.
NodeType
== XmlNodeType.CDATA) {
207
else if (reader.
NodeType
== XmlNodeType.EndElement) {
238
switch (reader.
NodeType
) {
295
Debug.Assert( reader.
NodeType
== XmlNodeType.Element );
364
Debug.Assert(reader.
NodeType
== XmlNodeType.Attribute);
371
switch (r.
NodeType
) {
379
throw XmlLoader.UnexpectedNodeType( r.
NodeType
);
387
Debug.Assert(reader.
NodeType
== XmlNodeType.EntityReference);
396
switch (reader.
NodeType
) {
409
throw XmlLoader.UnexpectedNodeType( reader.
NodeType
);
System\Xml\Schema\ParserAsync.cs (1)
32
while (reader.
NodeType
!= XmlNodeType.Element && await reader.ReadAsync().ConfigureAwait(false)) {}
System\Xml\Serialization\PrimitiveXmlSerializers.cs (19)
197
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
219
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
238
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
257
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
276
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
295
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
314
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
333
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
352
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
371
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
390
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
409
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
428
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
447
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
466
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
488
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
508
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element)
539
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
558
if (Reader.
NodeType
== System.Xml.XmlNodeType.Element) {
System\Xml\Serialization\XmlCountingReader.cs (3)
34
public override XmlNodeType NodeType { get { return innerReader.
NodeType
; } }
98
if (innerReader.
NodeType
!= XmlNodeType.Attribute)
104
if (innerReader.
NodeType
!= XmlNodeType.Attribute)
System\Xml\Serialization\XmlSerializationReader.cs (20)
808
while (r.
NodeType
!= XmlNodeType.EndElement)
885
if (r.
NodeType
!= XmlNodeType.EndElement)
889
while (r.
NodeType
!= XmlNodeType.EndElement)
1172
if (r.
NodeType
== XmlNodeType.None || r.
NodeType
== XmlNodeType.Whitespace) {
1176
if (r.
NodeType
== XmlNodeType.EndElement)
1181
else if (r.
NodeType
== XmlNodeType.Attribute && events.OnUnknownAttribute == null) {
1184
else if (r.
NodeType
== XmlNodeType.Element && events.OnUnknownElement == null) {
1230
switch (r.
NodeType
) {
1366
while (r.
NodeType
== XmlNodeType.Whitespace) r.Skip();
1367
if (r.
NodeType
== XmlNodeType.None) r.Skip();
1368
if (r.
NodeType
== XmlNodeType.EndElement && r.LocalName == name && r.NamespaceURI == ns) {
1596
while (r.
NodeType
!= XmlNodeType.EndElement) {
1613
while (r.
NodeType
!= XmlNodeType.EndElement) {
1681
while (r.
NodeType
!= XmlNodeType.EndElement && r.
NodeType
!= XmlNodeType.None) {
1765
while (r.
NodeType
== XmlNodeType.Whitespace) r.Skip();
1766
if (r.
NodeType
== XmlNodeType.None) r.Skip();
1781
if(Reader.
NodeType
== XmlNodeType.Attribute){
1838
while (Reader.
NodeType
!= System.Xml.XmlNodeType.EndElement) {
System\Xml\XPath\XPathDocument.cs (1)
182
switch (reader.
NodeType
) {
System\Xml\XPath\XPathNavigator.cs (1)
1796
switch (reader.
NodeType
) {
System.Xml.Linq (9)
System\Xml\Linq\XLinq.cs (9)
1832
switch (reader.
NodeType
) {
1848
throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_UnexpectedNodeType, reader.
NodeType
));
3034
switch (r.
NodeType
) {
3083
throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_UnexpectedNodeType, r.
NodeType
));
3102
switch (r.
NodeType
) {
3182
throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_UnexpectedNodeType, r.
NodeType
));
4031
if (reader.MoveToContent() != XmlNodeType.Element) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedNodeType, XmlNodeType.Element, reader.
NodeType
));
4958
if (reader.MoveToContent() != XmlNodeType.Element) throw new InvalidOperationException(Res.GetString(Res.InvalidOperation_ExpectedNodeType, XmlNodeType.Element, reader.
NodeType
));
5728
if (reader.
NodeType
== XmlNodeType.XmlDeclaration) {
WindowsBase (10)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
1078
while (reader.Read() && (reader.
NodeType
== XmlNodeType.Element))
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (5)
207
&& (reader.
NodeType
== XmlNodeType.EndElement)))
213
&& (reader.
NodeType
== XmlNodeType.EndElement)))
285
Debug.Assert(reader.
NodeType
== XmlNodeType.EndElement);
306
Debug.Assert(reader.
NodeType
== XmlNodeType.EndElement);
321
&& (reader.
NodeType
== XmlNodeType.EndElement))
Base\System\Windows\Markup\XmlCompatibilityReader.cs (2)
187
switch (Reader.
NodeType
)
761
_inAttribute = (Reader.
NodeType
== XmlNodeType.Attribute);
Base\System\Windows\Markup\XmlWrappingReader.cs (1)
57
public override XmlNodeType NodeType { get { return _reader.
NodeType
; } }
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
417
Debug.Assert(reader.
NodeType
== XmlNodeType.Element, "XmlReader should be positioned at an Element");