11 writes to parentNode
System.Private.Xml (11)
System\Xml\Dom\XmlAttribute.cs (2)
23
this.
parentNode
= null;
374
this.
parentNode
= node;
System\Xml\Dom\XmlDocumentFragment.cs (1)
53
parentNode
= ownerDocument;
System\Xml\Dom\XmlElement.cs (2)
24
this.
parentNode
= null;
629
this.
parentNode
= node;
System\Xml\Dom\XmlNode.cs (6)
32
this.
parentNode
= doc;
1272
this.
parentNode
= OwnerDocument;
1276
this.
parentNode
= node;
1282
this.
parentNode
= node;
1436
nextNode.
parentNode
= prevNode;
1444
nextNode.
parentNode
= prevNode.ParentNode;
47 references to parentNode
System.Private.Xml (47)
System\Xml\Dom\XmlAttribute.cs (1)
330
return
parentNode
as XmlElement;
System\Xml\Dom\XmlCDataSection.cs (8)
48
switch (
parentNode
!.NodeType)
56
XmlNode parent =
parentNode
.
parentNode
!;
59
parent = parent.
parentNode
!;
64
return
parentNode
;
108
if (
parentNode
!= null &&
parentNode
.IsText)
110
return
parentNode
;
System\Xml\Dom\XmlDocumentFragment.cs (1)
85
return (XmlDocument)
parentNode
!;
System\Xml\Dom\XmlElement.cs (3)
119
return this.
parentNode
;
619
if (this.
parentNode
!= null
620
&& this.
parentNode
.LastNode != this)
System\Xml\Dom\XmlNode.cs (9)
128
Debug.Assert(
parentNode
!= null);
130
if (
parentNode
.NodeType != XmlNodeType.Document)
132
return
parentNode
;
136
XmlLinkedNode? firstChild =
parentNode
.FirstChild as XmlLinkedNode;
144
return
parentNode
;
187
Debug.Assert(
parentNode
!= null);
188
if (
parentNode
.NodeType == XmlNodeType.Document)
189
return (XmlDocument)
parentNode
;
190
return
parentNode
.OwnerDocument;
System\Xml\Dom\XmlSignificantWhiteSpace.cs (8)
49
switch (
parentNode
!.NodeType)
57
XmlNode parent =
parentNode
.
parentNode
!;
60
parent = parent.
parentNode
!;
64
return
parentNode
;
126
if (
parentNode
!= null &&
parentNode
.IsText)
128
return
parentNode
;
System\Xml\Dom\XmlText.cs (9)
52
switch (
parentNode
!.NodeType)
60
XmlNode parent =
parentNode
.
parentNode
!;
63
parent = parent.
parentNode
!;
68
return
parentNode
;
90
XmlNode? parent =
parentNode
;
153
if (
parentNode
!= null &&
parentNode
.IsText)
155
return
parentNode
;
System\Xml\Dom\XmlWhitespace.cs (8)
50
switch (
parentNode
!.NodeType)
58
XmlNode parent =
parentNode
.
parentNode
!;
61
parent = parent.
parentNode
!;
65
return
parentNode
;
126
if (
parentNode
!= null &&
parentNode
.IsText)
128
return
parentNode
;