8 overrides of ParentNode
System.Xml (8)
System\Xml\Dom\XmlAttribute.cs (1)
57public override XmlNode ParentNode {
System\Xml\Dom\XmlCDataSection.cs (1)
41public override XmlNode ParentNode {
System\Xml\Dom\XmlDocument.cs (1)
261public override XmlNode ParentNode {
System\Xml\Dom\XmlDocumentFragment.cs (1)
74public override XmlNode ParentNode {
System\Xml\Dom\XmlElement.cs (1)
97public override XmlNode ParentNode {
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
43public override XmlNode ParentNode {
System\Xml\Dom\XmlText.cs (1)
44public override XmlNode ParentNode {
System\Xml\Dom\XmlWhitespace.cs (1)
43public override XmlNode ParentNode {
155 references to ParentNode
PresentationFramework (2)
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (1)
242current = current.ParentNode;
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
652parent = parent.ParentNode;
System.Data (40)
fx\src\data\System\Data\XDRSchema.cs (1)
112vn = vn.ParentNode;
fx\src\data\System\Data\XmlDataLoader.cs (1)
405n = n.ParentNode;
fx\src\data\System\Data\XmlToDatasetMap.cs (2)
407XmlNode nodeRegion = (node.NodeType == XmlNodeType.Attribute) ? ((XmlAttribute)node).OwnerElement : node.ParentNode; 415nodeRegion = nodeRegion.ParentNode;
fx\src\data\System\NewXml\DataPointer.cs (1)
232XmlNode n = node.ParentNode;
fx\src\data\System\NewXml\DataSetMappper.cs (1)
208node = node.ParentNode;
fx\src\data\System\NewXml\RegionIterator.cs (1)
89nextNode = nextNode.ParentNode;
fx\src\data\System\NewXml\TreeIterator.cs (1)
64nextNode = nextNode.ParentNode;
fx\src\data\System\NewXml\XmlDataDocument.cs (11)
2031Debug.Assert( child.ParentNode != prevSibling.ParentNode ); 2033Debug.Assert( prevSibling.ParentNode != null ); 2039if ( child.ParentNode != null ) 2040child.ParentNode.RemoveChild( child ); 2042Debug.Assert( child.ParentNode == null ); 2043prevSibling.ParentNode.InsertAfter( child, prevSibling ); 2054mapper.GetRegion( parent.ParentNode, out parentRegionRowElem ); 2088node.ParentNode.RemoveChild( node ); 2374node = node.ParentNode; 2663XmlNode parent = node.ParentNode;
fx\src\data\System\NewXml\XPathNodePointer.cs (21)
285XmlNode parent = this._node.ParentNode; 385curNode = curNode.ParentNode; 696XmlNode parent = _node.ParentNode; 734XmlNode parent = _node.ParentNode; 774parent = _node.ParentNode; 903n = _node.ParentNode; 922return node.ParentNode; 970XmlNode parent = ( ( curNode.NodeType == XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode).OwnerElement ) : ( curNode.ParentNode ) ); 973parent = curNode.ParentNode; // no need to check for attribute since navigator can't be built on its children or navigate to its children 1064curNode1 = ( ( curNode1.NodeType == XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode1).OwnerElement ) : ( curNode1.ParentNode ) ); 1072curNode2 = ( ( curNode2.NodeType == XmlNodeType.Attribute ) ? ( ((XmlAttribute)curNode2).OwnerElement ) : ( curNode2.ParentNode ) ); 1094parent1 = curNode1.ParentNode; 1095parent2 = curNode2.ParentNode; 1241node = node.ParentNode; 1250node = node.ParentNode; 1301node = node.ParentNode; 1374node = node.ParentNode; 1399node = node.ParentNode; 1434node = node.ParentNode; 1451node = node.ParentNode; 1462node = node.ParentNode;
System.Web (5)
UI\WebControls\XmlHierarchyData.cs (5)
45if (node.ParentNode == null) 48return CreateRecursivePath(node.ParentNode) + FindNodePosition(node); 55XmlNodeList nodeList = node.ParentNode.ChildNodes; 96_parent.Path = CreateRecursivePath(_item.ParentNode); 121XmlNode parentNode = _item.ParentNode;
System.Web.DataVisualization (2)
Common\Utilities\XmlSerializer.cs (2)
1825 if( currentNode.ParentNode != null && 1826 !(currentNode.ParentNode is XmlDocument) )
System.Web.Mobile (2)
UI\MobileControls\Design\Util\WebConfigManager.cs (2)
303if (_xmlNode.ParentNode != null) 305_xmlNode.ParentNode.RemoveChild(_xmlNode);
System.Windows.Forms (2)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (1)
817signatureNode.ParentNode.RemoveChild(signatureNode);
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
1453signatureNode.ParentNode.RemoveChild(signatureNode);
System.Windows.Forms.DataVisualization (2)
Common\Utilities\XmlSerializer.cs (2)
1825 if( currentNode.ParentNode != null && 1826 !(currentNode.ParentNode is XmlDocument) )
System.Xml (98)
System\Xml\Dom\DocumentSchemaValidator.cs (6)
119if (nodeToValidate.ParentNode.NodeType == XmlNodeType.Document) { 121nodeToValidate = nodeToValidate.ParentNode; 188node = node.ParentNode; 194node = node.ParentNode; 449XmlNode parentNode = currentNode.ParentNode; 457parentNode = parentNode.ParentNode;
System\Xml\Dom\DocumentXmlWriter.cs (5)
156write = write.ParentNode; 314XmlNode parent = start.ParentNode; 323parent = start.ParentNode; 378XmlNode parent = start.ParentNode; 443XmlNode parent = start.ParentNode;
System\Xml\Dom\DocumentXPathNavigator.cs (18)
314node = node.ParentNode; 459XmlElement element = attributes.parent.ParentNode as XmlElement; 554XmlElement element = attributes.parent.ParentNode as XmlElement; 714XmlNode parent = source.ParentNode; 834XmlNode parent = following.ParentNode; 906XmlNode parent = following.ParentNode; 1054XmlNode parent = node.ParentNode; 1288writer.NamespaceManager = GetNamespaceManager(node.ParentNode, document); 1310writer.NamespaceManager = GetNamespaceManager(source.ParentNode, document); 1367writer.NamespaceManager = GetNamespaceManager(node.ParentNode, document); 1490XmlNode parent = node.ParentNode; 1517node = node.ParentNode; 1587XmlNode parent = node.ParentNode; 1598parent = parent.ParentNode; 1631node = node.ParentNode; 1656node = node.ParentNode; 1688node = node.ParentNode; 1727XmlNode parent = bottom.ParentNode;
System\Xml\Dom\XmlCharacterData.cs (7)
46XmlNode parent = ParentNode; 84XmlNode parent = ParentNode; 101XmlNode parent = ParentNode; 127XmlNode parent = ParentNode; 154XmlNode parent = ParentNode; 176Debug.Assert(XmlDocument.IsTextNode(node.NodeType) || (node.ParentNode != null && node.ParentNode.NodeType == XmlNodeType.EntityReference));
System\Xml\Dom\XmlDocument.cs (11)
396if ( refNode.ParentNode != null ) 397node = refNode.ParentNode.FirstChild; 637parent = node.ParentNode; 645parent = parent.ParentNode; 656parent = node.ParentNode; 665parent = parent.ParentNode; 702if ( intnode.ParentNode != null && intnode.ParentNode.NodeType == XmlNodeType.EntityReference ) { 703if (intnode.ParentNode.PreviousSibling != null ) { 704n = intnode.ParentNode.PreviousSibling; 708intnode = intnode.ParentNode;
System\Xml\Dom\XmlElement.cs (2)
413while (n != root && n == n.ParentNode.LastChild) { 414n = n.ParentNode;
System\Xml\Dom\XmlElementList.cs (2)
108retNode = retNode.ParentNode; 133retNode = curNode.ParentNode;
System\Xml\Dom\XmlLinkedNode.cs (2)
24XmlNode parent = ParentNode; 43XmlNode parent = ParentNode;
System\Xml\Dom\XmlLoader.cs (7)
140if ( parent.ParentNode == null ) { 143parent = parent.ParentNode; 215while ( parent.ParentNode != null ) { 216parent = parent.ParentNode; 435if ( parent.ParentNode == null ) { 438parent = parent.ParentNode; 639node = node.ParentNode;
System\Xml\Dom\XmlNamedNodemap.cs (2)
125oldParent = node.ParentNode; 183oldParent = node.ParentNode;
System\Xml\Dom\XmlNode.cs (26)
183XmlNode n = this.ParentNode; 188n = n.ParentNode; 197XmlNode parent = ParentNode; 199parent = parent.ParentNode; 214if (refChild.ParentNode != this) 228if (newChild.ParentNode != null) 229newChild.ParentNode.RemoveChild( newChild ); 251XmlNodeChangedEventArgs args = GetEventArgs( newChild, newChild.ParentNode, this, newChildValue, newChildValue, XmlNodeChangedAction.Insert ); 313if (refChild.ParentNode != this) 327if (newChild.ParentNode != null) 328newChild.ParentNode.RemoveChild( newChild ); 352XmlNodeChangedEventArgs args = GetEventArgs( newChild, newChild.ParentNode, this, newChildValue, newChildValue, XmlNodeChangedAction.Insert ); 418if (oldChild.ParentNode != this) 503if (newChild.ParentNode != null) 504newChild.ParentNode.RemoveChild( newChild ); 531XmlNodeChangedEventArgs args = GetEventArgs( newChild, newChild.ParentNode, this, newChildValue, newChildValue, XmlNodeChangedAction.Insert ); 743n = n.ParentNode; 863XmlNode curNode = this.ParentNode; //save one while loop since if going to here, the nodetype of this node can't be document, entity and entityref 874curNode = curNode.ParentNode; 955node = node.ParentNode; 961node = node.ParentNode; 1016node = node.ParentNode; 1022node = node.ParentNode; 1133node = node.ParentNode; 1150node = node.ParentNode; 1195nextNode.parentNode = prevNode.ParentNode;
System\Xml\Dom\XmlNodeReader.cs (6)
519while ( curNode.NodeType != XmlNodeType.Attribute && ( ( curNode = curNode.ParentNode ) != null ) ) 671XmlNode parent = curNode.ParentNode; 768node = node.ParentNode; 833node = node.ParentNode; 873node = node.ParentNode; 922XmlNode parentNode = curNode.ParentNode;
System\Xml\Dom\XmlProcessingInstruction.cs (1)
56XmlNode parent = ParentNode;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (1)
47return base.ParentNode;
System\Xml\Dom\XmlWhitespace.cs (1)
47return base.ParentNode;
System\Xml\Schema\Parser.cs (1)
283parentNode = parentNode.ParentNode;
WindowsBase (2)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
191temp = temp.ParentNode;
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (1)
1067XmlReader reader = new XmlNodeReader(nodeList[0].ParentNode);