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