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

◆ IsDescendant()

virtual bool System.Xml.XPath.XPathNavigator.IsDescendant ( [NotNullWhen(true)] XPathNavigator? nav)
inlinevirtualinherited

Definition at line 1116 of file XPathNavigator.cs.

1117 {
1118 if (nav != null)
1119 {
1120 nav = nav.Clone();
1121 while (nav.MoveToParent())
1122 {
1123 if (nav.IsSamePosition(this))
1124 {
1125 return true;
1126 }
1127 }
1128 }
1129 return false;
1130 }

References System.Xml.XPath.XPathNavigator.Clone(), System.Xml.XPath.XPathNavigator.IsSamePosition(), and System.Xml.XPath.XPathNavigator.MoveToParent().

Referenced by MS.Internal.Xml.XPath.FollowingQuery.Advance(), MS.Internal.Xml.XPath.FollSiblingQuery.Advance(), System.Xml.Xsl.Runtime.DescendantMergeIterator.MoveNext(), and System.Xml.Xsl.Runtime.XPathFollowingMergeIterator.MoveNext().