1 write to parent
System.Xml (1)
System\Xml\Dom\XmlNamedNodemap.cs (1)
18
this.
parent
= parent;
40 references to parent
System.Xml (40)
System\Xml\Dom\DocumentXPathNavigator.cs (4)
458
Debug.Assert(attributes != null && attributes.
parent
!= null);
459
XmlElement element = attributes.
parent
.ParentNode as XmlElement;
553
Debug.Assert(attributes != null && attributes.
parent
!= null);
554
XmlElement element = attributes.
parent
.ParentNode as XmlElement;
System\Xml\Dom\XmlAttributeCollection.cs (20)
118
if (node.OwnerDocument != null && node.OwnerDocument !=
parent
.OwnerDocument)
134
if (doc != null && doc !=
parent
.OwnerDocument) {
157
if (refNode.OwnerElement !=
parent
)
160
if (newNode.OwnerDocument != null && newNode.OwnerDocument !=
parent
.OwnerDocument)
185
if (refNode.OwnerElement !=
parent
)
188
if (newNode.OwnerDocument != null && newNode.OwnerDocument !=
parent
.OwnerDocument)
277
XmlAttribute defattr =
parent
.OwnerDocument.GetDefaultAttribute( (XmlElement)
parent
, retNode.Prefix, retNode.LocalName, retNode.NamespaceURI );
290
XmlElement parentElem =
parent
as XmlElement;
293
if (
parent
.OwnerDocument == null)
295
XmlName attrname =
parent
.OwnerDocument.GetIDInfoByElement(parentElem.XmlName);
297
parent
.OwnerDocument.AddElementWithId(attr.Value, parentElem); //add the element into the hashtable
305
XmlElement parentElem =
parent
as XmlElement;
308
if (
parent
.OwnerDocument == null)
310
XmlName attrname =
parent
.OwnerDocument.GetIDInfoByElement(parentElem.XmlName);
312
parent
.OwnerDocument.RemoveElementWithId(attr.Value, parentElem); //remove the element from the hashtable
331
XmlElement parentElem =
parent
as XmlElement;
333
XmlDocument doc =
parent
.OwnerDocument;
345
XmlElement parentElem =
parent
as XmlElement;
347
XmlDocument doc =
parent
.OwnerDocument;
System\Xml\Dom\XmlNamedNodemap.cs (16)
127
XmlNodeChangedEventArgs args =
parent
.GetEventArgs( node, oldParent,
parent
, nodeValue, nodeValue, XmlNodeChangedAction.Insert );
130
parent
.BeforeEvent( args );
133
node.SetParent(
parent
);
136
parent
.AfterEvent( args );
142
XmlNodeChangedEventArgs args = doc.GetInsertEventArgsForLoad(node,
parent
);
147
node.SetParent(
parent
);
158
XmlNodeChangedEventArgs args =
parent
.GetEventArgs( oldNode,
parent
, null, oldNodeValue, oldNodeValue, XmlNodeChangedAction.Remove );
161
parent
.BeforeEvent( args );
167
parent
.AfterEvent( args );
186
XmlNodeChangedEventArgs args =
parent
.GetEventArgs( node, oldParent,
parent
, nodeValue, nodeValue, XmlNodeChangedAction.Insert );
189
parent
.BeforeEvent( args );
192
node.SetParent(
parent
);
195
parent
.AfterEvent( args );