15 overrides of NodeType
System.Private.Xml (15)
System\Xml\Dom\XmlAttribute.cs (1)
94public override XmlNodeType NodeType
System\Xml\Dom\XmlCDataSection.cs (1)
36public override XmlNodeType NodeType
System\Xml\Dom\XmlComment.cs (1)
29public override XmlNodeType NodeType
System\Xml\Dom\XmlDeclaration.cs (1)
152public override XmlNodeType NodeType
System\Xml\Dom\XmlDocument.cs (1)
356public override XmlNodeType NodeType
System\Xml\Dom\XmlDocumentFragment.cs (1)
69public override XmlNodeType NodeType
System\Xml\Dom\XmlDocumentType.cs (1)
53public override XmlNodeType NodeType
System\Xml\Dom\XmlElement.cs (1)
110public override XmlNodeType NodeType
System\Xml\Dom\XmlEntity.cs (1)
103public override XmlNodeType NodeType
System\Xml\Dom\XmlEntityReference.cs (1)
76public override XmlNodeType NodeType
System\Xml\Dom\XmlNotation.cs (1)
36public override XmlNodeType NodeType
System\Xml\Dom\XmlProcessingInstruction.cs (1)
77public override XmlNodeType NodeType => XmlNodeType.ProcessingInstruction;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
37public override XmlNodeType NodeType
System\Xml\Dom\XmlText.cs (1)
40public override XmlNodeType NodeType
System\Xml\Dom\XmlWhitespace.cs (1)
38public override XmlNodeType NodeType
330 references to NodeType
Microsoft.Build (22)
Construction\ProjectElement.cs (2)
369if (XmlElement.ChildNodes.Count == 1 && XmlElement.FirstChild.NodeType == XmlNodeType.Text) 407if (element.XmlElement.ChildNodes.Count == 1 && element.XmlElement.FirstChild.NodeType == XmlNodeType.Text)
Construction\ProjectElementContainer.cs (6)
530if (referenceSibling.XmlElement.PreviousSibling?.NodeType == XmlNodeType.Whitespace) 546if (child.XmlElement.PreviousSibling?.NodeType == XmlNodeType.Whitespace) 561if (XmlElement.FirstChild.NodeType == XmlNodeType.Whitespace) 580if (xmlElement.PreviousSibling?.NodeType != XmlNodeType.Whitespace) 616if (previousSibling?.NodeType == XmlNodeType.Whitespace) 628if (XmlElement.ChildNodes.Cast<XmlNode>().All(c => c.NodeType == XmlNodeType.Whitespace))
Construction\Solution\ProjectInSolution.cs (1)
318if (childNode.NodeType == XmlNodeType.Element)
Evaluation\Preprocessor.cs (6)
228if (child.NodeType == XmlNodeType.XmlDeclaration) 235child.NodeType == XmlNodeType.Element && 275if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.import, child.Name, StringComparison.Ordinal)) 285string projectSdk = source.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.project, source.Name, StringComparison.Ordinal) ? ((XmlElement)source).GetAttribute(XMakeAttributes.sdk) : String.Empty; 333if (child.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.importGroup, child.Name, StringComparison.Ordinal)) 350if (clone.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.project, child.Name, StringComparison.Ordinal) && clone.Attributes?[XMakeAttributes.sdk] != null)
Evaluation\ProjectParser.cs (1)
632if (childElement.ChildNodes.Count == 1 && childElement.FirstChild.NodeType == XmlNodeType.Text)
ObjectModelRemoting\ConstructionObjectLinks\ProjectElementLink.cs (1)
138if (xml.XmlElement.ChildNodes.Count == 1 && xml.XmlElement.FirstChild.NodeType == XmlNodeType.Text)
SolutionConfiguration.cs (1)
74if (dependencyNode.NodeType != XmlNodeType.Element)
Utilities\Utilities.cs (2)
199if (node.ChildNodes.Count == 1 && (node.FirstChild.NodeType == XmlNodeType.Text || node.FirstChild.NodeType == XmlNodeType.CDATA))
Xml\ProjectXmlUtilities.XmlElementChildIterator.cs (2)
80switch (child.NodeType) 91if (child.NodeType == XmlNodeType.Text && String.IsNullOrWhiteSpace(child.InnerText))
Microsoft.Build.Tasks.Core (16)
BootstrapperUtil\BootstrapperBuilder.cs (1)
1238if (nextNode.NodeType == XmlNodeType.Element)
CodeTaskFactory.cs (2)
532switch (childNode.NodeType) 579if (nodeType == childNode.NodeType)
ManifestUtil\SecurityUtil.cs (1)
428if (xn.NodeType == XmlNodeType.Element)
ManifestUtil\TrustInfo.cs (2)
123permissionSetElement.ParentNode.NodeType == XmlNodeType.Document) 268if (previousNode?.NodeType == XmlNodeType.Comment)
ManifestUtil\XmlUtil.cs (2)
49if (node.NodeType == XmlNodeType.Element) 54else if (node.NodeType == XmlNodeType.Comment)
SolutionConfiguration.cs (1)
74if (dependencyNode.NodeType != XmlNodeType.Element)
XamlTaskFactory\RelationsParser.cs (7)
354if (node.NodeType == XmlNodeType.Element) 435if (child.NodeType == XmlNodeType.Element) 593(node.NodeType != XmlNodeType.Comment) && 594(node.NodeType != XmlNodeType.Whitespace) && 595(node.NodeType != XmlNodeType.XmlDeclaration) && 596(node.NodeType != XmlNodeType.ProcessingInstruction) && 597(node.NodeType != XmlNodeType.DocumentType)
Microsoft.Build.Utilities.Core (2)
PlatformManifest.cs (1)
111if (childNode.NodeType == XmlNodeType.Element &&
SDKManifest.cs (1)
330if (childNode.NodeType == XmlNodeType.Element &&
PresentationFramework (3)
MS\Internal\Globalization\BamlTreeMap.cs (1)
652if (node.NodeType == XmlNodeType.Element)
MS\Internal\Globalization\BamlTreeUpdater.cs (2)
478if (node.NodeType == XmlNodeType.Text) 488else if (node.NodeType == XmlNodeType.Element)
PresentationFramework-SystemXml (2)
SystemXmlExtension.cs (2)
149if (node.NodeType == XmlNodeType.Element) 153if (node.ChildNodes[i].NodeType == XmlNodeType.Text)
ReachFramework (5)
PrintConfig\PrtTicket_Base.cs (2)
824(valueNode.FirstChild.NodeType != XmlNodeType.Text)) 1296(valueNode.FirstChild.NodeType != XmlNodeType.Text))
PrintConfig\PrtTicket_Editor.cs (3)
101if ((rootChild.NodeType != XmlNodeType.Element) || 249if ((child.NodeType != XmlNodeType.Element) || 313if ((child.NodeType != XmlNodeType.Element) ||
System.Configuration.ConfigurationManager (7)
System\Configuration\DpapiProtectedConfigurationProvider.cs (2)
20if (encryptedNode.NodeType != XmlNodeType.Element || 107if (child.NodeType != XmlNodeType.Element)
System\Configuration\HandlerBase.cs (3)
151if (node.NodeType != XmlNodeType.Element) 159if (node.NodeType == XmlNodeType.Comment || node.NodeType == XmlNodeType.Whitespace)
System\Configuration\LocalFileSettingsProvider.cs (1)
472if (child.NodeType == XmlNodeType.XmlDeclaration)
System\Configuration\RuntimeConfigurationRecord.cs (1)
135if (xmlNode.NodeType == XmlNodeType.Element) CheckForLockAttributes(sectionName, child);
System.Data.Common (81)
System\Data\XmlDataLoader.cs (11)
103if (n.NodeType == XmlNodeType.Element) 142while (n != null && (n.NodeType == XmlNodeType.Whitespace || !IsTextLikeNode(n.NodeType))) 149if (IsTextLikeNode(n.NodeType) && (n.NextSibling == null || !IsTextLikeNode(n.NodeType))) 157while (n != null && IsTextLikeNode(n.NodeType)) 176while (n.NodeType == XmlNodeType.Whitespace) 179if (IsTextLikeNode(n.NodeType) && (n.NextSibling == null || !IsTextLikeNode(n.NodeType))) 188while (n != null && IsTextLikeNode(n.NodeType)) 398if (n.NodeType == XmlNodeType.Element)
System\Data\XmlToDatasetMap.cs (3)
441XmlNode? nodeRegion = (node.NodeType == XmlNodeType.Attribute) ? ((XmlAttribute)node).OwnerElement : node.ParentNode; 445if (nodeRegion == null || nodeRegion.NodeType != XmlNodeType.Element) 479if (node.NodeType == XmlNodeType.Element)
System\Xml\DataPointer.cs (9)
297else if (_node.NodeType == XmlNodeType.Attribute) 320if (_column == null && _node.NodeType == XmlNodeType.Element) 347if ((_column == null || _column.ColumnMapping == MappingType.Attribute) && _node.NodeType == XmlNodeType.Element) 384return _node.NodeType; 415if (IsLocalNameEmpty(_node.NodeType)) 473if (IsLocalNameEmpty(_node.NodeType)) 609if (_node.NodeType == XmlNodeType.Element) 624if (_node != null && _column == null && _node.NodeType == XmlNodeType.Attribute) 768if (child != null && child.NodeType == XmlNodeType.XmlDeclaration)
System\Xml\DataSetMappper.cs (8)
138if (n.NodeType == XmlNodeType.Element) 169if (node.NodeType == XmlNodeType.Attribute && mt == MappingType.Attribute) 174if (node.NodeType == XmlNodeType.Element && mt == MappingType.Element) 224if (node.NodeType == XmlNodeType.Attribute) 279if (fc == null || fc.NodeType != XmlNodeType.Text || fc.NextSibling != null) 291if (n.NodeType != XmlNodeType.Element) 324if (fc == null || fc.NodeType != XmlNodeType.Text || fc.NextSibling != null) 334if (n.NodeType != XmlNodeType.Element)
System\Xml\RegionIterator.cs (4)
123Debug.Assert(CurrentNode.NodeType == XmlNodeType.Element); 126if (CurrentNode.NodeType == XmlNodeType.Element && DataSetMapper.GetTableSchemaForElement((XmlElement)(CurrentNode)) != null) 169while (n.NodeType == XmlNodeType.Whitespace) 190if (n.NodeType != XmlNodeType.Whitespace)
System\Xml\XmlDataDocument.cs (11)
764if (node.NodeType != XmlNodeType.Element) 997if (newNode.NodeType == XmlNodeType.Element) 1086switch (n.NodeType) 1515if (iter.CurrentNode!.NodeType == XmlNodeType.Element) 2275Debug.Assert(parent.NodeType != XmlNodeType.Attribute); // We need to get the grand-parent region 2330while (n != null && n.NodeType == XmlNodeType.Whitespace) 2335if (n.NodeType == XmlNodeType.Text) 2947if (XPathNodePointer.XmlNodeTypeToXpathNodeTypeMap[(int)(node.NodeType)] == -1) 2950if (Helpers.IsTextNode(node.NodeType)) 2953if (parent != null && parent.NodeType == XmlNodeType.Attribute) 2966while (prevSib != null && Helpers.IsTextNode(prevSib.NodeType))
System\Xml\XPathNodePointer.cs (35)
51Debug.Assert(XmlDataDocument.Helpers.IsTextNode(node.NodeType)); 56switch (n.NodeType) 76if (XmlDataDocument.Helpers.IsTextNode(node.NodeType)) 79int xnt = XmlNodeTypeToXpathNodeTypeMap[(int)(node.NodeType)]; 134if (_node.NodeType == XmlNodeType.Element) 190XmlNodeType nt = _node.NodeType; 219XmlNodeType nt = _node.NodeType; 290if (IsNamespaceNode(_node.NodeType, _node.NamespaceURI)) 311if (XmlDataDocument.Helpers.IsTextNode(_node.NodeType)) 318while (n != null && XmlDataDocument.Helpers.IsTextNode(n.NodeType)) 354if (_node.NodeType == XmlNodeType.Document) 423if (curNode.NodeType == XmlNodeType.Attribute) 521if (_column == null && _node.NodeType == XmlNodeType.Element) 592if ((_column == null || _column.ColumnMapping == MappingType.Attribute) && _node.NodeType == XmlNodeType.Element) 627if (bFirst && (_column != null || _node.NodeType != XmlNodeType.Element)) 633if (_column == null && _node.NodeType != XmlNodeType.Attribute) 685int xntChildInt = XmlNodeTypeToXpathNodeTypeMap[(int)(child.NodeType)]; 689int xntInt = XmlNodeTypeToXpathNodeTypeMap[(int)(parent.NodeType)]; 712int xntInt = XmlNodeTypeToXpathNodeTypeMap[(int)(parent.NodeType)]; 760bool bTextLike = XmlDataDocument.Helpers.IsTextNode(_node.NodeType); 766} while (n != null && bTextLike && XmlDataDocument.Helpers.IsTextNode(n.NodeType)); 806bool bTextLike = XmlDataDocument.Helpers.IsTextNode(_node.NodeType); 812} while (n != null && bTextLike && XmlDataDocument.Helpers.IsTextNode(n.NodeType)); 998if (_node.NodeType == XmlNodeType.Attribute) 1074XmlNode? parent = ((curNode.NodeType == XmlNodeType.Attribute) ? (((XmlAttribute)curNode).OwnerElement) : (curNode.ParentNode)); 1183curNode1 = ((curNode1.NodeType == XmlNodeType.Attribute) ? (((XmlAttribute)curNode1).OwnerElement) : (curNode1.ParentNode)); 1193curNode2 = ((curNode2.NodeType == XmlNodeType.Attribute) ? (((XmlAttribute)curNode2).OwnerElement) : (curNode2.ParentNode)); 1375while (node != null && ((nt = node.NodeType) != XmlNodeType.Element)) 1444} while (node != null && node.NodeType != XmlNodeType.Element); 1530} while (node != null && node.NodeType != XmlNodeType.Element); 1560} while (node != null && node.NodeType != XmlNodeType.Element); 1601} while (node != null && node.NodeType != XmlNodeType.Element); 1603else if (_node.NodeType == XmlNodeType.Attribute) 1620} while (node != null && node.NodeType != XmlNodeType.Element); 1633} while (node != null && node.NodeType == XmlNodeType.Element);
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1417if (child.NodeType == XmlNodeType.Element)
System.Private.Xml (184)
System\Xml\Dom\DocumentSchemaValidator.cs (8)
92switch (nodeToValidate.NodeType) 123if (nodeToValidate.ParentNode!.NodeType == XmlNodeType.Document) 177switch (node.NodeType) 264switch (_currentNode.NodeType) 316throw new InvalidOperationException(SR.Format(SR.Xml_UnexpectedNodeType, _currentNode.NodeType)); 485Debug.Assert(elementToValidate.ParentNode!.NodeType != XmlNodeType.Document); //Handle if it is the documentElement separately 728switch (child.NodeType) 753throw new InvalidOperationException(SR.Format(SR.Xml_UnexpectedNodeType, _currentNode!.NodeType));
System\Xml\Dom\DocumentXmlWriter.cs (2)
547nodeType = parent.NodeType; 562nodeType = _start.NodeType;
System\Xml\Dom\DocumentXPathNavigator.cs (48)
48switch (node.NodeType) 127switch (_source.NodeType) 166switch (_source.NodeType) 367&& node.NodeType != XmlNodeType.Element) 778if (_source.NodeType == XmlNodeType.Attribute) 804switch (_source.NodeType) 906if (_source.NodeType == XmlNodeType.Attribute) 916if (child.NodeType == XmlNodeType.Element 932if (_source.NodeType == XmlNodeType.Attribute) 968switch (that._source.NodeType) 982if (following.NodeType == XmlNodeType.Attribute) 1026while (following.NodeType != XmlNodeType.Element 1043switch (that._source.NodeType) 1062switch (following.NodeType) 1129if (sibling.NodeType == XmlNodeType.Element 1182switch (_source.NodeType) 1247if (_source.NodeType == XmlNodeType.Document) 1453if (nsAtom == null || _source.NodeType == XmlNodeType.Attribute) 1478XmlNodeType curNT = _source.NodeType; 1502switch (_source.NodeType) 1519switch (_source.NodeType) 1538switch (node.NodeType) 1561switch (_source.NodeType) 1585if (_source.NodeType != XmlNodeType.Element) 1611switch (node.NodeType) 1662switch (node.NodeType) 1721switch (node.NodeType) 1911&& parent.NodeType == XmlNodeType.EntityReference) 1932&& child.NodeType == XmlNodeType.EntityReference) 1957|| current.NodeType != XmlNodeType.EntityReference) 1964&& sibling.NodeType == XmlNodeType.EntityReference) 1989|| current.NodeType != XmlNodeType.EntityReference) 1996&& sibling.NodeType == XmlNodeType.EntityReference) 2030|| current.NodeType != XmlNodeType.EntityReference) 2038switch (sibling.NodeType) 2101switch (parent.NodeType) 2106switch (child.NodeType) 2119switch (child.NodeType) 2243if (node.NodeType == XmlNodeType.Element && Match(node)) 2257Debug.Assert(((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute); 2271return (node.NodeType == XmlNodeType.Element); 2295if (node.NodeType == XmlNodeType.Element && Match(node)) 2311Debug.Assert(((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute); 2327Debug.Assert(node.NodeType == XmlNodeType.Element); 2352if (node.NodeType == XmlNodeType.Element && Match(node)) 2369Debug.Assert(((XmlNode)nav.UnderlyingObject).NodeType != XmlNodeType.Attribute); 2392Debug.Assert(node.NodeType == XmlNodeType.Element); 2419if (node.NodeType == XmlNodeType.Element && Match(node))
System\Xml\Dom\XmlCDataSection.cs (1)
48switch (parentNode!.NodeType)
System\Xml\Dom\XmlCharacterData.cs (3)
201Debug.Assert(XmlDocument.IsTextNode(n.NodeType) || (n.ParentNode != null && n.ParentNode.NodeType == XmlNodeType.EntityReference)); 204switch (n.NodeType)
System\Xml\Dom\XmlDocument.cs (17)
503if (node.NodeType == nt) 519if (node.NodeType == nt) 533switch (newChild.NodeType) 540return refChild.NodeType != XmlNodeType.XmlDeclaration; 544if (refChild.NodeType != XmlNodeType.XmlDeclaration) 555if (refChild.NodeType != XmlNodeType.XmlDeclaration) 575switch (newChild.NodeType) 761XmlNodeType nodeType = node.NodeType; 781parentType = parent.NodeType; 805parentType = parent.NodeType; 849while (IsTextNode(n.NodeType)) 859if (intnode.ParentNode != null && intnode.ParentNode.NodeType == XmlNodeType.EntityReference) 881while (n.NodeType == XmlNodeType.EntityReference) 967switch (node.NodeType) 1023throw new InvalidOperationException(SR.Format(CultureInfo.InvariantCulture, SR.Xdom_Import, node.NodeType)); 1042Debug.Assert(toNode.NodeType != XmlNodeType.EntityReference); 1774if (!IsValidChildType(newChild.NodeType))
System\Xml\Dom\XmlDocumentFragment.cs (3)
145if (firstNode == null || firstNode.NodeType != XmlNodeType.XmlDeclaration) 156if (newChild.NodeType == XmlNodeType.XmlDeclaration) 172if (newChild.NodeType == XmlNodeType.XmlDeclaration)
System\Xml\Dom\XmlElement.cs (1)
601linkedNode.NodeType == XmlNodeType.Text && //which is text node
System\Xml\Dom\XmlElementList.cs (3)
30Debug.Assert(parent.NodeType == XmlNodeType.Element || parent.NodeType == XmlNodeType.Document); 160if (curNode.NodeType == XmlNodeType.Element)
System\Xml\Dom\XmlLoader.cs (4)
88if (n.NodeType != XmlNodeType.Attribute) 148Debug.Assert(parent.NodeType == XmlNodeType.Element); 494Debug.Assert(parent!.NodeType == XmlNodeType.Element); 749Debug.Assert(parentNode.NodeType != XmlNodeType.Document);
System\Xml\Dom\XmlNamedNodemap.cs (2)
145if (node.NodeType == XmlNodeType.Attribute) 212if (node.NodeType == XmlNodeType.Attribute)
System\Xml\Dom\XmlNode.cs (40)
114set { throw new InvalidOperationException(SR.Format(CultureInfo.InvariantCulture, SR.Xdom_Node_SetVal, NodeType.ToString())); } 130if (parentNode.NodeType != XmlNodeType.Document) 188if (parentNode.NodeType == XmlNodeType.Document) 242while (parent != null && !(parent.NodeType == XmlNodeType.Document)) 276if (newChild.NodeType == XmlNodeType.DocumentFragment) 291if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.NodeType)) 390if (newChild.NodeType == XmlNodeType.DocumentFragment) 406if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.NodeType)) 596if (newChild.NodeType == XmlNodeType.DocumentFragment) 611if (!(newChild is XmlLinkedNode) || !IsValidChildType(newChild.NodeType)) 740switch (crtChild.NodeType) 791Debug.Assert(firstNode.NodeType == XmlNodeType.Text 792|| firstNode.NodeType == XmlNodeType.SignificantWhitespace 793|| firstNode.NodeType == XmlNodeType.Whitespace 794|| secondNode.NodeType == XmlNodeType.Text 795|| secondNode.NodeType == XmlNodeType.SignificantWhitespace 796|| secondNode.NodeType == XmlNodeType.Whitespace); 797if (firstNode.NodeType == XmlNodeType.Text) 799if (secondNode.NodeType == XmlNodeType.Text) 801if (firstNode.NodeType == XmlNodeType.SignificantWhitespace) 803if (secondNode.NodeType == XmlNodeType.SignificantWhitespace) 805if (firstNode.NodeType == XmlNodeType.Whitespace) 807if (secondNode.NodeType == XmlNodeType.Whitespace) 859switch (n.NodeType) 906if (child.NodeType == XmlNodeType.Text || child.NodeType == XmlNodeType.CDATA 907|| child.NodeType == XmlNodeType.Whitespace || child.NodeType == XmlNodeType.SignificantWhitespace) 930XmlNodeType nodeType = fc.NodeType; 951&& firstChild.NodeType == XmlNodeType.Text)//which is a text node 1022XmlNodeType nt = curNode.NodeType; 1062if (NodeType == XmlNodeType.Document) 1091if (node.NodeType == XmlNodeType.Element) 1136else if (node.NodeType == XmlNodeType.Attribute) 1176if (node.NodeType == XmlNodeType.Element) 1215else if (node.NodeType == XmlNodeType.Attribute) 1244if (n.NodeType == XmlNodeType.Element && n.Name == name) 1260if (n.NodeType == XmlNodeType.Element && n.LocalName == localname && n.NamespaceURI == ns) 1304if (child.NodeType == type) 1461XmlNodeType nodeType = _node.NodeType;
System\Xml\Dom\XmlNodeReader.cs (43)
75XmlNodeType nt = _curNode.NodeType; 107XmlNodeType nt = _curNode.NodeType; 131Debug.Assert(_curNode.NodeType == XmlNodeType.XmlDeclaration || _curNode.NodeType == XmlNodeType.DocumentType); 137if (_curNode.NodeType == XmlNodeType.XmlDeclaration) 143if (IsLocalNameEmpty(_curNode.NodeType)) 156if (IsLocalNameEmpty(_curNode.NodeType)) 214Debug.Assert(_curNode.NodeType == XmlNodeType.XmlDeclaration || _curNode.NodeType == XmlNodeType.DocumentType); 218if (_curNode.Value != null || _curNode.NodeType == XmlNodeType.DocumentType) 230XmlNodeType nt = _curNode.NodeType; 237return _curNode.NodeType == XmlNodeType.XmlDeclaration ? 293if (_curNode.NodeType == XmlNodeType.Element) 305if (_curNode.NodeType == XmlNodeType.Attribute) 332XmlNodeType nt = _curNode.NodeType; 492return _curNode.NodeType switch 514return _curNode.NodeType switch 528switch (_curNode.NodeType) 574XmlNodeType nt = _curNode.NodeType; 593while (_curNode.NodeType != XmlNodeType.Attribute && ((_curNode = _curNode.ParentNode!) != null)) 617nt = _curNode.NodeType; 620if (_bOnAttrVal && _curNode.NodeType != XmlNodeType.Attribute) 622if (_curNode.NodeType == XmlNodeType.Attribute) 629if (_curNode.NodeType == XmlNodeType.Element) 662XmlNodeType nt = _curNode.NodeType; 691switch (_curNode.NodeType) 724XmlNodeType nt = _curNode.NodeType; 818if (_curNode.NodeType != XmlNodeType.Attribute) 828switch (_curNode.NodeType) 875if (node.NodeType == XmlNodeType.Element) 887else if (node.NodeType == XmlNodeType.Attribute) 943if (node.NodeType == XmlNodeType.Element) 973else if (node.NodeType == XmlNodeType.Attribute) 995if (node.NodeType == XmlNodeType.Element) 1026else if (node.NodeType == XmlNodeType.Attribute) 1053Debug.Assert(_curNode.NodeType == XmlNodeType.XmlDeclaration || _curNode.NodeType == XmlNodeType.DocumentType); 1063if (_curNode.NodeType == XmlNodeType.Attribute) 1069nt = _curNode.NodeType; 1078if (_curNode.NodeType == XmlNodeType.EntityReference && bResolveEntity) 1083nt = _curNode.NodeType; 1094if (parentNode != null && parentNode.NodeType == XmlNodeType.EntityReference) 1106nt = _curNode.NodeType;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
49switch (parentNode!.NodeType)
System\Xml\Dom\XmlText.cs (2)
52switch (parentNode!.NodeType) 91if (parent != null && parent.NodeType == XmlNodeType.Attribute)
System\Xml\Dom\XmlWhitespace.cs (1)
50switch (parentNode!.NodeType)
System\Xml\Serialization\_Events.cs (1)
141get { return _xmlNode.NodeType; }
System\Xml\Serialization\XmlSerializationReader.cs (4)
1234if (unknownNode.NodeType != XmlNodeType.None && unknownNode.NodeType != XmlNodeType.Whitespace && _events.OnUnknownNode != null) 1241if (unknownNode.NodeType == XmlNodeType.Attribute) 1245else if (unknownNode.NodeType == XmlNodeType.Element)
System.Security.Cryptography.Xml (7)
System\Security\Cryptography\Xml\CanonicalXmlDocument.cs (2)
35if (childNode.NodeType == XmlNodeType.Element) 52if (childNode.NodeType == XmlNodeType.Element)
System\Security\Cryptography\Xml\EncryptedXml.cs (1)
825if (parent.NodeType == XmlNodeType.Document)
System\Security\Cryptography\Xml\Utils.cs (3)
103return n.NodeType == XmlNodeType.Attribute && (n.Prefix.Equals("xmlns") || (n.Prefix.Length == 0 && n.LocalName.Equals("xmlns"))); 108return n.NodeType == XmlNodeType.Attribute && n.Prefix.Equals("xml"); 114bool b1 = n.NodeType == XmlNodeType.Attribute && n.Prefix.Length == 0 && n.LocalName.Equals("xmlns");
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (1)
181if (parent.NodeType == XmlNodeType.Document)