455 references to Element
dotnet-svcutil-lib (455)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (10)
550
if (_nodetype == XmlNodeType.
Element
560
if (_parentNodeType != XmlNodeType.
Element
)
565
if (_parentNodeType != XmlNodeType.
Element
)
823
if (XmlNodeType.
Element
== _parentNodeType)
1043
if (this.NodeType != XmlNodeType.
Element
&& this.NodeType != XmlNodeType.EndElement)
1055
case XmlNodeType.
Element
:
1739
if (this.NodeType == XmlNodeType.
Element
|| this.NodeType == XmlNodeType.EndElement)
1778
if (this.NodeType == XmlNodeType.
Element
|| this.NodeType == XmlNodeType.EndElement)
2832
case XmlNodeType.
Element
:
3111
_nodetype = XmlNodeType.
Element
;
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelper.cs (3)
202
if (_reader.NodeType != XmlNodeType.
Element
)
258
if (_reader.NodeType != XmlNodeType.
Element
)
333
Debug.Assert(_reader.NodeType == XmlNodeType.
Element
);
FrameworkFork\Microsoft.Xml\Xml\Core\ReadContentAsBinaryHelperAsync.cs (3)
152
if (_reader.NodeType != XmlNodeType.
Element
)
208
if (_reader.NodeType != XmlNodeType.
Element
)
276
Debug.Assert(_reader.NodeType == XmlNodeType.
Element
);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReader.cs (1)
245
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReaderAsync.cs (1)
96
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (33)
785
if (this.NodeType == XmlNodeType.
Element
)
823
goto case XmlNodeType.
Element
;
824
case XmlNodeType.
Element
:
839
if (MoveToContent() != XmlNodeType.
Element
)
849
if (MoveToContent() != XmlNodeType.
Element
)
867
if (MoveToContent() != XmlNodeType.
Element
)
887
if (MoveToContent() != XmlNodeType.
Element
)
914
if (MoveToContent() != XmlNodeType.
Element
)
946
if (MoveToContent() != XmlNodeType.
Element
)
985
return MoveToContent() == XmlNodeType.
Element
;
992
return (MoveToContent() == XmlNodeType.
Element
) &&
1000
return (MoveToContent() == XmlNodeType.
Element
) &&
1017
if (NodeType == XmlNodeType.
Element
&& Ref.Equal(name, Name))
1044
if (NodeType == XmlNodeType.
Element
&& Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI))
1061
if (NodeType != XmlNodeType.
Element
)
1085
if (NodeType == XmlNodeType.
Element
&& Ref.Equal(name, Name))
1107
if (NodeType != XmlNodeType.
Element
)
1132
if (NodeType == XmlNodeType.
Element
&& Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI))
1161
if (nt == XmlNodeType.
Element
&& Ref.Equal(name, Name))
1194
if (nt == XmlNodeType.
Element
&& Ref.Equal(localName, LocalName) && Ref.Equal(namespaceURI, NamespaceURI))
1229
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
))
1245
if (this.NodeType == XmlNodeType.
Element
)
1266
case XmlNodeType.
Element
:
1334
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
))
1393
if (NodeType != XmlNodeType.
Element
)
1443
Debug.Assert(0 == (s_isTextualNodeBitmap & (1 << (int)XmlNodeType.
Element
)));
1470
Debug.Assert(0 == (s_canReadContentAsBitmap & (1 << (int)XmlNodeType.
Element
)));
1497
Debug.Assert(0 == (s_hasValueBitmap & (1 << (int)XmlNodeType.
Element
)));
1525
if (NodeType == XmlNodeType.
Element
&& !IsEmptyElement)
1556
if (NodeType != XmlNodeType.
Element
)
1656
if (this.NodeType != XmlNodeType.
Element
)
1677
else if (nodeType == XmlNodeType.
Element
)
1982
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderAsync.cs (9)
182
goto case XmlNodeType.
Element
;
183
case XmlNodeType.
Element
:
202
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
))
218
if (this.NodeType == XmlNodeType.
Element
)
239
case XmlNodeType.
Element
:
289
if ((this.NodeType != XmlNodeType.Attribute) && (this.NodeType != XmlNodeType.
Element
))
325
if (NodeType == XmlNodeType.
Element
&& !IsEmptyElement)
399
if (this.NodeType != XmlNodeType.
Element
)
420
else if (nodeType == XmlNodeType.
Element
)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (13)
426
Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
477
(reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement))
483
Debug.Assert(reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement);
546
if (reader.Depth == _initialDepth && reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement)
584
if (reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement)
596
reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement ||
603
if (reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement)
833
case XmlNodeType.
Element
:
969
case XmlNodeType.
Element
:
1240
case XmlNodeType.
Element
:
1356
if (NodeType != XmlNodeType.
Element
)
1371
case XmlNodeType.
Element
:
1547
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReaderAsync.cs (9)
51
(reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement))
57
Debug.Assert(reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement);
121
if (reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement)
133
reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement ||
140
if (reader.NodeType == XmlNodeType.
Element
&& !reader.IsEmptyElement)
250
case XmlNodeType.
Element
:
386
case XmlNodeType.
Element
:
560
if (NodeType != XmlNodeType.
Element
)
575
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (30)
450
_fragmentType = XmlNodeType.
Element
;
846
case XmlNodeType.
Element
: settings.ConformanceLevel = ConformanceLevel.Fragment; break;
1278
Debug.Assert(_curNode.type == XmlNodeType.
Element
);
1393
case XmlNodeType.
Element
:
1408
goto case XmlNodeType.
Element
;
1759
if (_curNode.type != XmlNodeType.
Element
)
1819
if (_curNode.type != XmlNodeType.
Element
)
2286
if (_curNode.type != XmlNodeType.
Element
)
2323
if (_curNode.type != XmlNodeType.
Element
)
2360
if (_curNode.type != XmlNodeType.
Element
)
3079
case XmlNodeType.
Element
:
4019
_fragmentType = XmlNodeType.
Element
;
4072
_fragmentType = XmlNodeType.
Element
;
4091
_fragmentType = XmlNodeType.
Element
;
4139
_fragmentType = XmlNodeType.
Element
;
4180
_fragmentType = _rootElementParsed ? XmlNodeType.Document : XmlNodeType.
Element
;
4336
if (_index == 0 && _curNode.type != XmlNodeType.
Element
)
4347
if (el.type != XmlNodeType.
Element
)
4455
_curNode.SetNamedNode(XmlNodeType.
Element
,
4464
_curNode.SetNamedNode(XmlNodeType.
Element
,
4471
_curNode.SetNamedNode(XmlNodeType.
Element
,
4545
Debug.Assert(_curNode.type == XmlNodeType.
Element
);
4750
if (startTag.type == XmlNodeType.
Element
)
4837
Debug.Assert(_curNode.type == XmlNodeType.
Element
);
4845
Debug.Assert(_curNode.type == XmlNodeType.
Element
);
5090
Debug.Assert(_curNode.type == XmlNodeType.
Element
);
9043
Debug.Assert(_curNode.type == XmlNodeType.
Element
);
9310
return _fragmentType == XmlNodeType.
Element
? ConformanceLevel.Fragment : ConformanceLevel.Document;
9426
Debug.Assert(_nodes[_index].type == XmlNodeType.
Element
);
9444
Debug.Assert(_nodes[_index].type == XmlNodeType.
Element
);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImplHelpers.cs (2)
431
return type == XmlNodeType.
Element
&& _isEmptyOrDefault;
435
Debug.Assert(type == XmlNodeType.
Element
);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReaderImpl.cs (1)
956
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (2)
359
if (reader.NodeType == XmlNodeType.
Element
|| reader.NodeType == XmlNodeType.XmlDeclaration)
413
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReader.cs (8)
85
if (_coreReader.NodeType == XmlNodeType.
Element
)
425
case XmlNodeType.
Element
:
465
if (_coreReader.NodeType != XmlNodeType.
Element
|| _readAhead)
495
Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.
Element
&& _coreReader.IsEmptyElement));
508
Debug.Assert(_coreReader.NodeType == XmlNodeType.EndElement || (_coreReader.NodeType == XmlNodeType.
Element
&& _coreReader.IsEmptyElement));
556
case XmlNodeType.
Element
:
570
goto case XmlNodeType.
Element
;
714
Debug.Assert(_coreReader.NodeType == XmlNodeType.
Element
);
FrameworkFork\Microsoft.Xml\Xml\Core\XsdCachingReaderAsync.cs (4)
51
case XmlNodeType.
Element
:
91
if (_coreReader.NodeType != XmlNodeType.
Element
|| _readAhead)
116
case XmlNodeType.
Element
:
130
goto case XmlNodeType.
Element
;
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (26)
414
case XmlNodeType.
Element
:
753
if (this.NodeType != XmlNodeType.
Element
)
764
if (this.NodeType != XmlNodeType.
Element
)
799
if (this.NodeType != XmlNodeType.
Element
)
834
if (this.NodeType != XmlNodeType.
Element
)
869
if (this.NodeType != XmlNodeType.
Element
)
904
if (this.NodeType != XmlNodeType.
Element
)
939
if (this.NodeType != XmlNodeType.
Element
)
974
if (this.NodeType != XmlNodeType.
Element
)
1009
if (this.NodeType != XmlNodeType.
Element
)
1044
if (this.NodeType != XmlNodeType.
Element
)
1451
case XmlNodeType.
Element
:
1473
goto case XmlNodeType.
Element
;
1643
case XmlNodeType.
Element
:
1673
case XmlNodeType.
Element
:
1690
case XmlNodeType.
Element
:
1721
case XmlNodeType.
Element
:
1750
case XmlNodeType.
Element
:
1770
if (NodeType == XmlNodeType.
Element
|| NodeType == XmlNodeType.EndElement)
1911
case XmlNodeType.
Element
:
2218
if (_coreReader.NodeType == XmlNodeType.
Element
)
2323
Debug.Assert(this.NodeType == XmlNodeType.
Element
);
2366
else if (this.NodeType == XmlNodeType.
Element
)
2400
case XmlNodeType.
Element
:
2460
case XmlNodeType.
Element
:
2513
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReaderAsync.cs (10)
125
if (this.NodeType != XmlNodeType.
Element
)
137
if (this.NodeType != XmlNodeType.
Element
)
175
if (this.NodeType != XmlNodeType.
Element
)
344
case XmlNodeType.
Element
:
366
goto case XmlNodeType.
Element
;
487
case XmlNodeType.
Element
:
630
if (_coreReader.NodeType == XmlNodeType.
Element
)
750
Debug.Assert(this.NodeType == XmlNodeType.
Element
);
794
else if (this.NodeType == XmlNodeType.
Element
)
832
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (4)
107
case XmlNodeType.
Element
: //Validate children of this element
187
case XmlNodeType.
Element
:
302
case XmlNodeType.
Element
:
761
case XmlNodeType.
Element
: //Flat validation, do not drill down into children
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (28)
78
goto case XmlNodeType.
Element
;
79
case XmlNodeType.
Element
:
135
case XmlNodeType.
Element
:
175
case XmlNodeType.
Element
:
376
&& node.NodeType != XmlNodeType.
Element
)
817
case XmlNodeType.
Element
:
930
if (child.NodeType == XmlNodeType.
Element
1041
while (following.NodeType != XmlNodeType.
Element
1145
if (sibling.NodeType == XmlNodeType.
Element
1200
case XmlNodeType.
Element
:
1494
if (curNT != XmlNodeType.Document && curNT != XmlNodeType.
Element
)
1519
case XmlNodeType.
Element
:
1536
case XmlNodeType.
Element
:
1600
if (_source.NodeType != XmlNodeType.
Element
)
1711
goto case XmlNodeType.
Element
;
1712
case XmlNodeType.
Element
:
1773
goto case XmlNodeType.
Element
;
1774
case XmlNodeType.
Element
:
2129
case XmlNodeType.
Element
:
2134
case XmlNodeType.
Element
:
2147
case XmlNodeType.
Element
:
2267
if (node.NodeType == XmlNodeType.
Element
&& Match(node))
2295
return (node.NodeType == XmlNodeType.
Element
);
2319
if (node.NodeType == XmlNodeType.
Element
&& Match(node))
2351
Debug.Assert(node.NodeType == XmlNodeType.
Element
);
2376
if (node.NodeType == XmlNodeType.
Element
&& Match(node))
2416
Debug.Assert(node.NodeType == XmlNodeType.
Element
);
2443
if (node.NodeType == XmlNodeType.
Element
&& Match(node))
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (9)
328
get { return (XmlElement)FindChild(XmlNodeType.
Element
); }
410
case XmlNodeType.
Element
:
482
return !HasNodeTypeInPrevSiblings(XmlNodeType.
Element
, refChild.PreviousSibling);
487
case XmlNodeType.
Element
:
522
return !HasNodeTypeInPrevSiblings(XmlNodeType.
Element
, refChild);
525
case XmlNodeType.
Element
:
904
case XmlNodeType.
Element
:
1055
case XmlNodeType.
Element
:
1142
return XmlNodeType.
Element
;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentFragment.cs (2)
106
loader.ParsePartialContent(this, value, XmlNodeType.
Element
);
136
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElement.cs (2)
108
get { return XmlNodeType.
Element
; }
218
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElementList.cs (2)
32
Debug.Assert(parent.NodeType == XmlNodeType.
Element
|| parent.NodeType == XmlNodeType.Document);
156
if (curNode.NodeType == XmlNodeType.
Element
)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntity.cs (1)
100
type == XmlNodeType.
Element
||
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntityReference.cs (1)
139
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (7)
111
case XmlNodeType.
Element
:
154
Debug.Assert(parent.NodeType == XmlNodeType.
Element
);
469
case XmlNodeType.
Element
:
498
Debug.Assert(parent.NodeType == XmlNodeType.
Element
);
600
XmlTextReaderImpl tr = new XmlTextReaderImpl("", XmlNodeType.
Element
, pc);
795
XmlNamespaceManager mgr = ParsePartialContent(node, innerxmltext, XmlNodeType.
Element
);
936
contentNT = XmlNodeType.
Element
;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (6)
750
case XmlNodeType.
Element
:
1074
if (node.NodeType == XmlNodeType.
Element
)
1159
if (node.NodeType == XmlNodeType.
Element
)
1226
if (n.NodeType == XmlNodeType.
Element
&& n.Name == name)
1241
if (n.NodeType == XmlNodeType.
Element
&& n.LocalName == localname && n.NamespaceURI == ns)
1439
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (18)
203
case XmlNodeType.
Element
:
299
if (_curNode.NodeType == XmlNodeType.
Element
)
339
if (nt == XmlNodeType.
Element
)
498
case XmlNodeType.
Element
:
523
case XmlNodeType.
Element
:
541
case XmlNodeType.
Element
:
637
nt = XmlNodeType.
Element
;
639
if (_curNode.NodeType == XmlNodeType.
Element
)
673
if (nt == XmlNodeType.
Element
)
703
case XmlNodeType.
Element
:
745
else if (nt == XmlNodeType.
Element
)
886
if (node.NodeType == XmlNodeType.
Element
)
954
if (node.NodeType == XmlNodeType.
Element
)
1004
if (node.NodeType == XmlNodeType.
Element
)
1579
&& (nt == XmlNodeType.
Element
|| (nt == XmlNodeType.EntityReference && _bResolveEntity) ||
1592
else if (_readerNav.NodeType == XmlNodeType.
Element
1642
&& _readerNav.NodeType == XmlNodeType.
Element
1679
if (_readerNav.NodeType == XmlNodeType.
Element
)
FrameworkFork\Microsoft.Xml\Xml\schema\autovalidator.cs (1)
74
if (reader.NodeType == XmlNodeType.
Element
)
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (3)
59
case XmlNodeType.
Element
:
96
reader.NodeType == XmlNodeType.
Element
)
146
Debug.Assert(reader.NodeType == XmlNodeType.
Element
);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (5)
209
while (_xtr.NodeType != XmlNodeType.
Element
&& _xtr.Read()) ;
212
if (_xtr.NodeType == XmlNodeType.
Element
)
719
} while ((!_xtr.EOF) && (_xtr.NodeType != XmlNodeType.EndElement) && (_xtr.NodeType != XmlNodeType.CDATA) && (_xtr.NodeType != XmlNodeType.
Element
) && (_xtr.NodeType != XmlNodeType.Text));
907
else if (_xtr.NodeType == XmlNodeType.
Element
)
983
} while ((!_xtr.EOF) && (_xtr.NodeType != XmlNodeType.EndElement) && (_xtr.NodeType != XmlNodeType.CDATA) && (_xtr.NodeType != XmlNodeType.
Element
) && (_xtr.NodeType != XmlNodeType.Text));
FrameworkFork\Microsoft.Xml\Xml\schema\Parser.cs (4)
74
while (reader.NodeType != XmlNodeType.
Element
&& reader.Read()) { }
181
else if (_reader.NodeType == XmlNodeType.
Element
)
279
case XmlNodeType.
Element
:
336
Debug.Assert(_reader.NodeType == XmlNodeType.
Element
);
FrameworkFork\Microsoft.Xml\Xml\schema\ParserAsync.cs (1)
39
while (reader.NodeType != XmlNodeType.
Element
&& await reader.ReadAsync().ConfigureAwait(false)) { }
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (1)
69
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (1)
97
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\Serialization\PrimitiveXmlSerializers.cs (18)
223
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
252
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
276
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
300
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
324
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
348
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
372
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
396
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
420
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
444
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
468
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
492
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
516
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
540
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
564
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
593
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
617
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
641
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (3)
1286
else if (_r.NodeType == XmlNodeType.
Element
&& _events.OnUnknownElement == null)
1312
else if (unknownNode.NodeType == XmlNodeType.
Element
)
1345
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathDocument.cs (1)
205
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (2)
2115
XmlTextReader reader = new XmlTextReader(xml, XmlNodeType.
Element
, context);
2143
case XmlNodeType.
Element
:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (6)
54
XmlNodeType.
Element
, // XPathNodeType.Element
302
if ((_nodeType != XmlNodeType.
Element
)
315
if ((_nodeType != XmlNodeType.
Element
)
352
if (_nodeType == XmlNodeType.
Element
)
776
_nodeType = XmlNodeType.
Element
;
1010
else if (_nodeType == XmlNodeType.
Element
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (1)
427
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationExceptionWithReaderDetails(string.Format(SRSerialization.ExpectingElementAtDeserialize, XmlNodeType.
Element
), xmlReader));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (2)
763
while (_reader.NodeType == XmlNodeType.
Element
)
808
while (_reader.NodeType == XmlNodeType.
Element
)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataReader.cs (1)
218
_nodeType = XmlNodeType.
Element
;
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
1424
if (child.NodeType == XmlNodeType.
Element
)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
806
ThrowUnexpectedStateException(XmlNodeType.
Element
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (3)
307
if (xmlReader.NodeType != XmlNodeType.
Element
)
308
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
542
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlSerializableReader.cs (3)
28
if (xmlReader.NodeType != XmlNodeType.
Element
)
29
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializerReadContext.CreateUnexpectedStateException(XmlNodeType.
Element
, xmlReader));
58
(reader.NodeType == XmlNodeType.
Element
&& reader.IsEmptyElement))
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (13)
1008
if (nodeType == XmlNodeType.
Element
)
1015
if (_node.NodeType == XmlNodeType.
Element
)
1018
return (MoveToContent() == XmlNodeType.
Element
);
1038
return (_node.NodeType == XmlNodeType.
Element
|| IsStartElement()) && _node.Prefix == prefix && _node.LocalName == localName;
1047
return (_node.NodeType == XmlNodeType.
Element
|| IsStartElement()) && _node.LocalName == localName && _node.IsNamespaceUri(namespaceUri);
1056
return (_node.NodeType == XmlNodeType.
Element
|| IsStartElement()) && _node.LocalName == localName && _node.IsNamespaceUri(namespaceUri);
1204
if (_node.NodeType != XmlNodeType.
Element
)
1222
if (_node.NodeType != XmlNodeType.
Element
)
1243
int nodeDepth = _node.NodeType == XmlNodeType.
Element
? _depth - 1 : _depth;
1361
if (nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement)
1379
if (nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement)
1681
if ((_node.NodeType == XmlNodeType.
Element
|| MoveToElement()) && !IsEmptyElement)
2205
: base(XmlNodeType.
Element
,
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReader.cs (11)
79
if (this.Node.NodeType != XmlNodeType.
Element
)
107
if (this.Node.NodeType != XmlNodeType.
Element
)
138
if (this.Node.NodeType != XmlNodeType.
Element
)
184
if (this.Node.NodeType != XmlNodeType.
Element
)
198
if (this.Node.NodeType != XmlNodeType.
Element
)
212
if (this.Node.NodeType != XmlNodeType.
Element
)
226
if (this.Node.NodeType != XmlNodeType.
Element
)
240
if (this.Node.NodeType != XmlNodeType.
Element
)
254
if (this.Node.NodeType != XmlNodeType.
Element
)
268
if (this.Node.NodeType != XmlNodeType.
Element
)
1103
if (this.Node.NodeType != XmlNodeType.
Element
)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (2)
369
case XmlNodeType.
Element
:
454
if (nodeType == XmlNodeType.
Element
|| nodeType == XmlNodeType.EndElement)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (1)
373
case XmlNodeType.
Element
:
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlExceptionHelper.cs (1)
66
case XmlNodeType.
Element
:
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (1)
313
Fx.Assert(reader.NodeType == XmlNodeType.
Element
, "");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Message.cs (9)
569
if (reader.NodeType != XmlNodeType.
Element
)
571
if (reader.NodeType == XmlNodeType.
Element
)
890
if (reader.MoveToContent() != XmlNodeType.
Element
)
916
if (type != XmlNodeType.
Element
)
1234
if (reader.NodeType != XmlNodeType.
Element
)
1268
if (reader.NodeType != XmlNodeType.
Element
)
1554
if (reader.NodeType != XmlNodeType.
Element
)
1565
if (reader.NodeType != XmlNodeType.
Element
)
1572
if (reader.NodeType != XmlNodeType.
Element
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeaders.cs (6)
418
if (reader.NodeType != XmlNodeType.
Element
)
420
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)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
41
&& currentNode.NodeType == XmlNodeType.
Element
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (1)
107
&& (node.NodeType == XmlNodeType.
Element
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataSet.cs (4)
436
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
494
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
565
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
649
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\PolicyReader.cs (2)
143
if (child.NodeType == XmlNodeType.
Element
)
166
if (child.NodeType == XmlNodeType.
Element
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\EndpointAddressProcessor.cs (1)
34
case XmlNodeType.
Element
:
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (2)
559
else if (reader.NodeType != XmlNodeType.
Element
)
597
else if (reader.NodeType != XmlNodeType.
Element
)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointIdentity.cs (1)
148
else if (reader.NodeType == XmlNodeType.
Element
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2334
while (metadataReader.MoveToContent() == XmlNodeType.
Element
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (3)
62
else if (child.NodeType == XmlNodeType.
Element
&& result == null)
74
OnChildNodeTypeMissing(parent, XmlNodeType.
Element
);
95
else if (child.NodeType == XmlNodeType.
Element
)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (89)
5187
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5268
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5371
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5457
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5539
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5600
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5661
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5735
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5829
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
5932
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6025
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6111
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6189
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6311
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6400
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6476
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6557
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6646
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6722
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6779
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6873
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
6937
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7001
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7085
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7151
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7219
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7324
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7380
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7451
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7527
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7598
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7664
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7730
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7791
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7860
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
7948
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8042
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8124
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8206
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8284
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8375
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8448
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8561
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8683
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8783
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8861
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
8938
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9016
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9108
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9220
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9312
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9418
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9506
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9646
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9733
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9820
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9907
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
9994
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10081
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10168
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10255
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10342
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10429
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10516
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10603
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10685
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10881
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
10991
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11082
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11165
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11257
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11369
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11500
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11592
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11704
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11792
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11909
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
11986
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12079
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12176
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12324
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12417
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12533
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12648
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12755
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12838
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
12940
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
13022
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
13104
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
FrameworkFork\System.Web.Services\Services\Description\WebReferenceOptions.cs (3)
359
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
390
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)
462
if (Reader.NodeType == Microsoft.Xml.XmlNodeType.
Element
)