Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ParentNode

virtual ? XmlNode System.Xml.XmlNode.ParentNode
getinherited

Definition at line 75 of file XmlNode.cs.

76 {
77 get
78 {
79 if (parentNode.NodeType != XmlNodeType.Document)
80 {
81 return parentNode;
82 }
83 if (parentNode.FirstChild is XmlLinkedNode xmlLinkedNode)
84 {
85 XmlLinkedNode xmlLinkedNode2 = xmlLinkedNode;
86 do
87 {
88 if (xmlLinkedNode2 == this)
89 {
90 return parentNode;
91 }
93 }
94 while (xmlLinkedNode2 != null && xmlLinkedNode2 != xmlLinkedNode);
95 }
96 return null;
97 }
98 }
XmlNode parentNode
Definition XmlNode.cs:57
virtual ? XmlNode FirstChild
Definition XmlNode.cs:120
XmlNodeType NodeType
Definition XmlNode.cs:73

Referenced by System.Xml.XmlNode.AncestorNode(), System.Xml.XmlCharacterData.AppendData(), System.Xml.DocumentXmlWriter.Close(), System.Xml.DocumentXmlWriter.CloseWithReplaceToFollowingSibling(), System.Xml.XPathNodePointer.ComparePosition(), System.Xml.XmlCharacterData.DeleteData(), System.Xml.XPathNodePointer.DuplicateNS(), System.Xml.DocumentSchemaValidator.FindSchemaInfo(), System.Data.XDRSchema.FindTypeNode(), System.Data.XmlToDatasetMap.GetColumnSchema(), System.Xml.XPathNodePointer.GetNamespace(), System.Xml.XPathNodePointer.GetParent(), System.Xml.XPathNodePointer.GetRoot(), System.Xml.DocumentXPathNavigator.InsertBefore(), System.Xml.XmlCharacterData.InsertData(), System.Xml.XmlNode.IsConnected(), System.Xml.DocumentXPathNavigator.IsDescendant(), System.Xml.XPathNodePointer.MoveToFirst(), System.Xml.XPathNodePointer.MoveToFirstNamespace(), System.Xml.XPathNodePointer.MoveToNamespace(), System.Xml.XPathNodePointer.MoveToNextNamespace(), System.Xml.XPathNodePointer.MoveToNextSibling(), System.Xml.DataPointer.MoveToParent(), System.Xml.XmlNodeReaderNavigator.MoveToParent(), System.Xml.XPathNodePointer.MoveToPreviousSibling(), System.Xml.DocumentXPathNavigator.MoveToRoot(), System.Xml.XmlElementList.NextElemInPreOrder(), System.Xml.RegionIterator.NextRight(), System.Xml.TreeIterator.NextRight(), System.Xml.DocumentXPathNavigator.ParentNodeTail(), System.Xml.XmlElementList.PrevElemInPreOrder(), System.Xml.Schema.Parser.ProcessAppInfoDocMarkup(), System.Xml.XmlDataDocument.PromoteChild(), System.Xml.XmlDataDocument.PromoteInnerRegions(), System.Xml.XmlNodeReaderNavigator.ReadAttributeValue(), System.Xml.XmlCharacterData.ReplaceData(), System.Xml.XmlNodeReaderNavigator.ResetToAttribute(), System.Xml.DocumentXmlWriter.StartState(), and System.Xml.DocumentXmlWriter.WriteEndElement().