25 writes to count
System.Private.Xml (25)
System\Xml\XPath\Internal\AbsoluteQuery.cs (1)
19count = 0;
System\Xml\XPath\Internal\CacheAxisQuery.cs (4)
18this.count = 0; 23this.count = other.count; 28this.count = 0; 43return outputBuffer[count++];
System\Xml\XPath\Internal\CacheOutputQuery.cs (5)
22this.count = 0; 28this.count = other.count; 33this.count = 0; 44count = 0; 54return outputBuffer[count++];
System\Xml\XPath\Internal\ContextQuery.cs (4)
14this.count = 0; 24count = 0; 32count = 0; 40count = 1;
System\Xml\XPath\Internal\Query.cs (2)
46count = 0; 47while (clone.MoveNext()) count++;
System\Xml\XPath\Internal\ResettableIterator.cs (3)
13base.count = -1; 17base.count = other.count; 21base.count = -1;
System\Xml\XPath\Internal\SortQuery.cs (5)
26count = 0; 33count = 0; 36public override void Reset() { count = 0; } 76count = 0; 85return _results[count++].Node;
System\Xml\XPath\XPathNodeIterator.cs (1)
28count = clone.CurrentPosition;
35 references to count
System.Private.Xml (35)
System\Xml\XPath\Internal\CacheAxisQuery.cs (9)
23this.count = other.count; 40Debug.Assert(0 <= count && count <= outputBuffer.Count); 41if (count < outputBuffer.Count) 52Debug.Assert(0 <= count && count <= outputBuffer.Count); 53if (count == 0) 57return outputBuffer[count - 1]; 61public override int CurrentPosition { get { return count; } }
System\Xml\XPath\Internal\CacheOutputQuery.cs (9)
28this.count = other.count; 51Debug.Assert(0 <= count && count <= outputBuffer.Count); 52if (count < outputBuffer.Count) 63Debug.Assert(0 <= count && count <= outputBuffer.Count); 64if (count == 0) 68return outputBuffer[count - 1]; 73public override int CurrentPosition { get { return count; } }
System\Xml\XPath\Internal\ContextQuery.cs (2)
38if (count == 0) 54public override int CurrentPosition { get { return count; } }
System\Xml\XPath\Internal\Query.cs (2)
42if (count == -1) 49return count;
System\Xml\XPath\Internal\ResettableIterator.cs (1)
17base.count = other.count;
System\Xml\XPath\Internal\ReversePositionQuery.cs (1)
14public override int CurrentPosition { get { return outputBuffer.Count - count + 1; } }
System\Xml\XPath\Internal\SortQuery.cs (8)
82Debug.Assert(0 <= count && count <= _results.Count); 83if (count < _results.Count) 94Debug.Assert(0 <= count && count <= _results.Count); 95if (count == 0) 99return _results[count - 1].Node; 111public override int CurrentPosition { get { return count; } }
System\Xml\XPath\Internal\XPathAncestorQuery.cs (1)
61public override int CurrentPosition { get { return outputBuffer.Count - count + 1; } }
System\Xml\XPath\XPathNodeIterator.cs (2)
24if (count == -1) 30return count;