24 writes to currentNode
System.Xml (24)
System\Xml\XPath\Internal\AttributeQuery.cs (2)
30
currentNode
= qyInput.Advance();
35
currentNode
= currentNode.Clone();
System\Xml\XPath\Internal\BaseAxisQuery.cs (2)
53
this.
currentNode
= other.currentNode;
58
currentNode
= null; // After this current will not point to context node from Evaluate() call
System\Xml\XPath\Internal\CacheChildrenQuery.cs (3)
62
currentNode
= GetNextInput();
71
currentNode
= elementStk .Pop();
106
currentNode
= nextInput;
System\Xml\XPath\Internal\ChildrenQuery.cs (1)
48
currentNode
= iterator.Current;
System\Xml\XPath\Internal\DescendantoverDescendantQuery.cs (2)
35
currentNode
= qyInput.Advance();
44
currentNode
= currentNode.Clone();
System\Xml\XPath\Internal\DescendantQuery.cs (1)
50
currentNode
= nodeIterator.Current;
System\Xml\XPath\Internal\FilterQuery.cs (1)
50
while ((
currentNode
= qyInput.Advance()) != null) {
System\Xml\XPath\Internal\FollowingQuery.cs (1)
66
currentNode
= iterator.Current;
System\Xml\XPath\Internal\FollowingSibling.cs (4)
71
currentNode
= nextInput;
74
currentNode
= elementStk.Pop();
80
currentNode
= nextInput;
93
currentNode
= null;
System\Xml\XPath\Internal\GroupQuery.cs (1)
21
currentNode
= qyInput.Advance();
System\Xml\XPath\Internal\NamespaceQuery.cs (2)
31
currentNode
= qyInput.Advance();
36
currentNode
= currentNode.Clone();
System\Xml\XPath\Internal\PrecedingQuery.cs (2)
71
currentNode
= workIterator.Current;
75
currentNode
= null;
System\Xml\XPath\Internal\PrecedingSibling.cs (1)
51
while ((
currentNode
= qyInput.Advance()) != null) {
System\Xml\XPath\Internal\XPathSelfQuery.cs (1)
19
while ((
currentNode
= qyInput.Advance()) != null) {
50 references to currentNode
System.Xml (50)
System\Xml\XPath\Internal\AttributeQuery.cs (7)
31
if (
currentNode
== null) {
35
currentNode =
currentNode
.Clone();
36
onAttribute =
currentNode
.MoveToFirstAttribute();
38
onAttribute =
currentNode
.MoveToNextAttribute();
42
Debug.Assert(!
currentNode
.NamespaceURI.Equals(XmlReservedNs.NsXmlNs));
43
if (matches(
currentNode
)) {
45
return
currentNode
;
System\Xml\XPath\Internal\BaseAxisQuery.cs (2)
53
this.currentNode = other.
currentNode
;
76
public override XPathNavigator Current { get { return
currentNode
; } }
System\Xml\XPath\Internal\CacheChildrenQuery.cs (8)
63
if (
currentNode
== null) {
66
if (!
currentNode
.MoveToFirstChild()) {
79
if (!
currentNode
.MoveToNext() || !DecideNextNode()) {
93
if (matches(
currentNode
)) {
95
return
currentNode
;
103
if (CompareNodes(
currentNode
, nextInput) == XmlNodeOrder.After) {
104
elementStk .Push(
currentNode
);
108
if (!
currentNode
.MoveToFirstChild()) {
System\Xml\XPath\Internal\ChildrenQuery.cs (1)
49
return
currentNode
;
System\Xml\XPath\Internal\DescendantoverDescendantQuery.cs (9)
37
if (
currentNode
== null) {
40
if (matchSelf && matches(
currentNode
)) {
42
return
currentNode
;
44
currentNode =
currentNode
.Clone();
54
if (matches(
currentNode
)) {
56
return
currentNode
;
63
if (
currentNode
.MoveToFirstChild()) {
71
while (!
currentNode
.MoveToNext()) {
76
bool result =
currentNode
.MoveToParent();
System\Xml\XPath\Internal\DescendantQuery.cs (1)
51
return
currentNode
;
System\Xml\XPath\Internal\FilterQuery.cs (1)
53
return
currentNode
;
System\Xml\XPath\Internal\FollowingQuery.cs (1)
67
return
currentNode
;
System\Xml\XPath\Internal\FollowingSibling.cs (6)
63
if (
currentNode
== null) {
78
while (
currentNode
.IsDescendant(nextInput)) {
79
elementStk.Push(
currentNode
);
87
while (
currentNode
.MoveToNext()) {
88
if (matches(
currentNode
)) {
90
return
currentNode
;
System\Xml\XPath\Internal\GroupQuery.cs (2)
22
if (
currentNode
!= null) {
25
return
currentNode
;
System\Xml\XPath\Internal\NamespaceQuery.cs (6)
32
if (
currentNode
== null) {
36
currentNode =
currentNode
.Clone();
37
onNamespace =
currentNode
.MoveToFirstNamespace();
39
onNamespace =
currentNode
.MoveToNextNamespace();
43
if (matches(
currentNode
)) {
45
return
currentNode
;
System\Xml\XPath\Internal\PrecedingQuery.cs (3)
72
if (
currentNode
.IsSamePosition(ancestorStk.Peek())) {
82
if (matches(
currentNode
)) {
84
return
currentNode
;
System\Xml\XPath\Internal\PrecedingSibling.cs (1)
52
inputStk.Push(
currentNode
.Clone());
System\Xml\XPath\Internal\XPathSelfQuery.cs (2)
20
if (matches(
currentNode
)) {
22
return
currentNode
;