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

◆ MoveToNext() [1/3]

override bool System.Xml.XPath.XNodeNavigator.MoveToNext ( )
inline

Definition at line 440 of file XNodeNavigator.cs.

441 {
442 if (_source is XNode xNode)
443 {
444 XContainer parent = xNode.GetParent();
445 if (parent != null)
446 {
447 XNode xNode2 = null;
448 for (XNode xNode3 = xNode; xNode3 != null; xNode3 = xNode2)
449 {
451 if (xNode2 == null)
452 {
453 break;
454 }
455 if (IsContent(parent, xNode2) && (!(xNode3 is XText) || !(xNode2 is XText)))
456 {
457 _source = xNode2;
458 return true;
459 }
460 }
461 }
462 }
463 return false;
464 }
static bool IsContent(XContainer c, XNode n)

References System.Xml.XPath.XNodeNavigator._source, System.Xml.Dictionary, System.Xml.XPath.XNodeNavigator.IsContent(), and System.Xml.Linq.XNode.NextNode.