24 writes to currentNode
dotnet-svcutil-lib (24)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\AttributeQuery.cs (2)
34
currentNode
= qyInput.Advance();
40
currentNode
= currentNode.Clone();
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\baseaxisquery.cs (2)
55
this.
currentNode
= other.currentNode;
61
currentNode
= null; // After this current will not point to context node from Evaluate() call
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\CacheChildrenQuery.cs (3)
68
currentNode
= GetNextInput();
81
currentNode
= _elementStk.Pop();
126
currentNode
= _nextInput;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ChildrenQuery.cs (1)
58
currentNode
= _iterator.Current;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\DescendantOverDescendantQuery.cs (2)
40
currentNode
= qyInput.Advance();
51
currentNode
= currentNode.Clone();
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\DescendantQuery.cs (1)
62
currentNode
= _nodeIterator.Current;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\FilterQuery.cs (1)
56
while ((
currentNode
= qyInput.Advance()) != null)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\followingquery.cs (1)
80
currentNode
= _iterator.Current;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\followingsibling.cs (4)
85
currentNode
= _nextInput;
90
currentNode
= _elementStk.Pop();
97
currentNode
= _nextInput;
113
currentNode
= null;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\GroupQuery.cs (1)
20
currentNode
= qyInput.Advance();
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NamespaceQuery.cs (2)
35
currentNode
= qyInput.Advance();
41
currentNode
= currentNode.Clone();
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingquery.cs (2)
81
currentNode
= _workIterator.Current;
87
currentNode
= null;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingsibling.cs (1)
53
while ((
currentNode
= qyInput.Advance()) != null)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathSelfQuery.cs (1)
19
while ((
currentNode
= qyInput.Advance()) != null)
53 references to currentNode
dotnet-svcutil-lib (53)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\AttributeQuery.cs (7)
35
if (
currentNode
== null)
40
currentNode =
currentNode
.Clone();
41
_onAttribute =
currentNode
.MoveToFirstAttribute();
45
_onAttribute =
currentNode
.MoveToNextAttribute();
50
Debug.Assert(!
currentNode
.NamespaceURI.Equals(XmlReservedNs.NsXmlNs));
51
if (matches(
currentNode
))
54
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\baseaxisquery.cs (2)
55
this.currentNode = other.
currentNode
;
80
public override XPathNavigator Current { get { return
currentNode
; } }
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\CacheChildrenQuery.cs (11)
69
if (
currentNode
== null)
73
if (!
currentNode
.MoveToFirstChild())
92
if (!
currentNode
.MoveToNext() || !DecideNextNode())
101
if (
currentNode
.GetType().ToString() == "Microsoft.VisualStudio.Modeling.StoreNavigator")
103
XmlNodeOrder order = CompareNodes(_lastNode,
currentNode
);
107
_lastNode =
currentNode
.Clone();
109
if (matches(
currentNode
))
112
return
currentNode
;
122
if (CompareNodes(
currentNode
, _nextInput) == XmlNodeOrder.After)
124
_elementStk.Push(
currentNode
);
128
if (!
currentNode
.MoveToFirstChild())
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ChildrenQuery.cs (1)
59
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\DescendantOverDescendantQuery.cs (9)
42
if (
currentNode
== null)
46
if (matchSelf && matches(
currentNode
))
49
return
currentNode
;
51
currentNode =
currentNode
.Clone();
66
if (matches(
currentNode
))
69
return
currentNode
;
77
if (
currentNode
.MoveToFirstChild())
87
while (!
currentNode
.MoveToNext())
94
bool result =
currentNode
.MoveToParent();
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\DescendantQuery.cs (1)
63
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\FilterQuery.cs (1)
61
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\followingquery.cs (1)
81
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\followingsibling.cs (6)
73
if (
currentNode
== null)
94
while (
currentNode
.IsDescendant(_nextInput))
96
_elementStk.Push(
currentNode
);
105
while (
currentNode
.MoveToNext())
107
if (matches(
currentNode
))
110
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\GroupQuery.cs (2)
21
if (
currentNode
!= null)
25
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\NamespaceQuery.cs (6)
36
if (
currentNode
== null)
41
currentNode =
currentNode
.Clone();
42
_onNamespace =
currentNode
.MoveToFirstNamespace();
46
_onNamespace =
currentNode
.MoveToNextNamespace();
51
if (matches(
currentNode
))
54
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingquery.cs (3)
82
if (
currentNode
.IsSamePosition(_ancestorStk.Peek()))
94
if (matches(
currentNode
))
97
return
currentNode
;
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingsibling.cs (1)
55
inputStk.Push(
currentNode
.Clone());
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathSelfQuery.cs (2)
21
if (matches(
currentNode
))
24
return
currentNode
;