4 overrides of OwnerDocument
System.Xml (4)
System\Xml\Dom\XmlAttribute.cs (1)
88
public override XmlDocument
OwnerDocument
{
System\Xml\Dom\XmlDocument.cs (1)
311
public override XmlDocument
OwnerDocument
System\Xml\Dom\XmlDocumentFragment.cs (1)
79
public override XmlDocument
OwnerDocument
{
System\Xml\Dom\XmlElement.cs (1)
104
public override XmlDocument
OwnerDocument
{
75 references to OwnerDocument
PresentationFramework (1)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
383
XmlDocument doc = node.
OwnerDocument
;
System.Data (7)
fx\src\data\System\NewXml\DataPointer.cs (3)
83
Debug.Assert( node == this.doc || node.
OwnerDocument
== this.doc );
94
Debug.Assert( node == this.doc || node.
OwnerDocument
== this.doc );
105
Debug.Assert( node == this.doc || node.
OwnerDocument
== this.doc );
fx\src\data\System\NewXml\TreeIterator.cs (1)
17
internal TreeIterator( XmlNode nodeTop ) : base( ((XmlDataDocument)(nodeTop.
OwnerDocument
)).Mapper ) {
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
2659
Debug.Assert( node.
OwnerDocument
== this || node == this );
fx\src\data\System\NewXml\XPathNodePointer.cs (2)
447
Debug.Assert( node == this._doc || node.
OwnerDocument
== this._doc );
458
Debug.Assert( node == this._doc || node.
OwnerDocument
== this._doc );
System.Xml (67)
System\Xml\Dom\DocumentXPathNavigator.cs (2)
1034
ownerDocument = source.
OwnerDocument
;
1535
Debug.Assert(node == document || node.
OwnerDocument
== document, "Navigator switched documents");
System\Xml\Dom\XmlAttributeCollection.cs (13)
118
if (node.OwnerDocument != null && node.OwnerDocument != parent.
OwnerDocument
)
134
if (doc != null && doc != parent.
OwnerDocument
) {
160
if (newNode.OwnerDocument != null && newNode.OwnerDocument != parent.
OwnerDocument
)
188
if (newNode.OwnerDocument != null && newNode.OwnerDocument != parent.
OwnerDocument
)
277
XmlAttribute defattr = parent.
OwnerDocument
.GetDefaultAttribute( (XmlElement)parent, retNode.Prefix, retNode.LocalName, retNode.NamespaceURI );
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
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
333
XmlDocument doc = parent.
OwnerDocument
;
347
XmlDocument doc = parent.
OwnerDocument
;
System\Xml\Dom\XmlCDataSection.cs (4)
23
return
OwnerDocument
.strCDataSectionName;
30
return
OwnerDocument
.strCDataSectionName;
63
Debug.Assert(
OwnerDocument
!= null );
64
return
OwnerDocument
.CreateCDataSection( Data );
System\Xml\Dom\XmlComment.cs (4)
19
get { return
OwnerDocument
.strCommentName;}
24
get { return
OwnerDocument
.strCommentName;}
34
Debug.Assert(
OwnerDocument
!= null );
35
return
OwnerDocument
.CreateComment( Data );
System\Xml\Dom\XmlDeclaration.cs (2)
134
Debug.Assert(
OwnerDocument
!= null );
135
return
OwnerDocument
.CreateXmlDeclaration( Version, Encoding, Standalone );
System\Xml\Dom\XmlDocumentType.cs (2)
58
Debug.Assert(
OwnerDocument
!= null );
59
return
OwnerDocument
.CreateDocumentType( name, publicId, systemId, internalSubset );
System\Xml\Dom\XmlEntityReference.cs (5)
76
Debug.Assert(
OwnerDocument
!= null );
77
XmlEntityReference eref =
OwnerDocument
.CreateEntityReference( name );
98
if ( LastNode == null && node != null && node !=
OwnerDocument
) {
156
return
OwnerDocument
.BaseURI;
176
XmlEntity ent =
OwnerDocument
.GetEntityNode( name );
System\Xml\Dom\XmlLoader.cs (4)
515
XmlDocument doc = dtNode.
OwnerDocument
;
524
this.doc = dtNode.
OwnerDocument
;
659
this.doc = parentNode.
OwnerDocument
;
763
this.doc = eref.
OwnerDocument
;
System\Xml\Dom\XmlNode.cs (15)
38
XmlDocument doc =
OwnerDocument
;
153
return parentNode.
OwnerDocument
;
220
XmlDocument childDoc = newChild.
OwnerDocument
;
221
XmlDocument thisDoc =
OwnerDocument
;
319
XmlDocument childDoc = newChild.
OwnerDocument
;
320
XmlDocument thisDoc =
OwnerDocument
;
493
XmlDocument thisDoc =
OwnerDocument
;
506
XmlDocument childDoc = newChild.
OwnerDocument
;
726
XmlDocument doc =
OwnerDocument
;
816
AppendChild(
OwnerDocument
.CreateTextNode( value ) );
903
return
OwnerDocument
;
1062
this.parentNode =
OwnerDocument
;
1095
XmlDocument doc =
OwnerDocument
;
1108
OwnerDocument
.BeforeEvent( args );
1113
OwnerDocument
.AfterEvent( args );
System\Xml\Dom\XmlNodeReader.cs (1)
90
this.doc = node.
OwnerDocument
;
System\Xml\Dom\XmlProcessingInstruction.cs (2)
80
Debug.Assert(
OwnerDocument
!= null );
81
return
OwnerDocument
.CreateProcessingInstruction( target, data );
System\Xml\Dom\XmlSignificantWhiteSpace.cs (4)
25
return
OwnerDocument
.strSignificantWhitespaceName;
32
return
OwnerDocument
.strSignificantWhitespaceName;
65
Debug.Assert(
OwnerDocument
!= null );
66
return
OwnerDocument
.CreateSignificantWhitespace( Data );
System\Xml\Dom\XmlText.cs (5)
26
return
OwnerDocument
.strTextName;
33
return
OwnerDocument
.strTextName;
66
Debug.Assert(
OwnerDocument
!= null );
67
return
OwnerDocument
.CreateTextNode( Data );
101
XmlText newTextNode =
OwnerDocument
.CreateTextNode(splitData);
System\Xml\Dom\XmlWhitespace.cs (4)
25
return
OwnerDocument
.strNonSignificantWhitespaceName;
32
return
OwnerDocument
.strNonSignificantWhitespaceName;
78
Debug.Assert(
OwnerDocument
!= null );
79
return
OwnerDocument
.CreateWhitespace( Data );