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

◆ GetNextAttribute()

static bool MS.Internal.Xml.Cache.XPathNodeHelper.GetNextAttribute ( ref XPathNode[] pageNode,
ref int idxNode )
inlinestatic

Definition at line 46 of file XPathNodeHelper.cs.

47 {
48 XPathNode[] pageNode2;
49 int sibling = pageNode[idxNode].GetSibling(out pageNode2);
50 if (sibling != 0 && pageNode2[sibling].NodeType == XPathNodeType.Attribute)
51 {
52 pageNode = pageNode2;
53 idxNode = sibling;
54 return true;
55 }
56 return false;
57 }

References MS.Internal.Xml.Cache.XPathNode.GetSibling().

Referenced by MS.Internal.Xml.Cache.XPathDocumentNavigator.MoveToNextAttribute().