Base:
property
OwnerDocument
System.Xml.XmlNode.OwnerDocument
74 references to OwnerDocument
Microsoft.Build (8)
Construction\ProjectElement.cs (3)
334
return (XmlDocumentWithLocation)XmlElement?.
OwnerDocument
;
390
XmlElement.AppendChild(XmlElement.
OwnerDocument
.CreateTextNode(pureText));
409
XmlElement.AppendChild(XmlElement.
OwnerDocument
.CreateTextNode(element.XmlElement.FirstChild.Value));
ElementLocation\XmlElementWithLocation.cs (1)
96
XmlDocumentWithLocation ownerDocumentWithLocation = (XmlDocumentWithLocation)
OwnerDocument
;
Evaluation\Preprocessor.cs (3)
169
if (!_implicitImportsByProject.TryGetValue(documentElement.
OwnerDocument
, out implicitImports))
182
XmlElement xmlElement = (XmlElement)documentElement.
OwnerDocument
.ImportNode(import.ImportingElement.XmlElement, false);
208
XmlElement xmlElement = (XmlElement)documentElement.InsertAfter(documentElement.
OwnerDocument
.ImportNode(import.ImportingElement.XmlElement, false), documentElement.LastChild);
XmlUtilities.cs (1)
36
(XmlElementWithLocation)((XmlDocumentWithLocation)oldElement.
OwnerDocument
).CreateElement(newElementName, xmlNamespace ?? string.Empty, oldElement.Location);
Microsoft.Build.Tasks.Core (9)
BootstrapperUtil\BootstrapperBuilder.cs (6)
990
mergeElement.Attributes.Append((XmlAttribute)(mergeElement.
OwnerDocument
.ImportNode(attribute, false)));
995
var convertedAttribute = (XmlAttribute)(mergeElement.
OwnerDocument
.ImportNode(attribute, false));
1549
configElement.AppendChild(configElement.
OwnerDocument
.ImportNode(node, true));
1920
applicationElement = configElement.
OwnerDocument
.CreateElement("Application");
1929
XmlElement filesNode = applicationElement.
OwnerDocument
.CreateElement("Files");
1930
XmlElement fileNode = filesNode.
OwnerDocument
.CreateElement("File");
ManifestUtil\SecurityUtil.cs (1)
439
XmlNamespaceManager nsmgr = XmlNamespaces.GetNamespaceManager(psElement.
OwnerDocument
.NameTable);
ManifestUtil\TrustInfo.cs (2)
44
sameSiteAttribute = permissionSetElement.
OwnerDocument
.CreateAttribute(XmlUtil.TrimPrefix(XPaths.sameSiteAttribute));
66
XmlDocument document = permissionSetElement.
OwnerDocument
;
PresentationFramework (13)
MS\Internal\Annotations\XmlElementCollection.cs (13)
152
Invariant.Assert(_xmlDocsRefCounts.ContainsKey(element.
OwnerDocument
), "Not registered on XmlElement");
155
_xmlDocsRefCounts[element.
OwnerDocument
]--;
159
if (_xmlDocsRefCounts[element.
OwnerDocument
] == 0)
161
element.
OwnerDocument
.NodeChanged -= OnNodeChanged;
162
element.
OwnerDocument
.NodeInserted -= OnNodeChanged;
163
element.
OwnerDocument
.NodeRemoved -= OnNodeChanged;
164
_xmlDocsRefCounts.Remove(element.
OwnerDocument
);
182
if (!_xmlDocsRefCounts.ContainsKey(element.
OwnerDocument
))
186
_xmlDocsRefCounts[element.
OwnerDocument
] = 1;
188
element.
OwnerDocument
.NodeChanged += handler;
189
element.
OwnerDocument
.NodeInserted += handler;
190
element.
OwnerDocument
.NodeRemoved += handler;
195
_xmlDocsRefCounts[element.
OwnerDocument
]++;
System.Data.Common (10)
System\Data\XDRSchema.cs (2)
92
vn = node.
OwnerDocument
.FirstChild;
93
vnRoof = node.
OwnerDocument
;
System\Xml\RegionIterator.cs (1)
23
internal RegionIterator(XmlBoundElement rowElement) : base(((XmlDataDocument)(rowElement.
OwnerDocument
)).Mapper)
System\Xml\XmlBoundElement.cs (7)
159
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
204
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
211
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
217
XmlDataDocument doc = (XmlDataDocument)(
OwnerDocument
);
239
DataPointer dp = new DataPointer((XmlDataDocument)
OwnerDocument
, this);
253
DataPointer dp = new DataPointer((XmlDataDocument)
OwnerDocument
, this);
268
XmlDataDocument doc = (XmlDataDocument)
OwnerDocument
;
System.Private.Xml (8)
System\Xml\Dom\XmlElement.cs (8)
54
Debug.Assert(
OwnerDocument
!= null);
55
XmlDocument doc =
OwnerDocument
;
244
lock (
OwnerDocument
.objLock)
284
attr =
OwnerDocument
.CreateAttribute(name);
355
attr =
OwnerDocument
.CreateAttribute(string.Empty, localName, namespaceURI);
387
attr =
OwnerDocument
.CreateAttribute(string.Empty, localName, namespaceURI);
610
AppendChild(
OwnerDocument
.CreateTextNode(value));
638
if (ns ==
OwnerDocument
.strReservedXmlns)
System.Security.Cryptography.Xml (26)
System\Security\Cryptography\Xml\CanonicalXmlElement.cs (2)
59
XmlAttribute nsattrib = (XmlAttribute)
OwnerDocument
.CreateAttribute(name);
131
XmlAttribute nsattrib = (XmlAttribute)
OwnerDocument
.CreateAttribute(name);
System\Security\Cryptography\Xml\CipherData.cs (1)
106
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\CipherReference.cs (1)
83
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\DSAKeyValue.cs (1)
168
XmlNamespaceManager xmlNamespaceManager = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\EncryptedData.cs (1)
20
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
59
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\EncryptedReference.cs (1)
122
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
842
XmlNode importedNode = inputElement.
OwnerDocument
.ImportNode(importDocument.DocumentElement!, true);
899
XmlElement elemED = encryptedData.GetXml(inputElement.
OwnerDocument
);
System\Security\Cryptography\Xml\EncryptionMethod.cs (1)
89
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (1)
287
XmlNamespaceManager nsm = new XmlNamespaceManager(element.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\Reference.cs (4)
222
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
280
referenceTarget = transformElement.
OwnerDocument
;
287
referenceTarget = transformElement.
OwnerDocument
;
291
referenceTarget = SignedXml!.GetIdElement(transformElement.
OwnerDocument
, idref);
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
123
XmlNamespaceManager xmlNamespaceManager = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\Signature.cs (1)
151
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\SignedInfo.cs (1)
217
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\SignedXml.cs (1)
127
_containingDocument = element?.
OwnerDocument
;
System\Security\Cryptography\Xml\TransformChain.cs (1)
179
XmlNamespaceManager nsm = new XmlNamespaceManager(value.
OwnerDocument
.NameTable);
System\Security\Cryptography\Xml\Utils.cs (5)
479
XmlAttribute nsattrib = (XmlAttribute)elem.
OwnerDocument
.CreateAttribute(name);
493
XmlAttribute nsattrib = (XmlAttribute)elem.
OwnerDocument
.CreateAttribute(key);
524
XmlAttribute nsattrib = elem.
OwnerDocument
.CreateAttribute(name);
537
XmlAttribute nsattrib = elem.
OwnerDocument
.CreateAttribute("xmlns");
557
XmlAttribute nsattrib = elem.
OwnerDocument
.CreateAttribute(name);