1 write to _minIndexInclusive
System.Linq (1)
System\Linq\SkipTake.SpeedOpt.cs (1)
28_minIndexInclusive = minIndexInclusive;
23 references to _minIndexInclusive
System.Linq (23)
System\Linq\SkipTake.SpeedOpt.cs (23)
33new IListSkipTakeIterator<TSource>(_source, _minIndexInclusive, _maxIndexInclusive); 41if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 43_current = _source[_minIndexInclusive + index]; 53new IListSkipTakeSelectIterator<TSource, TResult>(_source, selector, _minIndexInclusive, _maxIndexInclusive); 57int minIndex = _minIndexInclusive + count; 63int maxIndex = _minIndexInclusive + count - 1; 64return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeIterator<TSource>(_source, _minIndexInclusive, maxIndex); 69if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index < _source.Count - _minIndexInclusive) 72return _source[_minIndexInclusive + index]; 81if (_source.Count > _minIndexInclusive) 84return _source[_minIndexInclusive]; 94if (lastIndex >= _minIndexInclusive) 109if (count <= _minIndexInclusive) 114return Math.Min(count - 1, _maxIndexInclusive) - _minIndexInclusive + 1; 129Fill(_source, array, _minIndexInclusive); 140Fill(_source, SetCountAndGetSpan(list, count), _minIndexInclusive); 147Fill(_source, array.AsSpan(arrayIndex, Count), _minIndexInclusive); 163int end = _minIndexInclusive + Count; 164for (int i = _minIndexInclusive; i < end; i++) 168return i - _minIndexInclusive; 184return _source[_minIndexInclusive + index];