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

◆ MoveToNext() [2/3]

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

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 1044 of file DocumentXPathNavigator.cs.

1045 {
1046 XmlNode xmlNode = NextSibling(_source);
1047 if (xmlNode == null)
1048 {
1049 return false;
1050 }
1051 do
1052 {
1053 if (xmlNode.NodeType == XmlNodeType.Element && xmlNode.LocalName == localName && xmlNode.NamespaceURI == namespaceUri)
1054 {
1055 _source = xmlNode;
1056 return true;
1057 }
1059 }
1060 while (xmlNode != null);
1061 return false;
1062 }

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