120 references to XPathNode
System.Private.Xml (120)
System\Xml\Cache\XPathDocumentBuilder.cs (23)
48private XPathNode[] _pageNmsp; // Page of last in-scope namespace node 50private XPathNode[]? _pageParent; // Page of last parent-type node (Element or Root) 52private XPathNode[]? _pageSibling; // Page of previous sibling node (may be null if no previous sibling) 88XPathNode[] page; 232if (posDiff < 0 || posDiff > XPathNode.MaxCollapsedPositionOffset) 436XPathNode[]? page; 491XPathNode[] pageTemp, pageNew, pageCopy; 492XPathNode[]? pageOverride, pageOrig; 615private XPathNodeRef LinkSimilarElements(XPathNode[] pagePrev, int idxPrev, XPathNode[] pageNext, int idxNext) 627private int NewNamespaceNode(out XPathNode[] page, string prefix, string? namespaceUri, XPathNode[]? pageElem, int idxElem) 629XPathNode[] pageNode; 657private int NewNode(out XPathNode[] page, XPathNodeType xptyp, string localName, string namespaceUri, string prefix, string? baseUri) 659XPathNode[] pageNode; 711if (lineNumOffset < 0 || lineNumOffset > XPathNode.MaxLineNumberOffset) 718if (linePosOffset < 0 || linePosOffset > XPathNode.MaxLinePositionOffset) 732XPathNode[] pageNew; 790private XPathNode[] _page; 801_page = new XPathNode[_pageSize]; 809public XPathNode[] NextNodePage 826public void AllocateSlot(out XPathNode[] page, out int idx) 839_page = new XPathNode[_pageSize];
System\Xml\Cache\XPathDocumentNavigator.cs (17)
19private XPathNode[] _pageCurrent; 20private XPathNode[]? _pageParent; 34public XPathDocumentNavigator(XPathNode[]? pageCurrent, int idxCurrent, XPathNode[]? pageParent, int idxParent) 68XPathNode[] page; 69XPathNode[]? pageEnd; 199XPathNode[]? page; 257XPathNode[] page = _pageCurrent; 295XPathNode[] page = _pageCurrent; 318XPathNode[]? page; 357XPathNode[]? page = _pageCurrent, pageParent; 488XPathNode[]? page; 609XPathNode[]? pageEnd; 644XPathNode[] page; 645XPathNode[]? pageEnd; 819XPathNode[]? pageThat; 1026private int GetFollowingEnd(XPathDocumentNavigator? end, bool useParentOfVirtual, out XPathNode[]? pageEnd)
System\Xml\Cache\XPathNode.cs (9)
170public int GetRoot(out XPathNode[] pageNode) 180public int GetParent(out XPathNode[]? pageNode) 189public int GetSibling(out XPathNode[]? pageNode) 199public int GetSimilarElement(out XPathNode[]? pageNode) 437public void SetSibling(XPathNodeInfoTable infoTable, XPathNode[] pageSibling, int idxSibling) 456public void SetSimilarElement(XPathNodeInfoTable infoTable, XPathNode[] pageSimilar, int idxSimilar) 479private readonly XPathNode[] _page; 482public XPathNodeRef(XPathNode[] page, int idx) 488public XPathNode[] Page
System\Xml\Cache\XPathNodeHelper.cs (38)
21public static int GetLocalNamespaces(XPathNode[] pageElem, int idxElem, out XPathNode[]? pageNmsp) 38public static int GetInScopeNamespaces(XPathNode[] pageElem, int idxElem, out XPathNode[]? pageNmsp) 68public static bool GetFirstAttribute(ref XPathNode[] pageNode, ref int idxNode) 85public static bool GetNextAttribute(ref XPathNode[] pageNode, ref int idxNode) 87XPathNode[]? page; 105public static bool GetContentChild(ref XPathNode[] pageNode, ref int idxNode) 107XPathNode[]? page = pageNode; 134public static bool GetContentSibling(ref XPathNode[] pageNode, ref int idxNode) 136XPathNode[]? page = pageNode; 157public static bool GetParent(ref XPathNode[] pageNode, ref int idxNode) 159XPathNode[]? page = pageNode; 177public static int GetLocation(XPathNode[] pageNode, int idxNode) 190public static bool GetElementChild(ref XPathNode[] pageNode, ref int idxNode, string? localName, string namespaceName) 192XPathNode[]? page = pageNode; 224public static bool GetElementSibling(ref XPathNode[] pageNode, ref int idxNode, string? localName, string namespaceName) 226XPathNode[]? page = pageNode; 256public static bool GetContentChild(ref XPathNode[] pageNode, ref int idxNode, XPathNodeType typ) 258XPathNode[]? page = pageNode; 294public static bool GetContentSibling(ref XPathNode[] pageNode, ref int idxNode, XPathNodeType typ) 296XPathNode[]? page = pageNode; 327public static bool GetPreviousContentSibling(ref XPathNode[] pageNode, ref int idxNode) 329XPathNode[]? pageParent, pagePrec, pageAnc; 390public static bool GetAttribute(ref XPathNode[] pageNode, ref int idxNode, string? localName, string namespaceName) 392XPathNode[]? page = pageNode; 424public static bool GetElementFollowing(ref XPathNode[] pageCurrent, ref int idxCurrent, XPathNode[]? pageEnd, int idxEnd, string? localName, string namespaceName) 426XPathNode[]? page = pageCurrent; 522public static bool GetContentFollowing(ref XPathNode[] pageCurrent, ref int idxCurrent, XPathNode[]? pageEnd, int idxEnd, XPathNodeType typ) 524XPathNode[]? page = pageCurrent; 581public static bool GetTextFollowing(ref XPathNode[] pageCurrent, ref int idxCurrent, XPathNode[]? pageEnd, int idxEnd) 583XPathNode[]? page = pageCurrent; 633public static bool GetNonDescendant(ref XPathNode[] pageNode, ref int idxNode) 635XPathNode[]? page = pageNode; 660private static void GetChild(ref XPathNode[] pageNode, ref int idxNode)
System\Xml\Cache\XPathNodeInfoAtom.cs (20)
21private readonly XPathNode[]? _pagePrev; 22private XPathNode[]? _pageNext; 27public XPathNodePageInfo(XPathNode[]? pagePrev, int pageNum) 54public XPathNode[]? PreviousPage 62public XPathNode[]? NextPage 85private XPathNode[]? _pageParent; 86private XPathNode[]? _pageSibling; 87private XPathNode[]? _pageSimilar; 110XPathNode[]? pageParent, XPathNode[]? pageSibling, XPathNode[]? pageSimilar, 120XPathNode[]? pageParent, XPathNode[]? pageSibling, XPathNode[]? pageSimilar, 187public XPathNode[]? SiblingPage 195public XPathNode[]? SimilarElementPage 203public XPathNode[]? ParentPage 405XPathNode[]? pageParent, XPathNode[]? pageSibling, XPathNode[]? pageSimilar,
System\Xml\XPath\XPathDocument.cs (13)
19private XPathNode[]? _pageText, _pageRoot, _pageXmlNmsp; 328internal int GetCollapsedTextNode(out XPathNode[]? pageText) 337internal void SetCollapsedTextNode(XPathNode[] pageText, int idxText) 347internal int GetRootNode(out XPathNode[]? pageRoot) 356internal void SetRootNode(XPathNode[] pageRoot, int idxRoot) 365internal int GetXmlNamespaceNode(out XPathNode[]? pageXmlNmsp) 374internal void SetXmlNamespaceNode(XPathNode[] pageXmlNmsp, int idxXmlNmsp) 383internal void AddNamespace(XPathNode[] pageElem, int idxElem, XPathNode[] pageNmsp, int idxNmsp) 395internal int LookupNamespaces(XPathNode[] pageElem, int idxElem, out XPathNode[]? pageNmsp) 415internal void AddIdElement(string id, XPathNode[] pageElem, int idxElem) 426internal int LookupIdElement(string id, out XPathNode[]? pageElem)