15 overrides of NodeType
dotnet-svcutil-lib (15)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttribute.cs (1)
93
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCDATASection.cs (1)
39
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlComment.cs (1)
32
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDeclaration.cs (1)
144
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (1)
278
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentFragment.cs (1)
73
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentType.cs (1)
57
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElement.cs (1)
106
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntity.cs (1)
110
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntityReference.cs (1)
79
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNotation.cs (1)
37
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlProcessingInstruction.cs (1)
82
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlSignificantWhitespace.cs (1)
40
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlText.cs (1)
42
public override XmlNodeType
NodeType
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlWhitespace.cs (1)
40
public override XmlNodeType
NodeType
200 references to NodeType
dotnet-svcutil-lib (200)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (8)
98
switch (nodeToValidate.
NodeType
)
129
if (nodeToValidate.ParentNode.
NodeType
== XmlNodeType.Document)
185
switch (node.
NodeType
)
283
switch (_currentNode.
NodeType
)
333
throw new InvalidOperationException(string.Format(ResXml.Xml_UnexpectedNodeType, new string[] { _currentNode.
NodeType
.ToString() }));
510
Debug.Assert(elementToValidate.ParentNode.
NodeType
!= XmlNodeType.Document); //Handle if it is the documentElement seperately
755
switch (child.
NodeType
)
780
throw new InvalidOperationException(string.Format(ResXml.Xml_UnexpectedNodeType, new string[] { _currentNode.
NodeType
.ToString() }));
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (2)
536
nodeType = parent.
NodeType
;
549
nodeType = _start.
NodeType
;
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (48)
53
switch (node.
NodeType
)
133
switch (_source.
NodeType
)
173
switch (_source.
NodeType
)
376
&& node.
NodeType
!= XmlNodeType.Element)
789
if (_source.
NodeType
== XmlNodeType.Attribute)
815
switch (_source.
NodeType
)
920
if (_source.
NodeType
== XmlNodeType.Attribute)
930
if (child.
NodeType
== XmlNodeType.Element
946
if (_source.
NodeType
== XmlNodeType.Attribute)
983
switch (that._source.
NodeType
)
997
if (following.
NodeType
== XmlNodeType.Attribute)
1041
while (following.
NodeType
!= XmlNodeType.Element
1059
switch (that._source.
NodeType
)
1078
switch (following.
NodeType
)
1145
if (sibling.
NodeType
== XmlNodeType.Element
1198
switch (_source.
NodeType
)
1265
if (_source.
NodeType
== XmlNodeType.Document)
1468
if (nsAtom == null || _source.
NodeType
== XmlNodeType.Attribute)
1493
XmlNodeType curNT = _source.
NodeType
;
1517
switch (_source.
NodeType
)
1534
switch (_source.
NodeType
)
1553
switch (node.
NodeType
)
1576
switch (_source.
NodeType
)
1600
if (_source.
NodeType
!= XmlNodeType.Element)
1633
switch (node.
NodeType
)
1691
switch (node.
NodeType
)
1750
switch (node.
NodeType
)
1940
&& parent.
NodeType
== XmlNodeType.EntityReference)
1961
&& child.
NodeType
== XmlNodeType.EntityReference)
1985
|| node.
NodeType
!= XmlNodeType.EntityReference)
1992
&& sibling.
NodeType
== XmlNodeType.EntityReference)
2016
|| node.
NodeType
!= XmlNodeType.EntityReference)
2023
&& sibling.
NodeType
== XmlNodeType.EntityReference)
2056
|| node.
NodeType
!= XmlNodeType.EntityReference)
2064
switch (sibling.
NodeType
)
2127
switch (parent.
NodeType
)
2132
switch (child.
NodeType
)
2145
switch (child.
NodeType
)
2267
if (node.
NodeType
== XmlNodeType.Element && Match(node))
2281
Debug.Assert(((XmlNode)nav.UnderlyingObject).
NodeType
!= XmlNodeType.Attribute);
2295
return (node.
NodeType
== XmlNodeType.Element);
2319
if (node.
NodeType
== XmlNodeType.Element && Match(node))
2335
Debug.Assert(((XmlNode)nav.UnderlyingObject).
NodeType
!= XmlNodeType.Attribute);
2351
Debug.Assert(node.
NodeType
== XmlNodeType.Element);
2376
if (node.
NodeType
== XmlNodeType.Element && Match(node))
2393
Debug.Assert(((XmlNode)nav.UnderlyingObject).
NodeType
!= XmlNodeType.Attribute);
2416
Debug.Assert(node.
NodeType
== XmlNodeType.Element);
2443
if (node.
NodeType
== XmlNodeType.Element && Match(node))
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCDATASection.cs (1)
51
switch (parentNode.
NodeType
)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCharacterData.cs (3)
202
Debug.Assert(XmlDocument.IsTextNode(node.
NodeType
) || (node.ParentNode != null && node.ParentNode.
NodeType
== XmlNodeType.EntityReference));
205
switch (node.
NodeType
)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (17)
436
if (node.
NodeType
== nt)
452
if (node.
NodeType
== nt)
467
switch (newChild.
NodeType
)
474
return refChild.
NodeType
!= XmlNodeType.XmlDeclaration;
478
if (refChild.
NodeType
!= XmlNodeType.XmlDeclaration)
489
if (refChild.
NodeType
!= XmlNodeType.XmlDeclaration)
510
switch (newChild.
NodeType
)
698
XmlNodeType nodeType = node.
NodeType
;
718
parentType = parent.
NodeType
;
742
parentType = parent.
NodeType
;
784
while (IsTextNode(n.
NodeType
))
794
if (intnode.ParentNode != null && intnode.ParentNode.
NodeType
== XmlNodeType.EntityReference)
815
while (n.
NodeType
== XmlNodeType.EntityReference)
902
switch (node.
NodeType
)
958
throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, ResXml.Xdom_Import, node.
NodeType
.ToString()));
977
Debug.Assert(toNode.
NodeType
!= XmlNodeType.EntityReference);
1725
if (!IsValidChildType(newChild.
NodeType
))
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentFragment.cs (3)
149
if (firstNode == null || firstNode.
NodeType
!= XmlNodeType.XmlDeclaration)
160
if (newChild.
NodeType
== XmlNodeType.XmlDeclaration)
176
if (newChild.
NodeType
== XmlNodeType.XmlDeclaration)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElement.cs (1)
594
linkedNode.
NodeType
== XmlNodeType.Text && //which is text node
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElementList.cs (3)
32
Debug.Assert(parent.
NodeType
== XmlNodeType.Element || parent.
NodeType
== XmlNodeType.Document);
156
if (curNode.
NodeType
== XmlNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (4)
92
if (n.
NodeType
!= XmlNodeType.Attribute)
154
Debug.Assert(parent.
NodeType
== XmlNodeType.Element);
498
Debug.Assert(parent.
NodeType
== XmlNodeType.Element);
756
Debug.Assert(parentNode.
NodeType
!= XmlNodeType.Document);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.cs (2)
144
if (node.
NodeType
== XmlNodeType.Attribute)
208
if (node.
NodeType
== XmlNodeType.Attribute)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (40)
101
set { throw new InvalidOperationException(string.Format(ResXml.Xdom_Node_SetVal,
NodeType
)); }
117
if (parentNode.
NodeType
!= XmlNodeType.Document)
173
if (parentNode.
NodeType
== XmlNodeType.Document)
227
while (parent != null && !(parent.
NodeType
== XmlNodeType.Document))
262
if (newChild.
NodeType
== XmlNodeType.DocumentFragment)
276
if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.
NodeType
))
376
if (newChild.
NodeType
== XmlNodeType.DocumentFragment)
392
if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.
NodeType
))
587
if (newChild.
NodeType
== XmlNodeType.DocumentFragment)
601
if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.
NodeType
))
730
switch (crtChild.
NodeType
)
777
Debug.Assert(firstNode.
NodeType
== XmlNodeType.Text
778
|| firstNode.
NodeType
== XmlNodeType.SignificantWhitespace
779
|| firstNode.
NodeType
== XmlNodeType.Whitespace
780
|| secondNode.
NodeType
== XmlNodeType.Text
781
|| secondNode.
NodeType
== XmlNodeType.SignificantWhitespace
782
|| secondNode.
NodeType
== XmlNodeType.Whitespace);
783
if (firstNode.
NodeType
== XmlNodeType.Text)
785
if (secondNode.
NodeType
== XmlNodeType.Text)
787
if (firstNode.
NodeType
== XmlNodeType.SignificantWhitespace)
789
if (secondNode.
NodeType
== XmlNodeType.SignificantWhitespace)
791
if (firstNode.
NodeType
== XmlNodeType.Whitespace)
793
if (secondNode.
NodeType
== XmlNodeType.Whitespace)
845
switch (n.
NodeType
)
892
if (child.
NodeType
== XmlNodeType.Text || child.
NodeType
== XmlNodeType.CDATA
893
|| child.
NodeType
== XmlNodeType.Whitespace || child.
NodeType
== XmlNodeType.SignificantWhitespace)
916
XmlNodeType nodeType = fc.
NodeType
;
936
&& firstChild.
NodeType
== XmlNodeType.Text)//which is a text node
1007
XmlNodeType nt = curNode.
NodeType
;
1047
if (
NodeType
== XmlNodeType.Document)
1074
if (node.
NodeType
== XmlNodeType.Element)
1119
else if (node.
NodeType
== XmlNodeType.Attribute)
1159
if (node.
NodeType
== XmlNodeType.Element)
1198
else if (node.
NodeType
== XmlNodeType.Attribute)
1226
if (n.
NodeType
== XmlNodeType.Element && n.Name == name)
1241
if (n.
NodeType
== XmlNodeType.Element && n.LocalName == localname && n.NamespaceURI == ns)
1284
if (child.
NodeType
== type)
1435
XmlNodeType nodeType = _node.
NodeType
;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (43)
76
XmlNodeType nt = _curNode.
NodeType
;
107
XmlNodeType nt = _curNode.
NodeType
;
131
Debug.Assert(_curNode.
NodeType
== XmlNodeType.XmlDeclaration || _curNode.
NodeType
== XmlNodeType.DocumentType);
137
if (_curNode.
NodeType
== XmlNodeType.XmlDeclaration)
143
if (IsLocalNameEmpty(_curNode.
NodeType
))
156
if (IsLocalNameEmpty(_curNode.
NodeType
))
232
Debug.Assert(_curNode.
NodeType
== XmlNodeType.XmlDeclaration || _curNode.
NodeType
== XmlNodeType.DocumentType);
236
if (_curNode.Value != null || _curNode.
NodeType
== XmlNodeType.DocumentType)
248
XmlNodeType nt = _curNode.
NodeType
;
254
if (_curNode.
NodeType
== XmlNodeType.XmlDeclaration)
299
if (_curNode.
NodeType
== XmlNodeType.Element)
311
if (_curNode.
NodeType
== XmlNodeType.Attribute)
338
XmlNodeType nt = _curNode.
NodeType
;
496
switch (_curNode.
NodeType
)
521
switch (_curNode.
NodeType
)
539
switch (_curNode.
NodeType
)
585
XmlNodeType nt = _curNode.
NodeType
;
604
while (_curNode.
NodeType
!= XmlNodeType.Attribute && ((_curNode = _curNode.ParentNode) != null))
627
nt = _curNode.
NodeType
;
630
if (_bOnAttrVal && _curNode.
NodeType
!= XmlNodeType.Attribute)
632
if (_curNode.
NodeType
== XmlNodeType.Attribute)
639
if (_curNode.
NodeType
== XmlNodeType.Element)
672
XmlNodeType nt = _curNode.
NodeType
;
701
switch (_curNode.
NodeType
)
734
XmlNodeType nt = _curNode.
NodeType
;
826
if (_curNode.
NodeType
!= XmlNodeType.Attribute)
836
switch (_curNode.
NodeType
)
886
if (node.
NodeType
== XmlNodeType.Element)
898
else if (node.
NodeType
== XmlNodeType.Attribute)
954
if (node.
NodeType
== XmlNodeType.Element)
984
else if (node.
NodeType
== XmlNodeType.Attribute)
1004
if (node.
NodeType
== XmlNodeType.Element)
1035
else if (node.
NodeType
== XmlNodeType.Attribute)
1061
Debug.Assert(_curNode.
NodeType
== XmlNodeType.XmlDeclaration || _curNode.
NodeType
== XmlNodeType.DocumentType);
1071
if (_curNode.
NodeType
== XmlNodeType.Attribute)
1077
nt = _curNode.
NodeType
;
1086
if (_curNode.
NodeType
== XmlNodeType.EntityReference && bResolveEntity)
1090
nt = _curNode.
NodeType
;
1102
if (parentNode != null && parentNode.
NodeType
== XmlNodeType.EntityReference)
1114
nt = _curNode.
NodeType
;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlSignificantWhitespace.cs (1)
52
switch (parentNode.
NodeType
)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlText.cs (2)
54
switch (parentNode.
NodeType
)
92
if (parent != null && parent.
NodeType
== XmlNodeType.Attribute)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlWhitespace.cs (1)
52
switch (parentNode.
NodeType
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\_Events.cs (1)
192
get { return _xmlNode.
NodeType
; }
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationReader.cs (4)
1301
if (unknownNode.
NodeType
!= XmlNodeType.None && unknownNode.
NodeType
!= XmlNodeType.Whitespace && _events.OnUnknownNode != null)
1308
if (unknownNode.
NodeType
== XmlNodeType.Attribute)
1312
else if (unknownNode.
NodeType
== XmlNodeType.Element)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\SchemaImporter.cs (1)
1424
if (child.
NodeType
== XmlNodeType.Element)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
41
&& currentNode.
NodeType
== XmlNodeType.Element
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (3)
107
&& (node.
NodeType
== XmlNodeType.Element)
324
if (ShouldSkipNodeType(currentNode.
NodeType
))
519
policyNode.
NodeType
,
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\Security\WSSecurityPolicy.cs (2)
319
if (node.
NodeType
== XmlNodeType.Whitespace || node.
NodeType
== XmlNodeType.Comment)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\XmlHelper.cs (7)
58
if (child.
NodeType
== XmlNodeType.Whitespace || child.
NodeType
== XmlNodeType.Comment)
62
else if (child.
NodeType
== XmlNodeType.Element && result == null)
91
if (child.
NodeType
== XmlNodeType.Whitespace || child.
NodeType
== XmlNodeType.Comment)
95
else if (child.
NodeType
== XmlNodeType.Element)
215
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(string.Format(SRServiceModel.UnexpectedXmlChildNode, n.Name, n.
NodeType
, parent.Name)));