1 write to _maxIndexInclusive
System.Linq (1)
System\Linq\SkipTake.SpeedOpt.cs (1)
29_maxIndexInclusive = maxIndexInclusive;
9 references to _maxIndexInclusive
System.Linq (9)
System\Linq\SkipTake.SpeedOpt.cs (9)
33new IListSkipTakeIterator<TSource>(_source, _minIndexInclusive, _maxIndexInclusive); 41if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 53new IListSkipTakeSelectIterator<TSource, TResult>(_source, selector, _minIndexInclusive, _maxIndexInclusive); 58return (uint)minIndex > (uint)_maxIndexInclusive ? null : new IListSkipTakeIterator<TSource>(_source, minIndex, _maxIndexInclusive); 64return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeIterator<TSource>(_source, _minIndexInclusive, maxIndex); 69if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 97return _source[Math.Min(lastIndex, _maxIndexInclusive)]; 114return Math.Min(count - 1, _maxIndexInclusive) - _minIndexInclusive + 1;