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