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

◆ NextRight()

override bool System.Xml.TreeIterator.NextRight ( )
inlinepackage

Definition at line 29 of file TreeIterator.cs.

30 {
32 {
33 _currentNode = null;
34 return false;
35 }
37 if (nextSibling != null)
38 {
40 return true;
41 }
43 while (nextSibling != _nodeTop && nextSibling.NextSibling == null)
44 {
46 }
47 if (nextSibling == _nodeTop)
48 {
49 _currentNode = null;
50 return false;
51 }
53 return true;
54 }
readonly XmlNode _nodeTop
virtual ? XmlNode ParentNode
Definition XmlNode.cs:76
virtual ? XmlNode NextSibling
Definition XmlNode.cs:104

References System.Xml.TreeIterator._currentNode, System.Xml.TreeIterator._nodeTop, System.Xml.Dictionary, System.Xml.XmlNode.NextSibling, and System.Xml.XmlNode.ParentNode.

Referenced by System.Xml.TreeIterator.Next().