4 overrides of OwnerDocument
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttribute.cs (1)
99public override XmlDocument OwnerDocument
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (1)
343public override XmlDocument OwnerDocument
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentFragment.cs (1)
85public override XmlDocument OwnerDocument
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElement.cs (1)
120public override XmlDocument OwnerDocument
67 references to OwnerDocument
dotnet-svcutil-lib (67)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (2)
1271ownerDocument = _source.OwnerDocument; 1862Debug.Assert(node == _document || node.OwnerDocument == _document, "Navigator switched documents");
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttributeCollection.cs (13)
136if (node.OwnerDocument != null && node.OwnerDocument != parent.OwnerDocument) 154if (doc != null && doc != parent.OwnerDocument) 184if (newNode.OwnerDocument != null && newNode.OwnerDocument != parent.OwnerDocument) 213if (newNode.OwnerDocument != null && newNode.OwnerDocument != parent.OwnerDocument) 316XmlAttribute defattr = parent.OwnerDocument.GetDefaultAttribute((XmlElement)parent, retNode.Prefix, retNode.LocalName, retNode.NamespaceURI); 333if (parent.OwnerDocument == null) 335XmlName attrname = parent.OwnerDocument.GetIDInfoByElement(parentElem.XmlName); 338parent.OwnerDocument.AddElementWithId(attr.Value, parentElem); //add the element into the hashtable 349if (parent.OwnerDocument == null) 351XmlName attrname = parent.OwnerDocument.GetIDInfoByElement(parentElem.XmlName); 354parent.OwnerDocument.RemoveElementWithId(attr.Value, parentElem); //remove the element from the hashtable 378XmlDocument doc = parent.OwnerDocument; 394XmlDocument doc = parent.OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlCDATASection.cs (4)
25return OwnerDocument.strCDataSectionName; 34return OwnerDocument.strCDataSectionName; 74Debug.Assert(OwnerDocument != null); 75return OwnerDocument.CreateCDataSection(Data);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlComment.cs (4)
22get { return OwnerDocument.strCommentName; } 28get { return OwnerDocument.strCommentName; } 40Debug.Assert(OwnerDocument != null); 41return OwnerDocument.CreateComment(Data);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDeclaration.cs (2)
152Debug.Assert(OwnerDocument != null); 153return OwnerDocument.CreateXmlDeclaration(Version, Encoding, Standalone);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocumentType.cs (2)
65Debug.Assert(OwnerDocument != null); 66return OwnerDocument.CreateDocumentType(_name, _publicId, _systemId, _internalSubset);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlEntityReference.cs (5)
87Debug.Assert(OwnerDocument != null); 88XmlEntityReference eref = OwnerDocument.CreateEntityReference(_name); 113if (LastNode == null && node != null && node != OwnerDocument) 181return OwnerDocument.BaseURI; 204XmlEntity ent = OwnerDocument.GetEntityNode(_name);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlLoader.cs (4)
588XmlDocument doc = dtNode.OwnerDocument; 598_doc = dtNode.OwnerDocument; 757_doc = parentNode.OwnerDocument; 881_doc = eref.OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNode.cs (15)
41XmlDocument doc = OwnerDocument; 175return parentNode.OwnerDocument; 250XmlDocument childDoc = newChild.OwnerDocument; 251XmlDocument thisDoc = OwnerDocument; 364XmlDocument childDoc = newChild.OwnerDocument; 365XmlDocument thisDoc = OwnerDocument; 568XmlDocument thisDoc = OwnerDocument; 582XmlDocument childDoc = newChild.OwnerDocument; 836XmlDocument doc = OwnerDocument; 944AppendChild(OwnerDocument.CreateTextNode(value)); 1049return OwnerDocument; 1252this.parentNode = OwnerDocument; 1294XmlDocument doc = OwnerDocument; 1310OwnerDocument.BeforeEvent(args); 1316OwnerDocument.AfterEvent(args);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (1)
93_doc = node.OwnerDocument;
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlProcessingInstruction.cs (2)
90Debug.Assert(OwnerDocument != null); 91return OwnerDocument.CreateProcessingInstruction(_target, _data);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlSignificantWhitespace.cs (4)
26return OwnerDocument.strSignificantWhitespaceName; 35return OwnerDocument.strSignificantWhitespaceName; 75Debug.Assert(OwnerDocument != null); 76return OwnerDocument.CreateSignificantWhitespace(Data);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlText.cs (5)
28return OwnerDocument.strTextName; 37return OwnerDocument.strTextName; 77Debug.Assert(OwnerDocument != null); 78return OwnerDocument.CreateTextNode(Data); 118XmlText newTextNode = OwnerDocument.CreateTextNode(splitData);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlWhitespace.cs (4)
26return OwnerDocument.strNonSignificantWhitespaceName; 35return OwnerDocument.strNonSignificantWhitespaceName; 91Debug.Assert(OwnerDocument != null); 92return OwnerDocument.CreateWhitespace(Data);