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

◆ IndexInParent

uint System.Xml.XPath.XPathNavigator.IndexInParent
getpackageinherited

Definition at line 560 of file XPathNavigator.cs.

561 {
562 get
563 {
564 XPathNavigator xPathNavigator = Clone();
565 uint num = 0u;
566 XPathNodeType nodeType = NodeType;
567 if (nodeType != XPathNodeType.Attribute)
568 {
569 if (nodeType == XPathNodeType.Namespace)
570 {
571 while (xPathNavigator.MoveToNextNamespace())
572 {
573 num++;
574 }
575 }
576 else
577 {
578 while (xPathNavigator.MoveToNext())
579 {
580 num++;
581 }
582 }
583 }
584 else
585 {
586 while (xPathNavigator.MoveToNextAttribute())
587 {
588 num++;
589 }
590 }
591 return num;
592 }
593 }