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

◆ MoveToElement()

override bool System.Xml.XPath.XPathNavigatorReader.MoveToElement ( )
inline

Definition at line 767 of file XPathNavigatorReader.cs.

768 {
769 switch (_state)
770 {
771 case State.Attribute:
772 case State.AttrVal:
773 if (!_nav.MoveToParent())
774 {
775 return false;
776 }
777 _depth--;
778 if (_state == State.AttrVal)
779 {
780 _depth--;
781 }
782 _state = State.Content;
783 _nodeType = XmlNodeType.Element;
784 return true;
785 case State.InReadBinary:
787 if (!MoveToElement())
788 {
789 _state = State.InReadBinary;
790 return false;
791 }
793 break;
794 }
795 return false;
796 }
ReadContentAsBinaryHelper _readBinaryHelper

References System.Xml.XPath.XPathNavigatorReader._depth, System.Xml.XPath.XPathNavigatorReader._nav, System.Xml.XPath.XPathNavigatorReader._nodeType, System.Xml.XPath.XPathNavigatorReader._readBinaryHelper, System.Xml.XPath.XPathNavigatorReader._savedState, System.Xml.XPath.XPathNavigatorReader._state, System.Xml.ReadContentAsBinaryHelper.Finish(), System.Xml.XPath.XPathNavigatorReader.MoveToElement(), and System.Xml.XPath.XPathNavigator.MoveToParent().

Referenced by System.Xml.XPath.XPathNavigatorReader.MoveToElement().