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

◆ MoveToRoot()

override void System.Xml.DocumentXPathNavigator.MoveToRoot ( )
inlinevirtual

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 800 of file DocumentXPathNavigator.cs.

801 {
802 while (true)
803 {
804 XmlNode xmlNode = _source.ParentNode;
805 if (xmlNode == null)
806 {
807 if (!(_source is XmlAttribute xmlAttribute))
808 {
809 break;
810 }
812 if (xmlNode == null)
813 {
814 break;
815 }
816 }
818 }
819 _namespaceParent = null;
820 }
virtual ? XmlNode ParentNode
Definition XmlNode.cs:76

References System.Xml.DocumentXPathNavigator._namespaceParent, System.Xml.DocumentXPathNavigator._source, System.Xml.Dictionary, and System.Xml.XmlNode.ParentNode.