1 write to parent
System.Private.Xml (1)
System\Xml\Dom\XmlNamedNodemap.cs (1)
16
this.
parent
= parent;
40 references to parent
System.Private.Xml (40)
System\Xml\Dom\DocumentXPathNavigator.cs (4)
547
Debug.Assert(attributes != null && attributes.
parent
!= null);
548
XmlElement? element = attributes.
parent
.ParentNode as XmlElement;
661
Debug.Assert(attributes != null && attributes.
parent
!= null);
662
XmlElement? element = attributes.
parent
.ParentNode as XmlElement;
System\Xml\Dom\XmlAttributeCollection.cs (20)
139
if (node.OwnerDocument != null && node.OwnerDocument !=
parent
.OwnerDocument)
157
if (doc != null && doc !=
parent
.OwnerDocument)
184
if (refNode.OwnerElement !=
parent
)
187
if (newNode.OwnerDocument != null && newNode.OwnerDocument !=
parent
.OwnerDocument)
213
if (refNode.OwnerElement !=
parent
)
216
if (newNode.OwnerDocument != null && newNode.OwnerDocument !=
parent
.OwnerDocument)
322
XmlAttribute? defattr =
parent
.OwnerDocument!.GetDefaultAttribute((XmlElement)
parent
, retNode.Prefix, retNode.LocalName, retNode.NamespaceURI);
337
XmlElement? parentElem =
parent
as XmlElement;
340
if (
parent
.OwnerDocument == null)
343
XmlName? attrname =
parent
.OwnerDocument.GetIDInfoByElement(parentElem.XmlName);
346
parent
.OwnerDocument.AddElementWithId(attr.Value, parentElem); //add the element into the hashtable
354
XmlElement? parentElem =
parent
as XmlElement;
357
if (
parent
.OwnerDocument == null)
360
XmlName? attrname =
parent
.OwnerDocument.GetIDInfoByElement(parentElem.XmlName);
363
parent
.OwnerDocument.RemoveElementWithId(attr.Value, parentElem); //remove the element from the hashtable
385
XmlElement? parentElem =
parent
as XmlElement;
387
XmlDocument? doc =
parent
.OwnerDocument;
402
XmlElement? parentElem =
parent
as XmlElement;
404
XmlDocument? doc =
parent
.OwnerDocument;
System\Xml\Dom\XmlNamedNodemap.cs (16)
151
XmlNodeChangedEventArgs? args =
parent
.GetEventArgs(node, oldParent,
parent
, nodeValue, nodeValue, XmlNodeChangedAction.Insert);
154
parent
.BeforeEvent(args);
157
node.SetParent(
parent
);
160
parent
.AfterEvent(args);
167
XmlNodeChangedEventArgs? args = doc.GetInsertEventArgsForLoad(node,
parent
);
174
node.SetParent(
parent
);
188
XmlNodeChangedEventArgs? args =
parent
.GetEventArgs(oldNode,
parent
, null, oldNodeValue, oldNodeValue, XmlNodeChangedAction.Remove);
191
parent
.BeforeEvent(args);
197
parent
.AfterEvent(args);
218
XmlNodeChangedEventArgs? args =
parent
.GetEventArgs(node, oldParent,
parent
, nodeValue, nodeValue, XmlNodeChangedAction.Insert);
221
parent
.BeforeEvent(args);
224
node.SetParent(
parent
);
227
parent
.AfterEvent(args);