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