1 write to parent
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.cs (1)
19
this.
parent
= parent;
40 references to parent
dotnet-svcutil-lib (40)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (4)
558
Debug.Assert(attributes != null && attributes.
parent
!= null);
559
XmlElement element = attributes.
parent
.ParentNode as XmlElement;
673
Debug.Assert(attributes != null && attributes.
parent
!= null);
674
XmlElement element = attributes.
parent
.ParentNode as XmlElement;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttributeCollection.cs (20)
136
if (node.OwnerDocument != null && node.OwnerDocument !=
parent
.OwnerDocument)
154
if (doc != null && doc !=
parent
.OwnerDocument)
181
if (refNode.OwnerElement !=
parent
)
184
if (newNode.OwnerDocument != null && newNode.OwnerDocument !=
parent
.OwnerDocument)
210
if (refNode.OwnerElement !=
parent
)
213
if (newNode.OwnerDocument != null && newNode.OwnerDocument !=
parent
.OwnerDocument)
316
XmlAttribute defattr =
parent
.OwnerDocument.GetDefaultAttribute((XmlElement)
parent
, retNode.Prefix, retNode.LocalName, retNode.NamespaceURI);
330
XmlElement parentElem =
parent
as XmlElement;
333
if (
parent
.OwnerDocument == null)
335
XmlName attrname =
parent
.OwnerDocument.GetIDInfoByElement(parentElem.XmlName);
338
parent
.OwnerDocument.AddElementWithId(attr.Value, parentElem); //add the element into the hashtable
346
XmlElement parentElem =
parent
as XmlElement;
349
if (
parent
.OwnerDocument == null)
351
XmlName attrname =
parent
.OwnerDocument.GetIDInfoByElement(parentElem.XmlName);
354
parent
.OwnerDocument.RemoveElementWithId(attr.Value, parentElem); //remove the element from the hashtable
376
XmlElement parentElem =
parent
as XmlElement;
378
XmlDocument doc =
parent
.OwnerDocument;
392
XmlElement parentElem =
parent
as XmlElement;
394
XmlDocument doc =
parent
.OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNamedNodeMap.cs (16)
149
XmlNodeChangedEventArgs args =
parent
.GetEventArgs(node, oldParent,
parent
, nodeValue, nodeValue, XmlNodeChangedAction.Insert);
152
parent
.BeforeEvent(args);
155
node.SetParent(
parent
);
158
parent
.AfterEvent(args);
165
XmlNodeChangedEventArgs args = doc.GetInsertEventArgsForLoad(node,
parent
);
171
node.SetParent(
parent
);
184
XmlNodeChangedEventArgs args =
parent
.GetEventArgs(oldNode,
parent
, null, oldNodeValue, oldNodeValue, XmlNodeChangedAction.Remove);
187
parent
.BeforeEvent(args);
193
parent
.AfterEvent(args);
214
XmlNodeChangedEventArgs args =
parent
.GetEventArgs(node, oldParent,
parent
, nodeValue, nodeValue, XmlNodeChangedAction.Insert);
217
parent
.BeforeEvent(args);
220
node.SetParent(
parent
);
223
parent
.AfterEvent(args);