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