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

◆ IsFollowingSibling()

static bool System.Xml.DocumentXPathNavigator.IsFollowingSibling ( XmlNode left,
[NotNullWhen(true)] XmlNode right )
inlinestaticpackage

Definition at line 1850 of file DocumentXPathNavigator.cs.

1851 {
1852 XmlNode xmlNode = left;
1853 while (true)
1854 {
1855 xmlNode = xmlNode.NextSibling;
1856 if (xmlNode == null)
1857 {
1858 break;
1859 }
1860 if (xmlNode == right)
1861 {
1862 return true;
1863 }
1864 }
1865 return false;
1866 }

Referenced by System.Xml.DocumentXmlWriter.CloseWithReplaceToFollowingSibling(), System.Xml.DocumentXPathNavigator.DeleteRange(), and System.Xml.DocumentXPathNavigator.ReplaceRange().