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

◆ MoveToChild() [1/2]

override bool System.Xml.DocumentXPathNavigator.MoveToChild ( string localName,
string namespaceUri )
inlinevirtual

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 846 of file DocumentXPathNavigator.cs.

847 {
848 if (_source.NodeType == XmlNodeType.Attribute)
849 {
850 return false;
851 }
852 XmlNode xmlNode = FirstChild(_source);
853 if (xmlNode != null)
854 {
855 do
856 {
857 if (xmlNode.NodeType == XmlNodeType.Element && xmlNode.LocalName == localName && xmlNode.NamespaceURI == namespaceUri)
858 {
860 return true;
861 }
863 }
864 while (xmlNode != null);
865 }
866 return false;
867 }
XmlNodeType NodeType
Definition XmlNode.cs:73

References System.Xml.DocumentXPathNavigator._source, System.Xml.Dictionary, System.Xml.DocumentXPathNavigator.FirstChild(), System.Xml.DocumentXPathNavigator.NextSibling(), and System.Xml.XmlNode.NodeType.