Base:
property
ParentNode
System.Xml.XmlNode.ParentNode
40 references to ParentNode
Microsoft.Build (4)
Evaluation\ProjectParser.cs (2)
207
ProjectXmlUtilities.ThrowProjectInvalidChildElement(childElement.Name, childElement.
ParentNode
.Name, childElement.Location);
635
ProjectErrorUtilities.ThrowInvalidProject(childElement.Location, "PropertyOutsidePropertyGroupInTarget", childElement.Name, childElement.
ParentNode
.Name);
Xml\ProjectXmlUtilities.cs (1)
73
ProjectErrorUtilities.ThrowInvalidProject(child.Location, "InvalidChildElementDueToDuplication", child.Name, child.
ParentNode
.Name);
XmlUtilities.cs (1)
55
oldElement.
ParentNode
?.ReplaceChild(newElement, oldElement);
Microsoft.Build.Tasks.Core (9)
AddToWin32Manifest.cs (2)
225
if (winSettingsNode.
ParentNode
== null)
230
if (appNode.
ParentNode
== null)
ManifestUtil\mansign2.cs (1)
795
licenseDom.DocumentElement.
ParentNode
.InnerXml = "<msrel:RelData xmlns:msrel=\"" +
ManifestUtil\TrustInfo.cs (6)
122
if (permissionSetElement.
ParentNode
== null ||
123
permissionSetElement.
ParentNode
.NodeType == XmlNodeType.Document)
128
XmlElement defaultAssemblyRequestElement = (XmlElement)permissionSetElement.
ParentNode
.SelectSingleNode(XPaths.defaultAssemblyRequestElement, nsmgr);
132
permissionSetElement.
ParentNode
.AppendChild(defaultAssemblyRequestElement);
622
oldPermissionSetElement.
ParentNode
.ReplaceChild(newPermissionSetElement, oldPermissionSetElement);
756
trustInfoElement.
ParentNode
.ReplaceChild(newTrustInfoElement, trustInfoElement);
PresentationFramework (2)
MS\Internal\IO\Packaging\XmlGlyphRunInfo.cs (1)
169
currentNode = (currentNode.
ParentNode
as XmlElement))
System\Windows\Documents\FixedTextBuilder.cs (1)
1636
_currentDumpNode = (XmlElement) _currentDumpNode.
ParentNode
;
System.Data.Common (12)
System\Xml\XmlBoundElement.cs (2)
73
XmlBoundElement? parent =
ParentNode
as XmlBoundElement;
93
XmlBoundElement? parent =
ParentNode
as XmlBoundElement;
System\Xml\XmlDataDocument.cs (10)
557
if (childElem.
ParentNode
!= rowElement)
559
childElem.
ParentNode
!.RemoveChild(childElem);
863
if (GetNestedParent(refRow) == parentRow && GetElementFromRow(refRow).
ParentNode
== parentElement)
1533
e.
ParentNode
!.RemoveChild(e);
1658
rowElement.
ParentNode
!.RemoveChild(rowElement);
1732
if (childElement == DocumentElement || childElement.
ParentNode
== null)
1735
parentRowInTree = GetRowFromElement((XmlElement)childElement.
ParentNode
);
2019
rowElement.
ParentNode
!.RemoveChild(rowElement);
2234
rowElement.
ParentNode
?.RemoveChild(rowElement);
2892
DataSetMapper.GetRegion(childRowElem.
ParentNode
, out parentRowElem);
System.Private.Xml (8)
System\Xml\Dom\DocumentSchemaValidator.cs (2)
485
Debug.Assert(elementToValidate.
ParentNode
!.NodeType != XmlNodeType.Document); //Handle if it is the documentElement separately
608
Debug.Assert(_nodeSequenceToValidate![0] == elementToValidate.
ParentNode
);
System\Xml\Dom\DocumentXmlWriter.cs (1)
191
_write = elem.
ParentNode
;
System\Xml\Dom\DocumentXPathNavigator.cs (5)
401
element = element.
ParentNode
as XmlElement;
447
element = element.
ParentNode
as XmlElement;
559
element = element.
ParentNode
as XmlElement;
673
element = element.
ParentNode
as XmlElement;
690
current = current.
ParentNode
as XmlElement;
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
824
XmlNode parent = inputElement.
ParentNode
!;
909
XmlNode parentNode = inputElement.
ParentNode
!;
System\Security\Cryptography\Xml\Reference.cs (1)
429
_namespaces = Utils.GetPropagatedAttributes(elem.
ParentNode
as XmlElement);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (2)
180
XmlNode parent = encryptedDataElement.
ParentNode
!;
237
XmlNode parent = encryptedDataElement.
ParentNode
!;