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

◆ GetElementChild()

static bool MS.Internal.Xml.Cache.XPathNodeHelper.GetElementChild ( ref XPathNode[] pageNode,
ref int idxNode,
string localName,
string namespaceName )
inlinestatic

Definition at line 113 of file XPathNodeHelper.cs.

114 {
115 XPathNode[] pageNode2 = pageNode;
116 int idxNode2 = idxNode;
117 if (pageNode2[idxNode2].HasElementChild)
118 {
119 GetChild(ref pageNode2, ref idxNode2);
120 do
121 {
122 if (pageNode2[idxNode2].ElementMatch(localName, namespaceName))
123 {
124 pageNode = pageNode2;
125 idxNode = idxNode2;
126 return true;
127 }
128 idxNode2 = pageNode2[idxNode2].GetSibling(out pageNode2);
129 }
130 while (idxNode2 != 0);
131 }
132 return false;
133 }
static void GetChild(ref XPathNode[] pageNode, ref int idxNode)

References MS.Internal.Xml.Cache.XPathNodeHelper.GetChild().

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