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

◆ PathHasDuplicateNamespace()

bool System.Xml.DocumentXPathNavigator.PathHasDuplicateNamespace ( XmlElement top,
XmlElement bottom,
string localName )
inlineprivate

Definition at line 631 of file DocumentXPathNavigator.cs.

632 {
633 XmlElement xmlElement = bottom;
634 string strReservedXmlns = _document.strReservedXmlns;
635 while (xmlElement != null && xmlElement != top)
636 {
637 XmlAttribute attributeNode = xmlElement.GetAttributeNode(localName, strReservedXmlns);
638 if (attributeNode != null)
639 {
640 return true;
641 }
643 }
644 return false;
645 }

References System.Xml.DocumentXPathNavigator._document, System.Xml.Dictionary, and System.Xml.XmlDocument.strReservedXmlns.

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