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