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

◆ MoveToFirstNamespace() [2/2]

override bool MS.Internal.Xml.Cache.XPathDocumentNavigator.MoveToFirstNamespace ( XPathNamespaceScope namespaceScope)
inline

Definition at line 225 of file XPathDocumentNavigator.cs.

226 {
227 XPathNode[] pageNmsp;
228 for (int num = ((namespaceScope != XPathNamespaceScope.Local) ? XPathNodeHelper.GetInScopeNamespaces(_pageCurrent, _idxCurrent, out pageNmsp) : XPathNodeHelper.GetLocalNamespaces(_pageCurrent, _idxCurrent, out pageNmsp)); num != 0; num = pageNmsp[num].GetSibling(out pageNmsp))
229 {
230 if (namespaceScope != XPathNamespaceScope.ExcludeXml || !pageNmsp[num].IsXmlNamespaceNode)
231 {
235 _idxCurrent = num;
236 return true;
237 }
238 }
239 return false;
240 }

References MS.Internal.Xml.Cache.XPathDocumentNavigator._idxCurrent, MS.Internal.Xml.Cache.XPathDocumentNavigator._idxParent, MS.Internal.Xml.Cache.XPathDocumentNavigator._pageCurrent, MS.Internal.Xml.Cache.XPathDocumentNavigator._pageParent, System.Xml.Dictionary, MS.Internal.Xml.Cache.XPathNodeHelper.GetInScopeNamespaces(), and MS.Internal.Xml.Cache.XPathNodeHelper.GetLocalNamespaces().