6 instantiations of XPathNodeRef
System.Private.Xml (6)
System\Xml\Cache\XPathDocumentBuilder.cs (2)
574
_stkNmsp.Push(new
XPathNodeRef
(_pageNmsp, _idxNmsp));
621
return new
XPathNodeRef
(pageNext, idxNext);
System\Xml\XPath\XPathDocument.cs (4)
389
_mapNmsp.Add(new
XPathNodeRef
(pageElem, idxElem), new
XPathNodeRef
(pageNmsp, idxNmsp));
397
XPathNodeRef nodeRef = new
XPathNodeRef
(pageElem, idxElem);
420
_idValueMap.Add(id, new
XPathNodeRef
(pageElem, idxElem));
14 references to XPathNodeRef
System.Private.Xml (14)
System\Xml\Cache\XPathDocumentBuilder.cs (6)
41
private readonly Stack<
XPathNodeRef
> _stkNmsp; // In-scope namespaces
59
private
XPathNodeRef
[] _elemNameIndex; // Elements with the same name are linked together so that they can be searched quickly
72
_stkNmsp = new Stack<
XPathNodeRef
>();
95
_elemNameIndex = new
XPathNodeRef
[ElementIndexSize];
213
XPathNodeRef
nodeRef;
615
private
XPathNodeRef
LinkSimilarElements(XPathNode[] pagePrev, int idxPrev, XPathNode[] pageNext, int idxNext)
System\Xml\XPath\XPathDocument.cs (8)
23
private Dictionary<
XPathNodeRef
,
XPathNodeRef
>? _mapNmsp;
24
private Dictionary<string,
XPathNodeRef
>? _idValueMap;
387
_mapNmsp ??= new Dictionary<
XPathNodeRef
,
XPathNodeRef
>();
397
XPathNodeRef
nodeRef = new XPathNodeRef(pageElem, idxElem);
417
_idValueMap ??= new Dictionary<string,
XPathNodeRef
>();
428
XPathNodeRef
nodeRef;