15 overrides of NodeType
System.Xml (15)
System\Xml\Dom\XmlAttribute.cs (1)
83
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlCDataSection.cs (1)
35
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlComment.cs (1)
28
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlDeclaration.cs (1)
128
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlDocument.cs (1)
257
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlDocumentFragment.cs (1)
69
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlDocumentType.cs (1)
52
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlElement.cs (1)
93
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlEntity.cs (1)
98
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlEntityReference.cs (1)
70
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlNotation.cs (1)
35
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlProcessingInstruction.cs (1)
74
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
37
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlText.cs (1)
38
public override XmlNodeType
NodeType
{
System\Xml\Dom\XmlWhitespace.cs (1)
37
public override XmlNodeType
NodeType
{
322 references to NodeType
PresentationFramework (3)
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (1)
662
if (node.
NodeType
== XmlNodeType.Element)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (2)
485
if (node.
NodeType
== XmlNodeType.Text)
495
else if (node.
NodeType
== XmlNodeType.Element)
System.Configuration (5)
System\Configuration\DPAPIProtectedConfigurationProvider.cs (2)
26
if (encryptedNode.
NodeType
!= XmlNodeType.Element ||
220
if (child.
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.Data (85)
fx\src\data\System\Data\Common\HandlerBase.cs (3)
26
if (XmlNodeType.Element != node.
NodeType
) {
38
if ((XmlNodeType.Comment == node.
NodeType
) || (XmlNodeType.Whitespace == node.
NodeType
)) {
fx\src\data\System\Data\XmlDataLoader.cs (11)
98
if (n.
NodeType
== XmlNodeType.Element) {
132
while (n != null && (n.
NodeType
== XmlNodeType.Whitespace || !IsTextLikeNode(n.
NodeType
))) {
137
if (IsTextLikeNode( n.
NodeType
) && (n.NextSibling == null || !IsTextLikeNode( n.
NodeType
))) {
144
while (n != null && IsTextLikeNode( n.
NodeType
)) {
163
while (n.
NodeType
== XmlNodeType.Whitespace)
166
if (IsTextLikeNode( n.
NodeType
) && (n.NextSibling == null || !IsTextLikeNode( n.
NodeType
))) {
173
while (n != null && IsTextLikeNode( n.
NodeType
)) {
366
if (n.
NodeType
== XmlNodeType.Element) {
fx\src\data\System\Data\XmlToDatasetMap.cs (3)
407
XmlNode nodeRegion = (node.
NodeType
== XmlNodeType.Attribute) ? ((XmlAttribute)node).OwnerElement : node.ParentNode;
410
if(nodeRegion == null || nodeRegion.
NodeType
!= XmlNodeType.Element) {
441
if (node.
NodeType
== XmlNodeType.Element) { // If element
fx\src\data\System\NewXml\DataPointer.cs (9)
253
else if (node.
NodeType
== XmlNodeType.Attribute) {
271
if (column == null && node.
NodeType
== XmlNodeType.Element) {
289
if ((column == null || column.ColumnMapping == MappingType.Attribute) && node.
NodeType
== XmlNodeType.Element) {
317
return this.node.
NodeType
;
340
if ( IsLocalNameEmpty( this.node.
NodeType
) )
383
if ( IsLocalNameEmpty( this.node.
NodeType
) )
494
if (node.
NodeType
== XmlNodeType.Element) {
506
if (node != null && column == null && node.
NodeType
== XmlNodeType.Attribute) {
616
if ( child != null && child.
NodeType
== XmlNodeType.XmlDeclaration )
fx\src\data\System\NewXml\DataSetMappper.cs (8)
120
if ( n.
NodeType
== XmlNodeType.Element ) {
146
if ( node.
NodeType
== XmlNodeType.Attribute && mt == MappingType.Attribute )
148
if ( node.
NodeType
== XmlNodeType.Element && mt == MappingType.Element )
205
if ( node.
NodeType
== XmlNodeType.Attribute )
251
if ( fc == null || fc.
NodeType
!= XmlNodeType.Text || fc.NextSibling != null ) {
262
if ( n.
NodeType
!= XmlNodeType.Element ) {
291
if ( fc == null || fc.
NodeType
!= XmlNodeType.Text || fc.NextSibling != null ) {
300
if ( n.
NodeType
!= XmlNodeType.Element ) {
fx\src\data\System\NewXml\RegionIterator.cs (3)
113
Debug.Assert( this.CurrentNode.
NodeType
== XmlNodeType.Element );
149
while ( n.
NodeType
== XmlNodeType.Whitespace ) {
164
if ( n.
NodeType
!= XmlNodeType.Whitespace )
fx\src\data\System\NewXml\XmlDataDocument.cs (11)
686
if ( node.
NodeType
!= XmlNodeType.Element )
901
if (newNode.
NodeType
== XmlNodeType.Element) {
992
switch ( n.
NodeType
) {
1356
if ( iter.CurrentNode.
NodeType
== XmlNodeType.Element ) {
2049
Debug.Assert( parent.
NodeType
!= XmlNodeType.Attribute ); // We need to get get the grand-parent region
2097
while ( n != null && n.
NodeType
== XmlNodeType.Whitespace )
2101
if ( n.
NodeType
== XmlNodeType.Text )
2660
if ( XPathNodePointer.xmlNodeType_To_XpathNodeType_Map[(int)(node.
NodeType
)] == -1 )
2662
if ( IsTextNode( node.
NodeType
) ) {
2664
if ( parent != null && parent.
NodeType
== XmlNodeType.Attribute )
2674
while ( prevSib != null && IsTextNode( prevSib.
NodeType
) ) {
fx\src\data\System\NewXml\XPathNodePointer.cs (37)
63
Debug.Assert( XmlDataDocument.IsTextNode( node.
NodeType
) );
66
switch( node.
NodeType
) {
85
if ( XmlDataDocument.IsTextNode( node.
NodeType
) )
87
xnt = xmlNodeType_To_XpathNodeType_Map[(int)(node.
NodeType
)];
139
if (_node.
NodeType
== XmlNodeType.Element) {
184
XmlNodeType nt = this._node.
NodeType
;
209
XmlNodeType nt = this._node.
NodeType
;
266
if ( IsNamespaceNode( this._node.
NodeType
, this._node.NamespaceURI ) )
283
if ( XmlDataDocument.IsTextNode( this._node.
NodeType
) ) {
289
while ( n != null && XmlDataDocument.IsTextNode( n.
NodeType
) ) {
320
if ( this._node.
NodeType
== XmlNodeType.Document ) {
382
if ( curNode.
NodeType
== XmlNodeType.Attribute )
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 ) )
590
if ( _column == null && _node.
NodeType
!= XmlNodeType.Attribute )
632
int xntChildInt = xmlNodeType_To_XpathNodeType_Map[(int)(child.
NodeType
)];
635
int xntInt = xmlNodeType_To_XpathNodeType_Map[(int)(parent.
NodeType
)];
656
int xntInt = xmlNodeType_To_XpathNodeType_Map[(int)(parent.
NodeType
)];
699
bool bTextLike = XmlDataDocument.IsTextNode( _node.
NodeType
);
703
} while ( n != null && bTextLike && XmlDataDocument.IsTextNode( n.
NodeType
));
737
bool bTextLike = XmlDataDocument.IsTextNode( _node.
NodeType
);
741
} while ( n != null && bTextLike && XmlDataDocument.IsTextNode( n.
NodeType
) );
900
if ( _node.
NodeType
== XmlNodeType.Attribute )
970
XmlNode parent = ( ( curNode.
NodeType
== XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode).OwnerElement ) : ( curNode.ParentNode ) );
1064
curNode1 = ( ( curNode1.
NodeType
== XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode1).OwnerElement ) : ( curNode1.ParentNode ) );
1072
curNode2 = ( ( curNode2.
NodeType
== XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode2).OwnerElement ) : ( curNode2.ParentNode ) );
1233
XmlNodeType nt = node.
NodeType
;
1237
while ( node != null && ( ( nt = node.
NodeType
) != XmlNodeType.Element ) ) {
1270
XmlNodeType nt = node.
NodeType
;
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 );
1437
else if ( this._node.
NodeType
== XmlNodeType.Attribute ) {
1452
} while ( node != null && node.
NodeType
!= XmlNodeType.Element );
1463
} while ( node != null && node.
NodeType
== XmlNodeType.Element );
System.IdentityModel (2)
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
43
if (node.
NodeType
!= XmlNodeType.Element)
System\IdentityModel\XmlHelper.cs (1)
92
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedXmlChildNode, n.Name, n.
NodeType
, parent.Name)));
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1429
if (child.
NodeType
== XmlNodeType.Element)
System.ServiceModel (15)
System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
41
&& currentNode.
NodeType
== XmlNodeType.Element
System\ServiceModel\Channels\ReliableSessionBindingElementImporter.cs (3)
106
&& (node.
NodeType
== XmlNodeType.Element)
324
if (ShouldSkipNodeType(currentNode.
NodeType
))
519
policyNode.
NodeType
,
System\ServiceModel\Description\PolicyReader.cs (2)
143
if (child.
NodeType
== XmlNodeType.Element)
166
if (child.
NodeType
== XmlNodeType.Element)
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
319
if (node.
NodeType
== XmlNodeType.Whitespace || node.
NodeType
== XmlNodeType.Comment)
System\ServiceModel\Security\XmlHelper.cs (7)
60
if (child.
NodeType
== XmlNodeType.Whitespace || child.
NodeType
== XmlNodeType.Comment)
64
else if (child.
NodeType
== XmlNodeType.Element && result == null)
93
if (child.
NodeType
== XmlNodeType.Whitespace || child.
NodeType
== XmlNodeType.Comment)
97
else if (child.
NodeType
== XmlNodeType.Element)
217
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.UnexpectedXmlChildNode, n.Name, n.
NodeType
, parent.Name)));
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\HandlerBase.cs (1)
226
if (childNode.
NodeType
!= XmlNodeType.Comment) {
Configuration\HttpCapabilitiesSectionHandler.cs (1)
176
switch (child.
NodeType
) {
Configuration\ProtocolsConfiguration.cs (3)
80
if (node.
NodeType
== XmlNodeType.Comment || node.
NodeType
== XmlNodeType.Whitespace) {
84
if (node.
NodeType
!= XmlNodeType.Element)
UI\WebControls\AdRotator.cs (1)
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)
XmlSiteMapProvider.cs (2)
299
if (subNode.
NodeType
== XmlNodeType.Element) {
809
if (subNode.
NodeType
!= XmlNodeType.Element)
System.Web.Extensions (1)
Script\Services\WebServiceTypeData.cs (1)
188
if (child.
NodeType
== XmlNodeType.Element) {
System.Web.Mobile (3)
Mobile\ConfigurationSectionHelper.cs (3)
147
return _currentNode.
NodeType
== XmlNodeType.Comment ||
148
_currentNode.
NodeType
== XmlNodeType.Whitespace;
156
if(_currentNode.
NodeType
!= XmlNodeType.Element)
System.Xml (184)
System\Xml\Dom\DocumentSchemaValidator.cs (8)
94
switch (nodeToValidate.
NodeType
) {
119
if (nodeToValidate.ParentNode.
NodeType
== XmlNodeType.Document) {
165
switch (node.
NodeType
) {
244
switch (currentNode.
NodeType
) {
290
throw new InvalidOperationException( Res.GetString( Res.Xml_UnexpectedNodeType, new string[]{ currentNode.
NodeType
.ToString() } ) );
441
Debug.Assert(elementToValidate.ParentNode.
NodeType
!= XmlNodeType.Document); //Handle if it is the documentElement seperately
648
switch (child.
NodeType
) {
672
throw new InvalidOperationException( Res.GetString( Res.Xml_UnexpectedNodeType, new string[]{ currentNode.
NodeType
.ToString() } ) );
System\Xml\Dom\DocumentXmlWriter.cs (2)
445
nodeType = parent.
NodeType
;
456
nodeType = start.
NodeType
;
System\Xml\Dom\DocumentXPathNavigator.cs (48)
47
switch (node.
NodeType
) {
112
switch (source.
NodeType
) {
144
switch (source.
NodeType
) {
308
&& node.
NodeType
!= XmlNodeType.Element) {
645
if (source.
NodeType
== XmlNodeType.Attribute) {
666
switch (source.
NodeType
) {
753
if (source.
NodeType
== XmlNodeType.Attribute) {
760
if (child.
NodeType
== XmlNodeType.Element
774
if (source.
NodeType
== XmlNodeType.Attribute) {
803
switch (that.source.
NodeType
) {
815
if (following.
NodeType
== XmlNodeType.Attribute) {
848
while (following.
NodeType
!= XmlNodeType.Element
863
switch (that.source.
NodeType
) {
879
switch (following.
NodeType
) {
932
if (sibling.
NodeType
== XmlNodeType.Element
975
switch (source.
NodeType
) {
1030
if (source.
NodeType
== XmlNodeType.Document) {
1198
if ( nsAtom == null || this.source.
NodeType
== XmlNodeType.Attribute )
1220
XmlNodeType curNT = source.
NodeType
;
1240
switch (source.
NodeType
) {
1255
switch (source.
NodeType
) {
1272
switch (node.
NodeType
) {
1293
switch (source.
NodeType
) {
1315
if (source.
NodeType
!= XmlNodeType.Element) {
1342
switch (node.
NodeType
) {
1391
switch (node.
NodeType
) {
1441
switch (node.
NodeType
) {
1597
&& parent.
NodeType
== XmlNodeType.EntityReference) {
1614
&& child.
NodeType
== XmlNodeType.EntityReference) {
1633
|| node.
NodeType
!= XmlNodeType.EntityReference) {
1639
&& sibling.
NodeType
== XmlNodeType.EntityReference) {
1658
|| node.
NodeType
!= XmlNodeType.EntityReference) {
1664
&& sibling.
NodeType
== XmlNodeType.EntityReference) {
1690
|| node.
NodeType
!= XmlNodeType.EntityReference) {
1696
switch (sibling.
NodeType
) {
1747
switch (parent.
NodeType
) {
1751
switch (child.
NodeType
) {
1763
switch (child.
NodeType
) {
1865
if (node.
NodeType
== XmlNodeType.Element && Match(node)) {
1876
Debug.Assert( ((XmlNode)nav.UnderlyingObject).
NodeType
!= XmlNodeType.Attribute );
1887
return ( node.
NodeType
== XmlNodeType.Element );
1905
if ( node.
NodeType
== XmlNodeType.Element && Match( node ) ) {
1918
Debug.Assert( ((XmlNode)nav.UnderlyingObject).
NodeType
!= XmlNodeType.Attribute );
1931
Debug.Assert( node.
NodeType
== XmlNodeType.Element );
1951
if ( node.
NodeType
== XmlNodeType.Element && Match( node ) ) {
1965
Debug.Assert( ((XmlNode)nav.UnderlyingObject).
NodeType
!= XmlNodeType.Attribute );
1985
Debug.Assert( node.
NodeType
== XmlNodeType.Element );
2007
if ( node.
NodeType
== XmlNodeType.Element && Match( node ) ) {
System\Xml\Dom\XmlCDataSection.cs (1)
43
switch (parentNode.
NodeType
) {
System\Xml\Dom\XmlCharacterData.cs (3)
176
Debug.Assert(XmlDocument.IsTextNode(node.
NodeType
) || (node.ParentNode != null && node.ParentNode.
NodeType
== XmlNodeType.EntityReference));
178
switch (node.
NodeType
) {
System\Xml\Dom\XmlDocument.cs (17)
399
if ( node.
NodeType
== nt )
413
if ( node.
NodeType
== nt )
427
switch ( newChild.
NodeType
) {
433
return refChild.
NodeType
!= XmlNodeType.XmlDeclaration;
436
if ( refChild.
NodeType
!= XmlNodeType.XmlDeclaration ) {
445
if ( refChild.
NodeType
!= XmlNodeType.XmlDeclaration ) {
464
switch ( newChild.
NodeType
) {
623
XmlNodeType nodeType = node.
NodeType
;
640
parentType = parent.
NodeType
;
659
parentType = parent.
NodeType
;
695
while( IsTextNode( n.
NodeType
) ) {
702
if ( intnode.ParentNode != null && intnode.ParentNode.
NodeType
== XmlNodeType.EntityReference ) {
720
while( n.
NodeType
== XmlNodeType.EntityReference ) {
793
switch ( node.
NodeType
) {
848
throw new InvalidOperationException( String.Format( CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Import), node.
NodeType
.ToString() ) );
864
Debug.Assert( toNode.
NodeType
!= XmlNodeType.EntityReference );
1484
if ( !IsValidChildType( newChild.
NodeType
))
System\Xml\Dom\XmlDocumentFragment.cs (3)
134
if (firstNode == null || firstNode.
NodeType
!= XmlNodeType.XmlDeclaration)
144
if (newChild.
NodeType
== XmlNodeType.XmlDeclaration) {
156
if (newChild.
NodeType
== XmlNodeType.XmlDeclaration) {
System\Xml\Dom\XmlElement.cs (1)
500
linkedNode.
NodeType
== XmlNodeType.Text && //which is text node
System\Xml\Dom\XmlElementList.cs (3)
32
Debug.Assert( parent.
NodeType
== XmlNodeType.Element || parent.
NodeType
== XmlNodeType.Document );
142
if (curNode.
NodeType
== XmlNodeType.Element) {
System\Xml\Dom\XmlLoader.cs (4)
80
if ( n.
NodeType
!= XmlNodeType.Attribute )
132
Debug.Assert( parent.
NodeType
== XmlNodeType.Element );
434
Debug.Assert( parent.
NodeType
== XmlNodeType.Element );
658
Debug.Assert( parentNode.
NodeType
!= XmlNodeType.Document );
System\Xml\Dom\XmlNamedNodemap.cs (2)
122
if ( node.
NodeType
== XmlNodeType.Attribute )
180
if ( node.
NodeType
== XmlNodeType.Attribute )
System\Xml\Dom\XmlNode.cs (40)
92
set { throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, Res.GetString(Res.Xdom_Node_SetVal),
NodeType
.ToString()));}
105
if (parentNode.
NodeType
!= XmlNodeType.Document) {
151
if ( parentNode.
NodeType
== XmlNodeType.Document)
198
while (parent != null && !( parent.
NodeType
== XmlNodeType.Document ))
232
if (newChild.
NodeType
== XmlNodeType.DocumentFragment) {
244
if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.
NodeType
))
331
if (newChild.
NodeType
== XmlNodeType.DocumentFragment) {
345
if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.
NodeType
))
511
if (newChild.
NodeType
== XmlNodeType.DocumentFragment) {
523
if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.
NodeType
))
635
switch ( crtChild.
NodeType
) {
674
Debug.Assert( firstNode.
NodeType
== XmlNodeType.Text
675
|| firstNode.
NodeType
== XmlNodeType.SignificantWhitespace
676
|| firstNode.
NodeType
== XmlNodeType.Whitespace
677
|| secondNode.
NodeType
== XmlNodeType.Text
678
|| secondNode.
NodeType
== XmlNodeType.SignificantWhitespace
679
|| secondNode.
NodeType
== XmlNodeType.Whitespace );
680
if ( firstNode.
NodeType
== XmlNodeType.Text )
682
if ( secondNode.
NodeType
== XmlNodeType.Text )
684
if ( firstNode.
NodeType
== XmlNodeType.SignificantWhitespace )
686
if ( secondNode.
NodeType
== XmlNodeType.SignificantWhitespace )
688
if ( firstNode.
NodeType
== XmlNodeType.Whitespace )
690
if ( secondNode.
NodeType
== XmlNodeType.Whitespace )
733
switch (n.
NodeType
) {
772
if (child.
NodeType
== XmlNodeType.Text || child.
NodeType
== XmlNodeType.CDATA
773
|| child.
NodeType
== XmlNodeType.Whitespace || child.
NodeType
== XmlNodeType.SignificantWhitespace)
791
XmlNodeType nodeType = fc.
NodeType
;
809
&& firstChild.
NodeType
== XmlNodeType.Text )//which is a text node
865
XmlNodeType nt = curNode.
NodeType
;
901
if (
NodeType
== XmlNodeType.Document)
924
if (node.
NodeType
== XmlNodeType.Element) {
957
else if (node.
NodeType
== XmlNodeType.Attribute) {
989
if (node.
NodeType
== XmlNodeType.Element) {
1018
else if (node.
NodeType
== XmlNodeType.Attribute) {
1040
if (n.
NodeType
== XmlNodeType.Element && n.Name == name)
1053
if (n.
NodeType
== XmlNodeType.Element && n.LocalName == localname && n.NamespaceURI == ns)
1087
if (child.
NodeType
== type) {
1209
XmlNodeType nodeType = node.
NodeType
;
System\Xml\Dom\XmlNodeReader.cs (43)
75
XmlNodeType nt = curNode.
NodeType
;
102
XmlNodeType nt = curNode.
NodeType
;
121
Debug.Assert( curNode.
NodeType
== XmlNodeType.XmlDeclaration || curNode.
NodeType
== XmlNodeType.DocumentType );
126
if ( curNode.
NodeType
== XmlNodeType.XmlDeclaration )
132
if ( IsLocalNameEmpty ( curNode.
NodeType
) )
143
if ( IsLocalNameEmpty( curNode.
NodeType
))
207
Debug.Assert( curNode.
NodeType
== XmlNodeType.XmlDeclaration || curNode.
NodeType
== XmlNodeType.DocumentType );
211
if ( curNode.Value != null || curNode.
NodeType
== XmlNodeType.DocumentType )
221
XmlNodeType nt = curNode.
NodeType
;
226
if ( curNode.
NodeType
== XmlNodeType.XmlDeclaration )
263
if (curNode.
NodeType
== XmlNodeType.Element) {
272
if (curNode.
NodeType
== XmlNodeType.Attribute) {
293
XmlNodeType nt = curNode.
NodeType
;
428
switch ( curNode.
NodeType
) {
450
switch ( curNode.
NodeType
) {
466
switch ( curNode.
NodeType
) {
505
XmlNodeType nt = curNode.
NodeType
;
519
while ( curNode.
NodeType
!= XmlNodeType.Attribute && ( ( curNode = curNode.ParentNode ) != null ) )
539
nt = curNode.
NodeType
;
542
if ( this.bOnAttrVal && curNode.
NodeType
!= XmlNodeType.Attribute )
544
if ( curNode.
NodeType
== XmlNodeType.Attribute ) {
550
if ( curNode.
NodeType
== XmlNodeType.Element )
578
XmlNodeType nt = curNode.
NodeType
;
601
switch ( curNode.
NodeType
) {
630
XmlNodeType nt = curNode.
NodeType
;
704
if ( curNode.
NodeType
!= XmlNodeType.Attribute )
713
switch ( curNode.
NodeType
) {
755
if ( node.
NodeType
== XmlNodeType.Element ) {
764
else if ( node.
NodeType
== XmlNodeType.Attribute ) {
807
if ( node.
NodeType
== XmlNodeType.Element ) {
829
else if ( node.
NodeType
== XmlNodeType.Attribute ) {
846
if ( node.
NodeType
== XmlNodeType.Element ) {
869
else if ( node.
NodeType
== XmlNodeType.Attribute ) {
889
Debug.Assert( curNode.
NodeType
== XmlNodeType.XmlDeclaration || curNode.
NodeType
== XmlNodeType.DocumentType );
898
if( curNode.
NodeType
== XmlNodeType.Attribute ) {
902
nt = curNode.
NodeType
;
910
if ( curNode.
NodeType
== XmlNodeType.EntityReference && bResolveEntity ) {
913
nt = curNode.
NodeType
;
924
if ( parentNode != null && parentNode.
NodeType
== XmlNodeType.EntityReference ) {
934
nt = curNode.
NodeType
;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
45
switch (parentNode.
NodeType
) {
System\Xml\Dom\XmlText.cs (2)
46
switch (parentNode.
NodeType
) {
78
if ( parent != null && parent.
NodeType
== XmlNodeType.Attribute ) {
System\Xml\Dom\XmlWhitespace.cs (1)
45
switch (parentNode.
NodeType
) {
System\Xml\Serialization\_Events.cs (1)
177
get { return xmlNode.
NodeType
; }
System\Xml\Serialization\XmlSerializationReader.cs (4)
1196
if (unknownNode.
NodeType
!= XmlNodeType.None && unknownNode.
NodeType
!= XmlNodeType.Whitespace && events.OnUnknownNode != null) {
1202
if (unknownNode.
NodeType
== XmlNodeType.Attribute) {
1205
else if (unknownNode.
NodeType
== XmlNodeType.Element) {
WindowsBase (2)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (2)
693
if (nodeList[0].
NodeType
!= XmlNodeType.XmlDeclaration)
700
if ((node.
NodeType
!= XmlNodeType.Element) ||