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