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)
198if (_buffer == null && _count > 0) 208while (buffer.Count < _count && _source.MoveNext(ref current!, ref index)) 246if (_count == 0 || _bufferIndex.Value >= _buffer.Count - 1) 265if (_count > 0) 268if (_sharedIndices.Count < _count) 298Debug.Assert(_count <= 0 || _keyComparer.Compare(currentKey, minKey) > 0,