1 write to _source
System.Linq (1)
System\Linq\Select.SpeedOpt.cs (1)
798
_source
= source;
16 references to _source
System.Linq (16)
System\Linq\Select.SpeedOpt.cs (16)
805
new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, _minIndexInclusive, _maxIndexInclusive);
813
if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index <
_source
.Count - _minIndexInclusive)
815
_current = _selector(
_source
[_minIndexInclusive + index]);
825
new IListSkipTakeSelectIterator<TSource, TResult2>(
_source
, CombineSelectors(_selector, selector), _minIndexInclusive, _maxIndexInclusive);
831
return (uint)minIndex > (uint)_maxIndexInclusive ? null : new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, minIndex, _maxIndexInclusive);
838
return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, _minIndexInclusive, maxIndex);
843
if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index <
_source
.Count - _minIndexInclusive)
846
return _selector(
_source
[_minIndexInclusive + index]);
855
if (
_source
.Count > _minIndexInclusive)
858
return _selector(
_source
[_minIndexInclusive]);
867
int lastIndex =
_source
.Count - 1;
871
return _selector(
_source
[Math.Min(lastIndex, _maxIndexInclusive)]);
882
int count =
_source
.Count;
901
Fill(
_source
, array, _selector, _minIndexInclusive);
915
Fill(
_source
, SetCountAndGetSpan(list, count), _selector, _minIndexInclusive);
940
_selector(
_source
[i]);