Base:
property
OwnerDocument
System.Xml.XmlNode.OwnerDocument
35 references to OwnerDocument
PresentationFramework (13)
src\Framework\MS\Internal\Annotations\XmlElementCollection.cs (13)
155
Invariant.Assert(_xmlDocsRefCounts.ContainsKey(element.
OwnerDocument
), "Not registered on XmlElement");
158
_xmlDocsRefCounts[element.
OwnerDocument
]--;
162
if (_xmlDocsRefCounts[element.
OwnerDocument
] == 0)
164
element.
OwnerDocument
.NodeChanged -= OnNodeChanged;
165
element.
OwnerDocument
.NodeInserted -= OnNodeChanged;
166
element.
OwnerDocument
.NodeRemoved -= OnNodeChanged;
167
_xmlDocsRefCounts.Remove(element.
OwnerDocument
);
185
if (!_xmlDocsRefCounts.ContainsKey(element.
OwnerDocument
))
189
_xmlDocsRefCounts[element.
OwnerDocument
] = 1;
191
element.
OwnerDocument
.NodeChanged += handler;
192
element.
OwnerDocument
.NodeInserted += handler;
193
element.
OwnerDocument
.NodeRemoved += handler;
198
_xmlDocsRefCounts[element.
OwnerDocument
]++;
System.Data (10)
fx\src\data\System\Data\XDRSchema.cs (2)
93
vn = node.
OwnerDocument
.FirstChild;
94
vnRoof = node.
OwnerDocument
;
fx\src\data\System\NewXml\RegionIterator.cs (1)
27
internal RegionIterator( XmlBoundElement rowElement ) : base( ((XmlDataDocument)(rowElement.
OwnerDocument
)).Mapper ) {
fx\src\data\System\NewXml\XmlBoundElement.cs (7)
136
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
173
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
180
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
186
XmlDataDocument doc = (XmlDataDocument)(this.
OwnerDocument
);
204
DataPointer dp = new DataPointer( (XmlDataDocument)
OwnerDocument
, this );
215
DataPointer dp = new DataPointer( (XmlDataDocument)
OwnerDocument
, this );
227
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
System.ServiceModel (3)
System\ServiceModel\Security\WSTrustDec2005.cs (3)
103
XmlAttribute dialectAttribute = result.
OwnerDocument
.CreateAttribute(DXD.TrustDec2005Dictionary.Dialect.Value);
137
if (originalRequestParameters.Count > 0 && originalRequestParameters[0] != null && originalRequestParameters[0].
OwnerDocument
!= null)
139
XmlElement secondaryParamElement = originalRequestParameters[0].
OwnerDocument
.CreateElement(DXD.TrustDec2005Dictionary.Prefix.Value, DXD.TrustDec2005Dictionary.SecondaryParameters.Value, DXD.TrustDec2005Dictionary.Namespace.Value);
System.Web.Services (1)
System\Web\Services\Description\ServiceDescription.cs (1)
496
XmlDocument d = documentation.
OwnerDocument
;
System.Xml (8)
System\Xml\Dom\XmlElement.cs (8)
48
Debug.Assert(
OwnerDocument
!= null );
49
XmlDocument doc =
OwnerDocument
;
203
lock (
OwnerDocument
.objLock ) {
238
attr =
OwnerDocument
.CreateAttribute(name);
297
attr =
OwnerDocument
.CreateAttribute( string.Empty, localName, namespaceURI );
326
attr =
OwnerDocument
.CreateAttribute( string.Empty, localName, namespaceURI );
508
AppendChild(
OwnerDocument
.CreateTextNode( value ) );
531
if ( ns ==
OwnerDocument
.strReservedXmlns )