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

◆ MoveToNext() [3/3]

override bool System.Xml.DocumentXPathNavigator.MoveToNext ( XPathNodeType type)
inlinevirtual

Reimplemented from System.Xml.XPath.XPathNavigator.

Definition at line 1064 of file DocumentXPathNavigator.cs.

1065 {
1066 XmlNode xmlNode = NextSibling(_source);
1067 if (xmlNode == null)
1068 {
1069 return false;
1070 }
1071 if (xmlNode.IsText && _source.IsText)
1072 {
1074 if (xmlNode == null)
1075 {
1076 return false;
1077 }
1078 }
1080 if (contentKindMask == 0)
1081 {
1082 return false;
1083 }
1084 do
1085 {
1086 if (((1 << (int)xmlNode.XPNodeType) & contentKindMask) != 0)
1087 {
1088 _source = xmlNode;
1089 return true;
1090 }
1092 }
1093 while (xmlNode != null);
1094 return false;
1095 }
static int GetContentKindMask(XPathNodeType type)
virtual bool IsText
Definition XmlNode.cs:344

References System.Xml.DocumentXPathNavigator._source, System.Xml.Dictionary, System.Xml.XPath.XPathNavigator.GetContentKindMask(), System.Xml.XmlNode.IsText, System.Xml.DocumentXPathNavigator.NextSibling(), System.Xml.DocumentXPathNavigator.TextEnd(), and System.type.