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

◆ MoveToChild() [2/2]

override bool System.Xml.XPath.XNodeNavigator.MoveToChild ( XPathNodeType type)
inlinevirtual

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 316 of file XNodeNavigator.cs.

317 {
319 {
320 int num = GetElementContentMask(type);
321 if ((0x18u & (uint)num) != 0 && xContainer.GetParent() == null && xContainer is XDocument)
322 {
323 num &= -25;
324 }
325 foreach (XNode item in xContainer.Nodes())
326 {
327 if (((1 << (int)item.NodeType) & num) != 0)
328 {
329 _source = item;
330 return true;
331 }
332 }
333 }
334 return false;
335 }
static int GetElementContentMask(XPathNodeType type)

References System.Xml.XPath.XNodeNavigator._source, System.Xml.Dictionary, System.Xml.XPath.XNodeNavigator.GetElementContentMask(), System.item, and System.type.