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

◆ MoveToFirstNamespaceGlobal()

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

Definition at line 507 of file DocumentXPathNavigator.cs.

508 {
509 if (MoveToFirstNamespaceLocal(attributes, ref index))
510 {
511 return true;
512 }
513 for (XmlElement xmlElement = attributes.parent.ParentNode as XmlElement; xmlElement != null; xmlElement = xmlElement.ParentNode as XmlElement)
514 {
515 if (xmlElement.HasAttributes)
516 {
517 attributes = xmlElement.Attributes;
518 if (MoveToFirstNamespaceLocal(attributes, ref index))
519 {
520 return true;
521 }
522 }
523 }
524 return false;
525 }
static bool MoveToFirstNamespaceLocal(XmlAttributeCollection attributes, ref int index)

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

Referenced by System.Xml.DocumentXPathNavigator.MoveToFirstNamespace().