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

◆ MoveToNextAttribute()

override bool System.Xml.DocumentXPathNavigator.MoveToNextAttribute ( )
inline

Definition at line 336 of file DocumentXPathNavigator.cs.

337 {
338 if (!(_source is XmlAttribute { IsNamespace: false } xmlAttribute))
339 {
340 return false;
341 }
343 {
344 return false;
345 }
346 for (int i = _attributeIndex + 1; i < attributes.Count; i++)
347 {
348 XmlAttribute xmlAttribute2 = attributes[i];
349 if (!xmlAttribute2.IsNamespace)
350 {
353 return true;
354 }
355 }
356 return false;
357 }
static bool ResetAttributePosition(XmlAttribute attribute, [NotNullWhen(true)] XmlAttributeCollection attributes, out int index)
static bool CheckAttributePosition(XmlAttribute attribute, [NotNullWhen(true)] out XmlAttributeCollection attributes, int index)

References System.Xml.DocumentXPathNavigator._attributeIndex, System.Xml.DocumentXPathNavigator._source, System.Xml.DocumentXPathNavigator.CheckAttributePosition(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Dictionary, and System.Xml.DocumentXPathNavigator.ResetAttributePosition().