1 write to _source
System.Linq (1)
System\Linq\SkipTake.SpeedOpt.cs (1)
27_source = source;
18 references to _source
System.Linq (18)
System\Linq\SkipTake.SpeedOpt.cs (18)
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); 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) 72return _source[_minIndexInclusive + index]; 81if (_source.Count > _minIndexInclusive) 84return _source[_minIndexInclusive]; 93int lastIndex = _source.Count - 1; 97return _source[Math.Min(lastIndex, _maxIndexInclusive)]; 108int count = _source.Count; 129Fill(_source, array, _minIndexInclusive); 140Fill(_source, SetCountAndGetSpan(list, count), _minIndexInclusive); 147Fill(_source, array.AsSpan(arrayIndex, Count), _minIndexInclusive); 161IList<TSource> source = _source; 184return _source[_minIndexInclusive + index];