898 references to Element
PresentationBuildTasks (9)
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
189
case XmlNodeType.
Element
:
BuildTasks\Microsoft\Build\Tasks\Windows\UidManager.cs (1)
519
case XmlNodeType.
Element
:
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
799
case XmlNodeType.
Element
:
Framework\System\Windows\Markup\XamlParser.cs (1)
90
multipleRoots ? XmlNodeType.
Element
: XmlNodeType.Document,
Framework\System\Windows\Markup\XamlReaderHelper.cs (5)
396
case XmlNodeType.
Element
:
1271
case XmlNodeType.
Element
:
2001
CompileBamlTag(XmlNodeType.
Element
, ref endTagHasBeenRead);
2148
case XmlNodeType.
Element
:
3595
case XmlNodeType.
Element
:
PresentationCore (6)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (6)
306
case XmlNodeType.
Element
:
420
if (_reader.NodeType == XmlNodeType.
Element
&& _reader.NamespaceURI == CompositeFontNamespace)
433
while (MoveToContent() == XmlNodeType.
Element
)
588
if (_reader.NodeType == XmlNodeType.
Element
&& _reader.NamespaceURI == CompositeFontNamespace)
603
while (MoveToContent() == XmlNodeType.
Element
)
838
if (_reader.NodeType == XmlNodeType.
Element
&& _reader.NamespaceURI == CompositeFontNamespace)
PresentationFramework (10)
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (1)
662
if (node.NodeType == XmlNodeType.
Element
)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
495
else if (node.NodeType == XmlNodeType.
Element
)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
432
case XmlNodeType.
Element
:
src\Framework\System\Windows\Annotations\Annotation.cs (1)
356
if (!(AnnotationXmlConstants.Elements.StringAuthor == reader.LocalName && XmlNodeType.
Element
== reader.NodeType))
src\Framework\System\Windows\Annotations\AnnotationResource.cs (1)
213
else if (XmlNodeType.
Element
== reader.NodeType)
src\Framework\System\Windows\Annotations\LocatorPartList.cs (1)
244
if (XmlNodeType.
Element
!= reader.NodeType)
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
398
case XmlNodeType.
Element
:
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
213
if ( (Reader.NodeType == XmlNodeType.
Element
) && !_rootXMLNSChecked )
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1411
if (reader.NodeType == XmlNodeType.
Element
)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
2064
XmlNodeType.
Element
,
System.Activities (1)
System\Activities\Debugger\XmlReaderWithSourceLocation.cs (1)
114
if (this.NodeType == Xml.XmlNodeType.
Element
)
System.Configuration (41)
System\Configuration\BaseConfigurationRecord.cs (4)
2268
if (xmlUtil.Reader.NodeType != XmlNodeType.
Element
|| xmlUtil.Reader.Name != KEYWORD_CONFIGURATION) {
3146
if (t == XmlNodeType.
Element
) {
3185
if (xmlUtil.Reader.NodeType != XmlNodeType.
Element
) {
4249
if (nodeType == XmlNodeType.
Element
&& clone.Name == "EncryptedData") { // Found it!
System\Configuration\ConfigurationElement.cs (1)
1515
if (reader.NodeType == XmlNodeType.
Element
) {
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\DPAPIProtectedConfigurationProvider.cs (2)
26
if (encryptedNode.NodeType != XmlNodeType.
Element
||
220
if (child.NodeType != XmlNodeType.
Element
)
System\Configuration\IgnoreSection.cs (1)
49
if (!xmlReader.Read() || xmlReader.NodeType != XmlNodeType.
Element
) {
System\Configuration\MgmtConfigurationRecord.cs (11)
698
reader = new XmlTextReader(xmlElement, XmlNodeType.
Element
, context);
702
if (reader.NodeType != XmlNodeType.
Element
) {
2305
if (xmlUtil.Reader.NodeType == XmlNodeType.
Element
&& utilWriter.IsLastLineBlank) {
2329
Debug.Assert(reader.NodeType == XmlNodeType.
Element
&& reader.Name == KEYWORD_CONFIGURATION,
2361
if (reader.NodeType == XmlNodeType.
Element
&& reader.Name == KEYWORD_CONFIGSECTIONS) {
2427
bool skipFirstIndent = reader.Depth > 0 && reader.NodeType == XmlNodeType.
Element
;
2510
if (reader.NodeType == XmlNodeType.
Element
) {
2555
if (reader.NodeType == XmlNodeType.
Element
) {
2736
if (reader.NodeType == XmlNodeType.
Element
) {
2785
if (reader.NodeType == XmlNodeType.
Element
) {
3199
if (reader.NodeType == XmlNodeType.
Element
) {
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
89
if (node2.NodeType == XmlNodeType.
Element
)
91
if (node3.NodeType == XmlNodeType.
Element
)
System\Configuration\RuntimeConfigurationRecord.cs (1)
210
if (xmlNode.NodeType == XmlNodeType.
Element
) {
System\Configuration\XmlUtil.cs (17)
106
case XmlNodeType.
Element
:
178
if (_reader.MoveToContent() == XmlNodeType.
Element
) {
195
while (!_reader.EOF && _reader.NodeType != XmlNodeType.
Element
) {
207
if (_reader.NodeType == XmlNodeType.
Element
) {
223
while (!_reader.EOF && _reader.NodeType != XmlNodeType.
Element
) {
388
Debug.Assert(_reader.NodeType == XmlNodeType.
Element
, "_reader.NodeType == XmlNodeType.Element");
397
if (_reader.NodeType == XmlNodeType.
Element
) {
454
if (_reader.NodeType == XmlNodeType.
Element
)
482
Debug.Assert(_reader.NodeType == XmlNodeType.
Element
, "_reader.NodeType == XmlNodeType.Element");
526
if (_reader.NodeType == XmlNodeType.
Element
)
543
Debug.Assert(_reader.NodeType== XmlNodeType.
Element
, "_reader.NodeType== XmlNodeType.Element");
607
else if (nodeType == XmlNodeType.
Element
) {
863
Debug.Assert(_reader.NodeType == XmlNodeType.
Element
,
898
Debug.Assert(_reader.NodeType == XmlNodeType.
Element
, "_reader.NodeType == NodeType.Element");
1010
XmlTextReader reader = new XmlTextReader(xmlElement, XmlNodeType.
Element
, context);
1040
case XmlNodeType.
Element
:
1085
case XmlNodeType.
Element
:
System.Data (70)
fx\src\data\System\Data\Common\HandlerBase.cs (1)
26
if (XmlNodeType.
Element
!= node.NodeType) {
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\Common\SQLTypes\SqlXmlStorage.cs (1)
92
XmlTextReader reader = new XmlTextReader(s, XmlNodeType.
Element
, null) ;
fx\src\data\System\Data\DataSet.cs (15)
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
) {
1927
if (reader.NodeType == XmlNodeType.
Element
)
1930
if (reader.NodeType == XmlNodeType.
Element
) {
2016
if (reader.NodeType != XmlNodeType.
Element
)
2351
if ((mode != XmlReadMode.Fragment) && (reader.NodeType == XmlNodeType.
Element
))
2357
if (reader.NodeType == XmlNodeType.
Element
) {
2535
XmlTextReader reader = (mode == XmlReadMode.Fragment) ? new XmlTextReader(stream, XmlNodeType.
Element
, null) : new XmlTextReader(stream);
2548
XmlTextReader xmlreader = (mode == XmlReadMode.Fragment) ? new XmlTextReader(reader.ReadToEnd(), XmlNodeType.
Element
, null) : new XmlTextReader(reader);
2563
xr = new XmlTextReader(stream, XmlNodeType.
Element
, null);
fx\src\data\System\Data\DataTable.cs (5)
5162
if (reader.NodeType == XmlNodeType.
Element
) {
5354
if ((mode != XmlReadMode.Fragment) && (reader.NodeType == XmlNodeType.
Element
))
5367
if (reader.NodeType == XmlNodeType.
Element
) {
5577
while (!reader.EOF && reader.NodeType != XmlNodeType.EndElement && reader.NodeType != XmlNodeType.
Element
&& reader.Depth > depth) {
5580
return (reader.NodeType == XmlNodeType.
Element
);
fx\src\data\System\Data\DataViewManager.cs (1)
113
if (r.NodeType != XmlNodeType.
Element
)
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))) {
1082
using (XmlTextReader xmlMessageReader = new XmlTextReader(xmlReader.Value, XmlNodeType.
Element
, null)) {
fx\src\data\System\Data\SqlClient\SqlStream.cs (1)
572
case XmlNodeType.
Element
:
fx\src\data\System\Data\XmlDataLoader.cs (6)
98
if (n.NodeType == XmlNodeType.
Element
) {
366
if (n.NodeType == XmlNodeType.
Element
) {
602
if ( reader.NodeType != XmlNodeType.
Element
) { // Read till Element is found
708
case XmlNodeType.
Element
: // It's an element
925
case XmlNodeType.
Element
: // It's an element
1191
case XmlNodeType.
Element
:
fx\src\data\System\Data\XMLDiffLoader.cs (2)
192
if (XmlNodeType.
Element
== ssync.NodeType) {
240
if (XmlNodeType.
Element
== ssync.NodeType) {
fx\src\data\System\Data\XmlToDatasetMap.cs (2)
410
if(nodeRegion == null || nodeRegion.NodeType != XmlNodeType.
Element
) {
441
if (node.NodeType == XmlNodeType.
Element
) { // If element
fx\src\data\System\NewXml\DataPointer.cs (5)
271
if (column == null && node.NodeType == XmlNodeType.
Element
) {
289
if ((column == null || column.ColumnMapping == MappingType.Attribute) && node.NodeType == XmlNodeType.
Element
) {
326
return XmlNodeType.
Element
;
419
case XmlNodeType.
Element
:
494
if (node.NodeType == XmlNodeType.
Element
) {
fx\src\data\System\NewXml\DataSetMappper.cs (4)
120
if ( n.NodeType == XmlNodeType.
Element
) {
148
if ( node.NodeType == XmlNodeType.
Element
&& mt == MappingType.Element )
262
if ( n.NodeType != XmlNodeType.
Element
) {
300
if ( n.NodeType != XmlNodeType.
Element
) {
fx\src\data\System\NewXml\RegionIterator.cs (1)
113
Debug.Assert( this.CurrentNode.NodeType == XmlNodeType.
Element
);
fx\src\data\System\NewXml\XmlBoundElement.cs (3)
226
Debug.Assert( dp.NodeType == XmlNodeType.
Element
);
255
Debug.Assert( dp.NodeType == XmlNodeType.
Element
);
305
case XmlNodeType.
Element
:
fx\src\data\System\NewXml\XmlDataDocument.cs (5)
686
if ( node.NodeType != XmlNodeType.
Element
)
901
if (newNode.NodeType == XmlNodeType.
Element
) {
939
if ( dp.NodeType == XmlNodeType.
Element
)
981
case XmlNodeType.
Element
:
1356
if ( iter.CurrentNode.NodeType == XmlNodeType.
Element
) {
fx\src\data\System\NewXml\XPathNodePointer.cs (14)
41
xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.
Element
)] = (int)XPathNodeType.Element;
139
if (_node.NodeType == XmlNodeType.
Element
) {
187
if ( nt == XmlNodeType.
Element
|| nt == XmlNodeType.Attribute || nt == XmlNodeType.ProcessingInstruction )
216
if ( nt == XmlNodeType.
Element
|| nt == XmlNodeType.Attribute || nt == XmlNodeType.ProcessingInstruction )
490
if (_column == null && _node.NodeType == XmlNodeType.
Element
) {
556
if ((_column == null || _column.ColumnMapping == MappingType.Attribute) && _node.NodeType == XmlNodeType.
Element
) {
585
if ( bFirst && ( _column != null || _node.NodeType != XmlNodeType.
Element
) )
1237
while ( node != null && ( ( nt = node.NodeType ) != XmlNodeType.
Element
) ) {
1302
} while ( node != null && node.NodeType != XmlNodeType.
Element
);
1375
} while ( node != null && node.NodeType != XmlNodeType.
Element
);
1400
} while ( node != null && node.NodeType != XmlNodeType.
Element
);
1435
} while ( node != null && node.NodeType != XmlNodeType.
Element
);
1452
} while ( node != null && node.NodeType != XmlNodeType.
Element
);
1463
} while ( node != null && node.NodeType == XmlNodeType.
Element
);
System.Data.Entity (7)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (2)
143
if (sourceReader.NodeType != XmlNodeType.
Element
)
145
while (sourceReader.Read() && sourceReader.NodeType != XmlNodeType.
Element
)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (3)
241
Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
266
case XmlNodeType.
Element
:
657
if (reader.NodeType == XmlNodeType.
Element
)
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 (9)
Mapping\MappingSource.cs (9)
251
System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
325
System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
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
);
469
System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
478
System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
533
System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
567
System.Diagnostics.Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
System.Data.Services (12)
System\Data\Services\Epm\EpmCustomContentDeSerializer.cs (1)
63
case XmlNodeType.
Element
:
System\Data\Services\Serializers\PlainXmlDeserializer.cs (6)
213
case XmlNodeType.
Element
:
243
this.xmlReader.NodeType != XmlNodeType.
Element
,
262
Debug.Assert(reader.NodeType == XmlNodeType.
Element
, "reader.NodeType == XmlNodeType.Element");
296
Debug.Assert(XmlNodeType.
Element
== reader.NodeType, "not positioned on Element");
396
case XmlNodeType.
Element
:
415
reader.NodeType != XmlNodeType.
Element
,
System\Data\Services\Serializers\SyndicationDeserializer.cs (2)
258
reader.NodeType == XmlNodeType.
Element
,
608
if (linkReader.NodeType == XmlNodeType.
Element
)
System\Data\Services\WebUtil.cs (3)
1178
case XmlNodeType.
Element
:
1399
return ((XmlNodeType.
Element
== reader.NodeType) || (XmlNodeType.EndElement == reader.NodeType)) &&
1420
case XmlNodeType.
Element
:
System.Data.Services.Client (24)
System\Data\Services\Client\AtomParser.cs (12)
207
this.reader.NodeType == XmlNodeType.
Element
|| this.reader.NodeType == XmlNodeType.EndElement,
341
reader.NodeType == XmlNodeType.
Element
|| reader.NodeType == XmlNodeType.EndElement,
415
(reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement))))
490
case XmlNodeType.
Element
:
532
Debug.Assert(this.reader.NodeType == XmlNodeType.
Element
, "this.reader.NodeType == XmlNodeType.Element");
587
this.reader.NodeType == XmlNodeType.
Element
,
769
case XmlNodeType.
Element
:
799
this.reader.NodeType == XmlNodeType.
Element
,
839
Debug.Assert(this.reader.NodeType == XmlNodeType.
Element
, "this.reader.NodeType == XmlNodeType.Element");
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 (4)
380
Debug.Assert(reader.NodeType == XmlNodeType.
Element
, "reader.NodeType == XmlNodeType.Element");
486
while (this.reader.NodeType != XmlNodeType.
Element
&& this.reader.Read())
558
reader.NodeType == XmlNodeType.
Element
,
590
case XmlNodeType.
Element
:
System\Data\Services\Client\Util.cs (2)
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)
41
if (this.NodeType == XmlNodeType.
Element
&&
64
Debug.Assert(XmlNodeType.
Element
== reader.NodeType, "not positioned on Element");
93
case XmlNodeType.
Element
:
109
Debug.Assert(reader.NodeType == XmlNodeType.
Element
, "reader.NodeType == XmlNodeType.Element");
115
if (reader.NodeType == XmlNodeType.
Element
)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (1)
457
if (this.reader.NodeType == XmlNodeType.
Element
&&
System.Data.SqlXml (45)
System\Xml\Xsl\QIL\QilXmlReader.cs (1)
75
case XmlNodeType.
Element
:
System\Xml\Xsl\Runtime\WhitespaceRuleReader.cs (1)
79
case XmlNodeType.
Element
:
System\Xml\Xsl\Xslt\XsltInput.cs (21)
63
public XmlNodeType NodeType { get { return nodeType == XmlNodeType.
Element
&& 0 < currentRecord ? XmlNodeType.Attribute : nodeType; } }
119
if (nodeType == XmlNodeType.
Element
) {
309
Debug.Assert(nodeType == XmlNodeType.
Element
, "To call MoveToFirstChild() XsltI---- should be positioned on an Element.");
317
Debug.Assert(nodeType != XmlNodeType.
Element
|| IsEmptyElement, "On non-empty elements we should call MoveToFirstChild()");
318
if (nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement) {
325
if (nodeType == XmlNodeType.
Element
&& MoveToFirstChild()) {
408
case XmlNodeType.
Element
:
428
Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
432
nodeType = XmlNodeType.
Element
;
454
Debug.Assert(nodeType == XmlNodeType.
Element
, "For MoveToElement() we should be positioned on Element or Attribute");
459
Debug.Assert(nodeType == XmlNodeType.
Element
, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute");
470
Debug.Assert(nodeType == XmlNodeType.
Element
, "For MoveToLiteralAttribute() we should be positioned on Element or Attribute");
509
Debug.Assert(nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement, "Input is positioned on element or attribute");
539
Debug.Assert(nodeType != XmlNodeType.
Element
|| attributesRead, "Should first read attributes");
545
Debug.Assert(nodeType != XmlNodeType.
Element
|| attributesRead, "Should first read attributes");
552
Debug.Assert(nodeType != XmlNodeType.
Element
|| attributesRead, "Should first read attributes");
618
Debug.Assert(NodeType == XmlNodeType.
Element
);
722
Debug.Assert(NodeType == XmlNodeType.
Element
);
785
Debug.Assert(NodeType == XmlNodeType.
Element
&& IsXsltNamespace());
876
case XmlNodeType.
Element
:
1004
Debug.Assert(input.NodeType == XmlNodeType.
Element
|| input.NodeType == XmlNodeType.Attribute);
System\Xml\Xsl\Xslt\XsltLoader.cs (9)
258
Debug.Assert(input.NodeType == XmlNodeType.
Element
);
317
case XmlNodeType.
Element
:
900
case XmlNodeType.
Element
:
1139
case XmlNodeType.
Element
:
1273
case XmlNodeType.
Element
:
1360
case XmlNodeType.
Element
:
1529
case XmlNodeType.
Element
:
1865
Debug.Assert(input.NodeType == XmlNodeType.
Element
);
2310
Debug.Assert(input.NodeType == XmlNodeType.
Element
);
System\Xml\Xsl\XsltOld\NavigatorOutput.cs (1)
38
case XmlNodeType.
Element
: {
System\Xml\Xsl\XsltOld\ReaderOutput.cs (3)
333
if (NodeType == XmlNodeType.
Element
|| NodeType == XmlNodeType.Attribute || this.currentInfo == this.attributeValue) {
371
if (NodeType == XmlNodeType.
Element
&& ! IsEmptyElement) {
400
if (NodeType == XmlNodeType.
Element
) {
System\Xml\Xsl\XsltOld\RecordBuilder.cs (4)
258
this.currentInfo.NodeType = XmlNodeType.
Element
;
427
Debug.Assert(this.mainNode.NodeType == XmlNodeType.
Element
);
447
Debug.Assert(this.mainNode.NodeType == XmlNodeType.
Element
);
610
case XmlNodeType.
Element
:
System\Xml\Xsl\XsltOld\SequentialOutput.cs (4)
111
Debug.Assert(record.MainNode.NodeType == XmlNodeType.
Element
);
325
case XmlNodeType.
Element
:
378
case XmlNodeType.
Element
:
424
case XmlNodeType.
Element
:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
35
case XmlNodeType.
Element
:
System.IdentityModel (11)
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
43
if (node.NodeType != XmlNodeType.
Element
)
System\IdentityModel\EnvelopedSignatureReader.cs (1)
143
if ((base.NodeType == XmlNodeType.
Element
) && (!base.IsEmptyElement))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
3163
if (reader.NodeType == XmlNodeType.
Element
)
3165
while (reader.NodeType == XmlNodeType.
Element
)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
2739
if (reader.NodeType == XmlNodeType.
Element
)
2741
while (reader.NodeType == XmlNodeType.
Element
)
System\IdentityModel\WrappedReader.cs (5)
163
while (NodeType != XmlNodeType.
Element
&& NodeType != XmlNodeType.EndElement)
254
case XmlNodeType.
Element
:
536
DiagnosticUtility.DebugAssert(this.NodeType == XmlNodeType.
Element
, "");
589
case XmlNodeType.
Element
:
703
this.nodeType = XmlNodeType.
Element
;
System.Runtime.Serialization (59)
System\Runtime\Serialization\DataContractSerializer.cs (1)
476
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.GetString(SR.ExpectingElementAtDeserialize, XmlNodeType.
Element
), xmlReader));
System\Runtime\Serialization\ExtensionDataReader.cs (1)
227
this.nodeType = XmlNodeType.
Element
;
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (1)
423
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(System.Runtime.Serialization.SR.GetString(System.Runtime.Serialization.SR.ExpectingElementAtDeserialize, XmlNodeType.
Element
), xmlReader));
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (3)
817
ilg.Load(XmlNodeType.
Element
);
819
ThrowUnexpectedStateException(XmlNodeType.
Element
);
1058
ThrowUnexpectedStateException(XmlNodeType.
Element
);
System\Runtime\Serialization\Json\XmlJsonReader.cs (1)
573
else if (this.Node.NodeType == XmlNodeType.
Element
)
System\Runtime\Serialization\NetDataContractSerializer.cs (1)
427
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(SR.GetString(SR.ExpectingElementAtDeserialize, XmlNodeType.
Element
), xmlReader));
System\Runtime\Serialization\SchemaImporter.cs (1)
1429
if (child.NodeType == XmlNodeType.
Element
)
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
904
ThrowUnexpectedStateException(XmlNodeType.
Element
);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (14)
298
if (xmlReader.NodeType != XmlNodeType.
Element
)
299
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
545
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
569
if (nodeType != XmlNodeType.
Element
)
570
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
736
case XmlNodeType.
Element
:
751
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
801
if (nodeType != XmlNodeType.
Element
)
802
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
821
if (nodeType != XmlNodeType.
Element
)
822
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
877
if (nodeType != XmlNodeType.
Element
)
878
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
966
if (nodeType == XmlNodeType.
Element
)
System\Runtime\Serialization\XmlSerializableReader.cs (3)
26
if (xmlReader.NodeType != XmlNodeType.
Element
)
27
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializerReadContext.CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
56
(reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement))
System\Xml\XmlBaseReader.cs (14)
1093
if (nodeType == XmlNodeType.
Element
)
1100
if (node.NodeType == XmlNodeType.
Element
)
1103
return (MoveToContent() == XmlNodeType.
Element
);
1123
return (node.NodeType == XmlNodeType.
Element
|| IsStartElement()) && node.Prefix == prefix && node.LocalName == localName;
1132
return (node.NodeType == XmlNodeType.
Element
|| IsStartElement()) && node.LocalName == localName && node.IsNamespaceUri(namespaceUri);
1141
return (node.NodeType == XmlNodeType.
Element
|| IsStartElement()) && node.LocalName == localName && node.IsNamespaceUri(namespaceUri);
1289
if (node.NodeType != XmlNodeType.
Element
)
1337
if (node.NodeType != XmlNodeType.
Element
)
1358
int nodeDepth = node.NodeType == XmlNodeType.
Element
? this.depth - 1 : this.depth;
1476
if (nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement)
1540
if (nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement)
1840
if ((node.NodeType == XmlNodeType.
Element
|| MoveToElement()) && !IsEmptyElement)
2079
case XmlNodeType.
Element
:
2487
: base(XmlNodeType.
Element
,
System\Xml\XmlBinaryReader.cs (11)
105
if (this.Node.NodeType != XmlNodeType.
Element
)
133
if (this.Node.NodeType != XmlNodeType.
Element
)
164
if (this.Node.NodeType != XmlNodeType.
Element
)
210
if (this.Node.NodeType != XmlNodeType.
Element
)
224
if (this.Node.NodeType != XmlNodeType.
Element
)
238
if (this.Node.NodeType != XmlNodeType.
Element
)
252
if (this.Node.NodeType != XmlNodeType.
Element
)
266
if (this.Node.NodeType != XmlNodeType.
Element
)
280
if (this.Node.NodeType != XmlNodeType.
Element
)
294
if (this.Node.NodeType != XmlNodeType.
Element
)
1133
if (this.Node.NodeType != XmlNodeType.
Element
)
System\Xml\XmlDictionaryReader.cs (4)
458
case XmlNodeType.
Element
:
487
if (this.NodeType != XmlNodeType.
Element
)
489
if (this.NodeType == XmlNodeType.
Element
)
593
if (nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement)
System\Xml\XmlDictionaryWriter.cs (1)
911
case XmlNodeType.
Element
:
System\Xml\XmlExceptionHelper.cs (1)
70
case XmlNodeType.
Element
:
System\Xml\XmlMtomReader.cs (1)
282
if (xmlReader.NodeType == XmlNodeType.
Element
)
System.ServiceModel (49)
System\ServiceModel\Channels\AddressHeader.cs (1)
327
Fx.Assert(reader.NodeType == XmlNodeType.
Element
, "");
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
125
while (reader.MoveToContent() == XmlNodeType.
Element
)
System\ServiceModel\Channels\Message.cs (9)
610
if (reader.NodeType != XmlNodeType.
Element
)
612
if (reader.NodeType == XmlNodeType.
Element
)
931
if (reader.MoveToContent() != XmlNodeType.
Element
)
957
if (type != XmlNodeType.
Element
)
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
)
System\ServiceModel\Channels\MessageHeaders.cs (6)
417
if (reader.NodeType != XmlNodeType.
Element
)
419
if (reader.MoveToContent() != XmlNodeType.
Element
)
774
if (reader.NodeType == XmlNodeType.
Element
)
778
if (reader.NodeType == XmlNodeType.
Element
)
797
if (reader.NodeType != XmlNodeType.
Element
)
810
if (reader.MoveToContent() == XmlNodeType.
Element
&& !reader.IsEmptyElement)
System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
41
&& currentNode.NodeType == XmlNodeType.
Element
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
106
&& (node.NodeType == XmlNodeType.
Element
)
System\ServiceModel\Channels\WsrmFault.cs (2)
732
if ((headerReader.NodeType != XmlNodeType.
Element
)
757
if ((headerReader.NodeType == XmlNodeType.
Element
)
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (2)
49
if ((reader.MoveToContent() == XmlNodeType.
Element
) && (reader.Name == "wsdl:definitions"))
840
if ((reader.MoveToContent() == XmlNodeType.
Element
) && (reader.Name == "xs:schema"))
System\ServiceModel\Configuration\ServiceModelExtensionCollectionElement.cs (2)
454
if (XmlNodeType.
Element
!= reader.NodeType)
464
if (XmlNodeType.
Element
== subTree.NodeType)
System\ServiceModel\Description\MetadataSet.cs (4)
437
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
)
495
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
)
566
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
)
650
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
)
System\ServiceModel\Description\PolicyReader.cs (2)
143
if (child.NodeType == XmlNodeType.
Element
)
166
if (child.NodeType == XmlNodeType.
Element
)
System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
60
case XmlNodeType.
Element
:
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (1)
1938
case XmlNodeType.
Element
:
System\ServiceModel\EndpointAddress.cs (2)
561
else if (reader.NodeType != XmlNodeType.
Element
)
599
else if (reader.NodeType != XmlNodeType.
Element
)
System\ServiceModel\EndpointIdentity.cs (1)
230
else if (reader.NodeType == XmlNodeType.
Element
)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (5)
219
if (reader.NodeType != XmlNodeType.
Element
)
228
if (reader.NodeType != XmlNodeType.
Element
)
236
if (reader.NodeType != XmlNodeType.
Element
)
259
if (reader.NodeType != XmlNodeType.
Element
)
506
if (reader.NodeType != XmlNodeType.
Element
)
System\ServiceModel\Security\WSSecureConversation.cs (1)
429
Fx.Assert(reader.NodeType == XmlNodeType.
Element
, "");
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (2)
204
if (reader.NodeType != XmlNodeType.
Element
)
308
if (reader.NodeType != XmlNodeType.
Element
)
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2334
while (metadataReader.MoveToContent() == XmlNodeType.
Element
)
System\ServiceModel\Security\XmlHelper.cs (3)
64
else if (child.NodeType == XmlNodeType.
Element
&& result == null)
76
OnChildNodeTypeMissing(parent, XmlNodeType.
Element
);
97
else if (child.NodeType == XmlNodeType.
Element
)
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
585
case XmlNodeType.
Element
:
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\XmlByteStreamReader.cs (1)
123
return XmlNodeType.
Element
;
System.Web (21)
Compilation\PreservationFileReader.cs (2)
179
if (dependenciesNode.NodeType != XmlNodeType.
Element
)
206
if (dependencyNode.NodeType != XmlNodeType.
Element
)
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
468
if (node.NodeType != XmlNodeType.
Element
)
579
if (node.NodeType != XmlNodeType.
Element
) {
Configuration\BrowserDefinition.cs (5)
189
if(child.NodeType != XmlNodeType.
Element
) {
385
if(child.NodeType != XmlNodeType.
Element
) {
469
if(child.NodeType != XmlNodeType.
Element
) {
507
if(child.NodeType != XmlNodeType.
Element
) {
531
if(child.NodeType != XmlNodeType.
Element
) {
Configuration\HttpCapabilitiesSectionHandler.cs (1)
183
case XmlNodeType.
Element
:
Configuration\ProtocolsConfiguration.cs (1)
84
if (node.NodeType != XmlNodeType.
Element
)
UI\WebControls\AdRotator.cs (3)
544
if (reader.NodeType == XmlNodeType.
Element
&& reader.Name == "Ad" && reader.Depth == 1) {
549
if (reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement) {
609
if (prop.NodeType == XmlNodeType.
Element
) {
UI\WebControls\XmlDataSourceView.cs (2)
74
if (node.NodeType == XmlNodeType.
Element
) {
86
if (node.NodeType == XmlNodeType.
Element
) {
UI\WebControls\XmlHierarchicalEnumerable.cs (1)
47
if (node.NodeType == XmlNodeType.
Element
) {
UI\WebControls\XmlHierarchyData.cs (1)
61
if (nodeList[i].NodeType == XmlNodeType.
Element
)
UI\WebParts\ImportCatalogPart.cs (1)
254
while (!reader.EOF && !(reader.NodeType == XmlNodeType.
Element
&&
XmlSiteMapProvider.cs (2)
299
if (subNode.NodeType == XmlNodeType.
Element
) {
809
if (subNode.NodeType != XmlNodeType.
Element
)
System.Web.Extensions (31)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (10)
206
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
258
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
273
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
308
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
343
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
378
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
452
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
502
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
575
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
642
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
Compilation\XmlSerializer\SvcMapFileSerializer.cs (20)
393
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
444
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
465
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
500
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
535
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
609
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
682
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
749
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
797
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
828
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
876
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
906
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
966
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
996
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
1026
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
1099
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
1145
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
1191
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
1250
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
1309
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
Script\Services\WebServiceTypeData.cs (1)
188
if (child.NodeType == XmlNodeType.
Element
) {
System.Web.Mobile (1)
Mobile\ConfigurationSectionHelper.cs (1)
156
if(_currentNode.NodeType != XmlNodeType.
Element
)
System.Web.Services (99)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (89)
4117
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4184
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4268
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4339
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4405
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4455
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4505
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4567
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4644
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4728
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4803
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4873
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
4938
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5035
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5107
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5169
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5235
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5307
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5369
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5416
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5492
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5544
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5596
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5663
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5717
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5774
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5857
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5903
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
5961
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6023
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6081
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6135
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6189
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6239
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6297
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6370
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6447
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6515
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6583
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6648
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6723
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6784
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6877
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
6975
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7057
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7122
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7185
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7250
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7327
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7419
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7495
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7583
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7656
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7768
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7840
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7912
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
7984
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8056
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8128
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8200
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8272
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8344
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8416
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8488
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8560
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8628
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8789
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8879
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
8954
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9023
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9099
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9191
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9298
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9374
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9465
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9538
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9633
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9697
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9774
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9854
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
9972
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10049
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10144
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10238
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10326
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10395
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10478
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10546
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
10614
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
System\Web\Services\Description\WebReferenceOptions.cs (3)
305
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
327
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
385
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (1)
189
while (newReader.NodeType != XmlNodeType.
Element
) {
System\Web\Services\Discovery\DiscoveryDocumentSerializer.cs (6)
148
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
192
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
256
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
306
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
356
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
402
if (Reader.NodeType == System.Xml.XmlNodeType.
Element
) {
System.Windows.Forms (10)
winforms\Managed\System\Resources\ResXResourceReader.cs (10)
385
if (reader.NodeType == XmlNodeType.
Element
) {
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
) {
614
if (reader.NodeType == XmlNodeType.
Element
) {
System.Workflow.ComponentModel (17)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
1147
if (reader.MoveToContent() == System.Xml.XmlNodeType.
Element
)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
269
if (reader != null && reader.NodeType == XmlNodeType.
Element
)
AuthoringOM\Design\ComponentSerializationService.cs (2)
196
XmlTextReader reader = new XmlTextReader(this.serializedXmlString, XmlNodeType.
Element
, null) { DtdProcessing = DtdProcessing.Prohibit };
240
while (reader.NodeType != XmlNodeType.
Element
&& reader.NodeType != XmlNodeType.ProcessingInstruction && reader.Read());
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (12)
132
while (xmlReader.Read() && xmlReader.NodeType != XmlNodeType.
Element
&& xmlReader.NodeType != XmlNodeType.ProcessingInstruction);
218
if (reader.NodeType != XmlNodeType.
Element
)
275
if (reader.NodeType != XmlNodeType.
Element
)
456
if (reader.NodeType == XmlNodeType.
Element
)
557
using (new SafeXmlNodeWriter(serializationManager, obj, null, XmlNodeType.
Element
))
999
using (new SafeXmlNodeWriter(serializationManager, obj, propertyObj, XmlNodeType.
Element
))
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);
1861
if (reader.NodeType == XmlNodeType.
Element
)
2371
else if (this.xmlNodeType == XmlNodeType.
Element
)
2394
if (this.xmlNodeType == XmlNodeType.
Element
)
2411
if (this.xmlNodeType == XmlNodeType.
Element
)
Shared\XomlSerializationHelpers.cs (1)
133
case XmlNodeType.
Element
:
System.Workflow.Runtime (14)
Tracking\TrackingProfileSerializer.cs (14)
161
case XmlNodeType.
Element
:
200
case XmlNodeType.
Element
:
245
case XmlNodeType.
Element
:
316
case XmlNodeType.
Element
:
364
case XmlNodeType.
Element
:
472
case XmlNodeType.
Element
:
512
case XmlNodeType.
Element
:
559
case XmlNodeType.
Element
:
599
case XmlNodeType.
Element
:
655
case XmlNodeType.
Element
:
698
case XmlNodeType.
Element
:
736
case XmlNodeType.
Element
:
776
case XmlNodeType.
Element
:
812
case XmlNodeType.
Element
:
System.Xml (311)
System\Xml\BinaryXml\XmlBinaryReader.cs (10)
490
if (this.nodetype == XmlNodeType.
Element
500
if (this.parentNodeType != XmlNodeType.
Element
)
505
if (this.parentNodeType != XmlNodeType.
Element
)
715
if (XmlNodeType.
Element
== this.parentNodeType)
906
if (this.NodeType != XmlNodeType.
Element
&& this.NodeType != XmlNodeType.EndElement) {
915
case XmlNodeType.
Element
:
1533
if (this.NodeType == XmlNodeType.
Element
|| this.NodeType == XmlNodeType.EndElement)
1564
if (this.NodeType == XmlNodeType.
Element
|| this.NodeType == XmlNodeType.EndElement) {
2469
case XmlNodeType.
Element
:
2733
this.nodetype = XmlNodeType.
Element
;
System\Xml\Core\ReadContentAsBinaryHelper.cs (3)
173
if ( reader.NodeType != XmlNodeType.
Element
) {
220
if ( reader.NodeType != XmlNodeType.
Element
) {
284
Debug.Assert( reader.NodeType == XmlNodeType.
Element
);
System\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
123
if ( reader.NodeType != XmlNodeType.
Element
) {
170
if ( reader.NodeType != XmlNodeType.
Element
) {
228
Debug.Assert( reader.NodeType == XmlNodeType.
Element
);
System\Xml\Core\XmlCharCheckingReader.cs (1)
209
case XmlNodeType.
Element
:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
77
case XmlNodeType.
Element
:
System\Xml\Core\XmlReader.cs (30)
689
if (this.NodeType == XmlNodeType.
Element
) {
719
goto case XmlNodeType.
Element
;
720
case XmlNodeType.
Element
:
734
if (MoveToContent() != XmlNodeType.
Element
) {
742
if (MoveToContent() != XmlNodeType.
Element
) {
756
if (MoveToContent() != XmlNodeType.
Element
) {
773
if (MoveToContent() != XmlNodeType.
Element
) {
795
if (MoveToContent() != XmlNodeType.
Element
) {
821
if (MoveToContent() != XmlNodeType.
Element
) {
853
return MoveToContent() == XmlNodeType.
Element
;
859
return (MoveToContent() == XmlNodeType.
Element
) &&
866
return (MoveToContent() == XmlNodeType.
Element
) &&
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)) {
953
if (NodeType != XmlNodeType.
Element
) {
973
if (NodeType == XmlNodeType.
Element
&& Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) {
997
if (nt == XmlNodeType.
Element
&& Ref.Equal(name, Name)) {
1024
if (nt == XmlNodeType.
Element
&& Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI)) {
1052
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
)) {
1067
if (this.NodeType == XmlNodeType.
Element
) {
1085
case XmlNodeType.
Element
:
1147
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
)) {
1206
if (NodeType != XmlNodeType.
Element
) {
1328
if (NodeType == XmlNodeType.
Element
&& !IsEmptyElement) {
1353
if (NodeType != XmlNodeType.
Element
) {
1436
if (this.NodeType != XmlNodeType.
Element
) {
1454
else if (nodeType == XmlNodeType.
Element
) {
1735
case XmlNodeType.
Element
:
System\Xml\Core\XmlReaderAsync.cs (9)
163
goto case XmlNodeType.
Element
;
164
case XmlNodeType.
Element
:
181
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
)) {
196
if (this.NodeType == XmlNodeType.
Element
) {
214
case XmlNodeType.
Element
:
262
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
)) {
292
if (NodeType == XmlNodeType.
Element
&& !IsEmptyElement) {
355
if (this.NodeType != XmlNodeType.
Element
) {
373
else if (nodeType == XmlNodeType.
Element
) {
System\Xml\Core\XmlSubtreeReader.cs (13)
347
Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
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 ) {
489
reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement ||
496
if ( reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement ) {
688
case XmlNodeType.
Element
:
807
case XmlNodeType.
Element
:
1037
case XmlNodeType.
Element
:
1133
if ( NodeType != XmlNodeType.
Element
) {
1145
case XmlNodeType.
Element
:
1302
case XmlNodeType.
Element
:
System\Xml\Core\XmlSubtreeReaderAsync.cs (9)
39
( reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement ) ) {
44
Debug.Assert( reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement );
101
if ( reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement ) {
110
reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement ||
117
if ( reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement ) {
212
case XmlNodeType.
Element
:
331
case XmlNodeType.
Element
:
484
if ( NodeType != XmlNodeType.
Element
) {
496
case XmlNodeType.
Element
:
System\Xml\Core\XmlTextReaderImpl.cs (30)
476
fragmentType = XmlNodeType.
Element
;
844
case XmlNodeType.
Element
: settings.ConformanceLevel = ConformanceLevel.Fragment; break;
1206
Debug.Assert( curNode.type == XmlNodeType.
Element
);
1321
case XmlNodeType.
Element
:
1335
goto case XmlNodeType.
Element
;
1641
if ( curNode.type != XmlNodeType.
Element
) {
1689
if ( curNode.type != XmlNodeType.
Element
) {
2076
if ( curNode.type != XmlNodeType.
Element
) {
2106
if ( curNode.type != XmlNodeType.
Element
) {
2136
if ( curNode.type != XmlNodeType.
Element
) {
2765
case XmlNodeType.
Element
:
3603
fragmentType = XmlNodeType.
Element
;
3645
fragmentType = XmlNodeType.
Element
;
3660
fragmentType = XmlNodeType.
Element
;
3700
fragmentType = XmlNodeType.
Element
;
3738
fragmentType = rootElementParsed ? XmlNodeType.Document : XmlNodeType.
Element
;
3872
if ( index == 0 && curNode.type != XmlNodeType.
Element
) {
3880
if ( el.type != XmlNodeType.
Element
) {
3978
curNode.SetNamedNode( XmlNodeType.
Element
,
3985
curNode.SetNamedNode( XmlNodeType.
Element
,
3991
curNode.SetNamedNode( XmlNodeType.
Element
,
4057
Debug.Assert( curNode.type == XmlNodeType.
Element
);
4237
if ( startTag.type == XmlNodeType.
Element
) {
4318
Debug.Assert( curNode.type == XmlNodeType.
Element
);
4325
Debug.Assert( curNode.type == XmlNodeType.
Element
);
4548
Debug.Assert( curNode.type == XmlNodeType.
Element
);
7971
Debug.Assert( curNode.type == XmlNodeType.
Element
);
8198
return fragmentType == XmlNodeType.
Element
? ConformanceLevel.Fragment : ConformanceLevel.Document;
8301
Debug.Assert( nodes[index].type == XmlNodeType.
Element
);
8315
Debug.Assert( nodes[index].type == XmlNodeType.
Element
);
System\Xml\Core\XmlTextReaderImplAsync.cs (18)
190
Debug.Assert(curNode.type == XmlNodeType.
Element
);
325
case XmlNodeType.
Element
:
339
goto case XmlNodeType.
Element
;
511
if ( curNode.type != XmlNodeType.
Element
) {
566
if ( curNode.type != XmlNodeType.
Element
) {
1456
fragmentType = XmlNodeType.
Element
;
1487
fragmentType = XmlNodeType.
Element
;
1502
fragmentType = XmlNodeType.
Element
;
1536
fragmentType = XmlNodeType.
Element
;
1552
fragmentType = XmlNodeType.
Element
;
1586
fragmentType = rootElementParsed ? XmlNodeType.Document : XmlNodeType.
Element
;
1812
curNode.SetNamedNode(XmlNodeType.
Element
,
1819
curNode.SetNamedNode(XmlNodeType.
Element
,
1825
curNode.SetNamedNode(XmlNodeType.
Element
,
2107
if ( startTag.type == XmlNodeType.
Element
) {
2193
Debug.Assert( curNode.type == XmlNodeType.
Element
);
2200
Debug.Assert( curNode.type == XmlNodeType.
Element
);
4925
Debug.Assert( curNode.type == XmlNodeType.
Element
);
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
399
return type == XmlNodeType.
Element
&& isEmptyOrDefault;
402
Debug.Assert( type == XmlNodeType.
Element
);
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
800
case XmlNodeType.
Element
:
System\Xml\Core\XmlValidatingReaderImplAsync.cs (1)
168
case XmlNodeType.
Element
:
System\Xml\Core\XmlWriter.cs (2)
336
if (reader.NodeType == XmlNodeType.
Element
|| reader.NodeType == XmlNodeType.XmlDeclaration) {
377
case XmlNodeType.
Element
:
System\Xml\Core\XmlWriterAsync.cs (3)
218
if (reader.NodeType == XmlNodeType.
Element
|| reader.NodeType == XmlNodeType.XmlDeclaration) {
273
case XmlNodeType.
Element
:
332
case XmlNodeType.
Element
:
System\Xml\Core\XsdCachingReader.cs (8)
82
if (coreReader.NodeType == XmlNodeType.
Element
) {
354
case XmlNodeType.
Element
:
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));
469
case XmlNodeType.
Element
:
482
goto case XmlNodeType.
Element
;
602
Debug.Assert(coreReader.NodeType == XmlNodeType.
Element
);
System\Xml\Core\XsdCachingReaderAsync.cs (4)
38
case XmlNodeType.
Element
:
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
97
case XmlNodeType.
Element
:
110
goto case XmlNodeType.
Element
;
System\Xml\Core\XsdValidatingReader.cs (26)
354
case XmlNodeType.
Element
:
616
if (this.NodeType != XmlNodeType.
Element
) {
626
if (this.NodeType != XmlNodeType.
Element
) {
653
if (this.NodeType != XmlNodeType.
Element
) {
680
if (this.NodeType != XmlNodeType.
Element
) {
707
if (this.NodeType != XmlNodeType.
Element
) {
734
if (this.NodeType != XmlNodeType.
Element
) {
761
if (this.NodeType != XmlNodeType.
Element
) {
788
if (this.NodeType != XmlNodeType.
Element
) {
815
if (this.NodeType != XmlNodeType.
Element
) {
842
if (this.NodeType != XmlNodeType.
Element
) {
1179
case XmlNodeType.
Element
:
1198
goto case XmlNodeType.
Element
;
1343
case XmlNodeType.
Element
:
1368
case XmlNodeType.
Element
:
1382
case XmlNodeType.
Element
:
1407
case XmlNodeType.
Element
:
1431
case XmlNodeType.
Element
:
1448
if (NodeType == XmlNodeType.
Element
|| NodeType == XmlNodeType.EndElement) {
1558
case XmlNodeType.
Element
:
1822
if (coreReader.NodeType == XmlNodeType.
Element
) {
1921
Debug.Assert(this.NodeType == XmlNodeType.
Element
);
1957
else if (this.NodeType == XmlNodeType.
Element
) { //the first child is again element node
1985
case XmlNodeType.
Element
:
2037
case XmlNodeType.
Element
:
2082
case XmlNodeType.
Element
:
System\Xml\Core\XsdValidatingReaderAsync.cs (10)
98
if (this.NodeType != XmlNodeType.
Element
) {
109
if (this.NodeType != XmlNodeType.
Element
) {
139
if (this.NodeType != XmlNodeType.
Element
) {
279
case XmlNodeType.
Element
:
298
goto case XmlNodeType.
Element
;
405
case XmlNodeType.
Element
:
531
if (coreReader.NodeType == XmlNodeType.
Element
) {
643
Debug.Assert(this.NodeType == XmlNodeType.
Element
);
680
else if (this.NodeType == XmlNodeType.
Element
) { //the first child is again element node
712
case XmlNodeType.
Element
:
System\Xml\Dom\DocumentSchemaValidator.cs (4)
102
case XmlNodeType.
Element
: //Validate children of this element
166
case XmlNodeType.
Element
:
260
case XmlNodeType.
Element
:
653
case XmlNodeType.
Element
: //Flat validation, do not drill down into children
System\Xml\Dom\DocumentXPathNavigator.cs (28)
68
goto case XmlNodeType.
Element
;
69
case XmlNodeType.
Element
:
113
case XmlNodeType.
Element
:
145
case XmlNodeType.
Element
:
308
&& node.NodeType != XmlNodeType.
Element
) {
667
case XmlNodeType.
Element
:
760
if (child.NodeType == XmlNodeType.
Element
848
while (following.NodeType != XmlNodeType.
Element
932
if (sibling.NodeType == XmlNodeType.
Element
976
case XmlNodeType.
Element
:
1221
if ( curNT != XmlNodeType.Document && curNT != XmlNodeType.
Element
) {
1241
case XmlNodeType.
Element
:
1256
case XmlNodeType.
Element
:
1315
if (source.NodeType != XmlNodeType.
Element
) {
1408
goto case XmlNodeType.
Element
;
1409
case XmlNodeType.
Element
:
1461
goto case XmlNodeType.
Element
;
1462
case XmlNodeType.
Element
:
1748
case XmlNodeType.
Element
:
1752
case XmlNodeType.
Element
:
1764
case XmlNodeType.
Element
:
1865
if (node.NodeType == XmlNodeType.
Element
&& Match(node)) {
1887
return ( node.NodeType == XmlNodeType.
Element
);
1905
if ( node.NodeType == XmlNodeType.
Element
&& Match( node ) ) {
1931
Debug.Assert( node.NodeType == XmlNodeType.
Element
);
1951
if ( node.NodeType == XmlNodeType.
Element
&& Match( node ) ) {
1985
Debug.Assert( node.NodeType == XmlNodeType.
Element
);
2007
if ( node.NodeType == XmlNodeType.
Element
&& Match( node ) ) {
System\Xml\Dom\XmlDocument.cs (9)
297
get { return(XmlElement)FindChild(XmlNodeType.
Element
); }
375
case XmlNodeType.
Element
:
439
return !HasNodeTypeInPrevSiblings( XmlNodeType.
Element
, refChild.PreviousSibling );
444
case XmlNodeType.
Element
: {
474
return !HasNodeTypeInPrevSiblings( XmlNodeType.
Element
, refChild );
477
case XmlNodeType.
Element
: {
794
case XmlNodeType.
Element
:
930
case XmlNodeType.
Element
:
1010
return XmlNodeType.
Element
;
System\Xml\Dom\XmlDocumentFragment.cs (2)
96
loader.ParsePartialContent( this, value, XmlNodeType.
Element
);
121
case XmlNodeType.
Element
:
System\Xml\Dom\XmlElement.cs (2)
94
get { return XmlNodeType.
Element
;}
183
case XmlNodeType.
Element
:
System\Xml\Dom\XmlElementList.cs (2)
32
Debug.Assert( parent.NodeType == XmlNodeType.
Element
|| parent.NodeType == XmlNodeType.Document );
142
if (curNode.NodeType == XmlNodeType.
Element
) {
System\Xml\Dom\XmlEntity.cs (1)
88
type == XmlNodeType.
Element
||
System\Xml\Dom\XmlEntityReference.cs (1)
119
case XmlNodeType.
Element
:
System\Xml\Dom\XmlLoader.cs (7)
96
case XmlNodeType.
Element
:
132
Debug.Assert( parent.NodeType == XmlNodeType.
Element
);
409
case XmlNodeType.
Element
:
434
Debug.Assert( parent.NodeType == XmlNodeType.
Element
);
526
XmlTextReaderImpl tr = new XmlTextReaderImpl("", XmlNodeType.
Element
, pc);
690
XmlNamespaceManager mgr = ParsePartialContent( node, innerxmltext, XmlNodeType.
Element
);
812
contentNT = XmlNodeType.
Element
;
System\Xml\Dom\XmlNode.cs (6)
651
case XmlNodeType.
Element
: {
924
if (node.NodeType == XmlNodeType.
Element
) {
989
if (node.NodeType == XmlNodeType.
Element
) {
1040
if (n.NodeType == XmlNodeType.
Element
&& n.Name == name)
1053
if (n.NodeType == XmlNodeType.
Element
&& n.LocalName == localname && n.NamespaceURI == ns)
1212
case XmlNodeType.
Element
:
System\Xml\Dom\XmlNodeReader.cs (18)
182
case XmlNodeType.
Element
:
263
if (curNode.NodeType == XmlNodeType.
Element
) {
294
if ( nt == XmlNodeType.
Element
)
429
case XmlNodeType.
Element
:
451
case XmlNodeType.
Element
:
467
case XmlNodeType.
Element
:
548
nt = XmlNodeType.
Element
;
550
if ( curNode.NodeType == XmlNodeType.
Element
)
579
if ( nt == XmlNodeType.
Element
)
602
case XmlNodeType.
Element
:
638
} else if ( nt == XmlNodeType.
Element
) {
755
if ( node.NodeType == XmlNodeType.
Element
) {
807
if ( node.NodeType == XmlNodeType.
Element
) {
846
if ( node.NodeType == XmlNodeType.
Element
) {
1330
&& ( nt == XmlNodeType.
Element
|| ( nt == XmlNodeType.EntityReference && bResolveEntity ) ||
1340
} else if ( readerNav.NodeType == XmlNodeType.
Element
1381
&& readerNav.NodeType == XmlNodeType.
Element
1409
if ( readerNav.NodeType == XmlNodeType.
Element
) {
System\Xml\Schema\AutoValidator.cs (1)
64
if (reader.NodeType == XmlNodeType.
Element
) {
System\Xml\Schema\DtdValidator.cs (3)
55
case XmlNodeType.
Element
:
88
reader.NodeType == XmlNodeType.
Element
) {
129
Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
System\Xml\Schema\Inference\Infer.cs (5)
211
while (xtr.NodeType != XmlNodeType.
Element
&& xtr.Read()) ;
214
if (xtr.NodeType == XmlNodeType.
Element
)
718
} while( (!xtr.EOF) && (xtr.NodeType != XmlNodeType.EndElement) && (xtr.NodeType != XmlNodeType.CDATA)&&(xtr.NodeType != XmlNodeType.
Element
)&&(xtr.NodeType != XmlNodeType.Text) );
905
else if (xtr.NodeType == XmlNodeType.
Element
)
982
} while( (!xtr.EOF) && (xtr.NodeType != XmlNodeType.EndElement) && (xtr.NodeType != XmlNodeType.CDATA)&&(xtr.NodeType != XmlNodeType.
Element
)&&(xtr.NodeType != XmlNodeType.Text));
System\Xml\Schema\Parser.cs (4)
72
while (reader.NodeType != XmlNodeType.
Element
&& reader.Read()) {}
161
else if (reader.NodeType == XmlNodeType.
Element
) {
239
case XmlNodeType.
Element
:
295
Debug.Assert( reader.NodeType == XmlNodeType.
Element
);
System\Xml\Schema\ParserAsync.cs (1)
32
while (reader.NodeType != XmlNodeType.
Element
&& await reader.ReadAsync().ConfigureAwait(false)) {}
System\Xml\Schema\XdrValidator.cs (1)
60
case XmlNodeType.
Element
:
System\Xml\Schema\XsdValidator.cs (1)
88
case XmlNodeType.
Element
:
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\XmlSerializationReader.cs (3)
1184
else if (r.NodeType == XmlNodeType.
Element
&& events.OnUnknownElement == null) {
1205
else if (unknownNode.NodeType == XmlNodeType.
Element
) {
1231
case XmlNodeType.
Element
:
System\Xml\XPath\XPathDocument.cs (1)
183
case XmlNodeType.
Element
: {
System\Xml\XPath\XPathNavigator.cs (2)
1774
XmlTextReader reader = new XmlTextReader(xml, XmlNodeType.
Element
, context);
1797
case XmlNodeType.
Element
:
System\Xml\XPath\XPathNavigatorReader.cs (6)
51
XmlNodeType.
Element
, // XPathNodeType.Element
260
if( ( this.nodeType != XmlNodeType.
Element
)
271
if( ( this.nodeType != XmlNodeType.
Element
)
304
if (this.nodeType == XmlNodeType.
Element
)
666
this.nodeType = XmlNodeType.
Element
;
868
else if ( this.nodeType == XmlNodeType.
Element
System.Xml.Linq (17)
System\Xml\Linq\XLinq.cs (11)
1843
case XmlNodeType.
Element
:
3035
case XmlNodeType.
Element
:
3103
case XmlNodeType.
Element
: {
3609
return XmlNodeType.
Element
;
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));
6000
case XmlNodeType.
Element
:
6004
ValidateDocument(previous, XmlNodeType.None, XmlNodeType.
Element
);
6020
if (nt == XmlNodeType.
Element
|| nt == XmlNodeType.DocumentType) {
System\Xml\Linq\XNodeNavigator.cs (5)
13
(1 << (int)XmlNodeType.
Element
) |
18
(1 << (int)XmlNodeType.
Element
), // Element
27
(1 << (int)XmlNodeType.
Element
) |
180
case XmlNodeType.
Element
:
243
case XmlNodeType.
Element
:
System\Xml\Linq\XNodeValidator.cs (1)
46
case XmlNodeType.
Element
:
WindowsBase (21)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (2)
312
if (reader.NodeType == XmlNodeType.
Element
336
if (reader.NodeType == XmlNodeType.
Element
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
580
if ( reader.MoveToContent() != XmlNodeType.
Element
608
if (reader.NodeType != XmlNodeType.
Element
)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (4)
700
if ((node.NodeType != XmlNodeType.
Element
) ||
1078
while (reader.Read() && (reader.NodeType == XmlNodeType.
Element
))
1080
if (reader.MoveToContent() == XmlNodeType.
Element
1178
xDoc.AppendChild(xDoc.CreateNode(XmlNodeType.
Element
, "root", "namespace")); // dummy root
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (5)
130
while (reader.Read() && (reader.MoveToContent() == XmlNodeType.
Element
))
260
while (reader.Read() && (reader.MoveToContent() == XmlNodeType.
Element
))
337
while (reader.Read() && (reader.MoveToContent() == XmlNodeType.
Element
))
426
while (reader.Read() && (reader.MoveToContent() == XmlNodeType.
Element
)
498
XmlNode manifest = xDoc.CreateNode(XmlNodeType.
Element
,
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (3)
176
if (reader.MoveToContent() == XmlNodeType.
Element
259
&& reader.MoveToContent() == XmlNodeType.
Element
268
&& reader.MoveToContent() == XmlNodeType.
Element
Base\System\IO\Packaging\ZipPackage.cs (3)
1139
if ((reader.NodeType == XmlNodeType.
Element
)
1163
if (reader.NodeType == XmlNodeType.
Element
1171
if (reader.NodeType == XmlNodeType.
Element
Base\System\Windows\Markup\XmlCompatibilityReader.cs (1)
189
case XmlNodeType.
Element
:
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
417
Debug.Assert(reader.NodeType == XmlNodeType.
Element
, "XmlReader should be positioned at an Element");