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

◆ GetNextNamespaceDeclarationLocal()

static XAttribute System.Xml.XPath.XNodeNavigator.GetNextNamespaceDeclarationLocal ( XAttribute a)
inlinestaticprivate

Definition at line 739 of file XNodeNavigator.cs.

740 {
741 XElement parent = a.Parent;
742 if (parent == null)
743 {
744 return null;
745 }
747 for (xAttribute = xAttribute.NextAttribute; xAttribute != null; xAttribute = xAttribute.NextAttribute)
748 {
749 if (xAttribute.IsNamespaceDeclaration)
750 {
751 return xAttribute;
752 }
753 }
754 return null;
755 }

References System.Xml.Dictionary, and System.Xml.Linq.XObject.Parent.

Referenced by System.Xml.XPath.XNodeNavigator.GetNextNamespaceDeclarationGlobal(), and System.Xml.XPath.XNodeNavigator.MoveToNextNamespace().