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

◆ MoveToNextNamespaceGlobal()

static bool System.Xml.DocumentXPathNavigator.MoveToNextNamespaceGlobal ( ref XmlAttributeCollection attributes,
ref int index )
inlinestaticprivate

Definition at line 611 of file DocumentXPathNavigator.cs.

612 {
613 if (MoveToNextNamespaceLocal(attributes, ref index))
614 {
615 return true;
616 }
617 for (XmlElement xmlElement = attributes.parent.ParentNode as XmlElement; xmlElement != null; xmlElement = xmlElement.ParentNode as XmlElement)
618 {
619 if (xmlElement.HasAttributes)
620 {
621 attributes = xmlElement.Attributes;
622 if (MoveToFirstNamespaceLocal(attributes, ref index))
623 {
624 return true;
625 }
626 }
627 }
628 return false;
629 }
static bool MoveToNextNamespaceLocal(XmlAttributeCollection attributes, ref int index)
static bool MoveToFirstNamespaceLocal(XmlAttributeCollection attributes, ref int index)

References System.Xml.Dictionary, System.index, System.Xml.DocumentXPathNavigator.MoveToFirstNamespaceLocal(), and System.Xml.DocumentXPathNavigator.MoveToNextNamespaceLocal().

Referenced by System.Xml.DocumentXPathNavigator.MoveToFirstNamespace(), and System.Xml.DocumentXPathNavigator.MoveToNextNamespace().