1 write to _count
System.Linq.Parallel (1)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (1)
181
_count
= sharedIndices.Size;
6 references to _count
System.Linq.Parallel (6)
System\Linq\Parallel\QueryOperators\Unary\TakeOrSkipQueryOperator.cs (6)
198
if (_buffer == null &&
_count
> 0)
208
while (buffer.Count <
_count
&& _source.MoveNext(ref current!, ref index))
246
if (
_count
== 0 || _bufferIndex.Value >= _buffer.Count - 1)
265
if (
_count
> 0)
268
if (_sharedIndices.Count <
_count
)
298
Debug.Assert(
_count
<= 0 || _keyComparer.Compare(currentKey, minKey) > 0,