62 references to OwnerElement
Microsoft.Build (1)
Xml\ProjectXmlUtilities.cs (1)
196
ProjectErrorUtilities.ThrowInvalidProject(attribute.Location, "UnrecognizedAttribute", attribute.Name, attribute.
OwnerElement
.Name);
Microsoft.Build.Tasks.Core (3)
ManifestUtil\Manifest.cs (3)
407
XmlNode publicKeyTokenNode = ((XmlAttribute)codeBaseNode).
OwnerElement
.SelectSingleNode(XPaths.dependencyPublicKeyTokenAttribute, nsmgr);
419
XmlNode hashNode = ((XmlAttribute)codeBaseNode).
OwnerElement
.SelectSingleNode(XPaths.hashElement, nsmgr);
426
XmlAttribute sizeAttribute = ((XmlAttribute)codeBaseNode).
OwnerElement
.Attributes[XmlUtil.TrimPrefix(XPaths.fileSizeAttribute)];
PresentationFramework (1)
MS\Internal\Annotations\XmlElementCollection.cs (1)
235
current = attr.
OwnerElement
;
System.Data.Common (15)
System\Data\XmlDataLoader.cs (1)
244
ownerNode = ((XmlAttribute)node).
OwnerElement
!;
System\Data\XmlToDatasetMap.cs (1)
441
XmlNode? nodeRegion = (node.NodeType == XmlNodeType.Attribute) ? ((XmlAttribute)node).
OwnerElement
: node.ParentNode;
System\Xml\DataPointer.cs (1)
299
XmlNode? n = ((XmlAttribute)_node).
OwnerElement
;
System\Xml\DataSetMappper.cs (1)
226
node = ((XmlAttribute)node).
OwnerElement
;
System\Xml\XmlDataDocument.cs (2)
1508
attr.
OwnerElement
!.Attributes.Remove(attr);
2685
node = attr.
OwnerElement
;
System\Xml\XPathNodePointer.cs (9)
422
curNode = ((XmlAttribute)curNode).
OwnerElement
!;
663
XmlAttributeCollection attrs = ((XmlAttribute)_node).
OwnerElement
!.Attributes;
997
n = ((XmlAttribute)_node).
OwnerElement
;
1019
return ((XmlAttribute)node).
OwnerElement
;
1071
XmlNode? parent = ((curNode.NodeType == XmlNodeType.Attribute) ? (((XmlAttribute)curNode).
OwnerElement
) : (curNode.ParentNode));
1179
curNode1 = ((curNode1.NodeType == XmlNodeType.Attribute) ? (((XmlAttribute)curNode1).
OwnerElement
) : (curNode1.ParentNode));
1189
curNode2 = ((curNode2.NodeType == XmlNodeType.Attribute) ? (((XmlAttribute)curNode2).
OwnerElement
) : (curNode2.ParentNode));
1371
node = ((XmlAttribute)node).
OwnerElement
;
1596
node = attr.
OwnerElement
;
System.Private.Xml (42)
System\Xml\Dom\DocumentSchemaValidator.cs (2)
211
node = ((XmlAttribute)node).
OwnerElement
;
551
XmlElement parentElement = attributeToValidate.
OwnerElement
!;
System\Xml\Dom\DocumentXmlWriter.cs (2)
227
_write = attr.
OwnerElement
;
277
_write = attr.
OwnerElement
;
System\Xml\Dom\DocumentXPathNavigator.cs (13)
371
node = attribute.
OwnerElement
;
582
if (attribute.
OwnerElement
!= _namespaceParent)
604
while (PathHasDuplicateNamespace(attribute.
OwnerElement
, _namespaceParent, localName)
627
while (PathHasDuplicateNamespace(attribute.
OwnerElement
, _namespaceParent, attribute.LocalName));
846
parent = attribute.IsNamespace ? _namespaceParent : attribute.
OwnerElement
;
868
parent = attribute.IsNamespace ? _namespaceParent : attribute.
OwnerElement
;
984
following = ((XmlAttribute)following).
OwnerElement
;
1065
following = ((XmlAttribute)following).
OwnerElement
;
1286
return attribute.
OwnerElement
;
1316
XmlElement? element = ((XmlAttribute)node1).
OwnerElement
;
1838
XmlElement? element = attribute.
OwnerElement
;
1869
XmlElement? element = attribute.
OwnerElement
;
2084
parent = attribute.
OwnerElement
;
System\Xml\Dom\XmlAttribute.cs (8)
146
XmlElement? ownerElement =
OwnerElement
;
158
XmlElement? ownerElement =
OwnerElement
;
366
if (
OwnerElement
!= null)
367
return
OwnerElement
.BaseURI;
381
if (
OwnerElement
!= null)
382
return
OwnerElement
.XmlSpace;
391
if (
OwnerElement
!= null)
392
return
OwnerElement
.XmlLang;
System\Xml\Dom\XmlAttributeCollection.cs (7)
142
if (node.
OwnerElement
!= null)
161
if (node.
OwnerElement
!= null)
184
if (refNode.
OwnerElement
!= parent)
190
if (newNode.
OwnerElement
!= null)
213
if (refNode.
OwnerElement
!= parent)
219
if (newNode.
OwnerElement
!= null)
331
attr.
OwnerElement
!.Attributes.Remove(attr);
System\Xml\Dom\XmlElement.cs (1)
312
if (newAttr.
OwnerElement
!= null)
System\Xml\Dom\XmlNamedNodemap.cs (2)
146
oldParent = ((XmlAttribute)node).
OwnerElement
;
213
oldParent = ((XmlAttribute)node).
OwnerElement
;
System\Xml\Dom\XmlNode.cs (3)
866
n = ((XmlAttribute)n).
OwnerElement
;
1138
node = ((XmlAttribute)node).
OwnerElement
;
1217
node = ((XmlAttribute)node).
OwnerElement
;
System\Xml\Dom\XmlNodeReader.cs (4)
624
_curNode = ((XmlAttribute)_curNode).
OwnerElement
!;
889
node = ((XmlAttribute)node).
OwnerElement
;
975
node = ((XmlAttribute)node).
OwnerElement
;
1028
node = ((XmlAttribute)node).
OwnerElement
;