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

◆ MoveToFirstAttribute()

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

Definition at line 604 of file XPathNavigatorReader.cs.

605 {
606 int depth;
607 XPathNavigator elemNav = GetElemNav(out depth);
608 if (elemNav != null)
609 {
610 if (elemNav.MoveToFirstNamespace(XPathNamespaceScope.Local))
611 {
612 while (elemNav.MoveToNextNamespace(XPathNamespaceScope.Local))
613 {
614 }
615 }
616 else if (!elemNav.MoveToFirstAttribute())
617 {
618 goto IL_0028;
619 }
620 if (_state == State.InReadBinary)
621 {
624 }
625 MoveToAttr(elemNav, depth + 1);
626 return true;
627 }
628 goto IL_0028;
629 IL_0028:
630 return false;
631 }
void MoveToAttr(XPathNavigator nav, int depth)
ReadContentAsBinaryHelper _readBinaryHelper

References System.Xml.XPath.XPathNavigatorReader._readBinaryHelper, System.Xml.XPath.XPathNavigatorReader._savedState, System.Xml.XPath.XPathNavigatorReader._state, System.Xml.Dictionary, System.Xml.ReadContentAsBinaryHelper.Finish(), System.Xml.XPath.XPathNavigatorReader.GetElemNav(), and System.Xml.XPath.XPathNavigatorReader.MoveToAttr().

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