1 write to _maxIndexInclusive
System.Linq (1)
System\Linq\SkipTake.SpeedOpt.cs (1)
224_maxIndexInclusive = maxIndexInclusive;
8 references to _maxIndexInclusive
System.Linq (8)
System\Linq\SkipTake.SpeedOpt.cs (8)
229private bool HasLimit => _maxIndexInclusive != -1; 231private int Limit => _maxIndexInclusive + 1 - _minIndexInclusive; // This is that upper bound. 234new IEnumerableSkipTakeIterator<TSource>(_source, _minIndexInclusive, _maxIndexInclusive); 272uint count = SkipAndCount((uint)_maxIndexInclusive + 1, en); 341else if ((uint)minIndex > (uint)_maxIndexInclusive) 350return new IEnumerableSkipTakeIterator<TSource>(_source, minIndex, _maxIndexInclusive); 369else if ((uint)maxIndex >= (uint)_maxIndexInclusive) 437iterator.TryGetElementAt(_maxIndexInclusive, out found);