1 write to _source
System.Linq (1)
System\Linq\Select.SpeedOpt.cs (1)
854
_source
= source;
17 references to _source
System.Linq (17)
System\Linq\Select.SpeedOpt.cs (17)
861
new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, _minIndexInclusive, _maxIndexInclusive);
869
if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index <
_source
.Count - _minIndexInclusive)
871
_current = _selector(
_source
[_minIndexInclusive + index]);
881
new IListSkipTakeSelectIterator<TSource, TResult2>(
_source
, CombineSelectors(_selector, selector), _minIndexInclusive, _maxIndexInclusive);
887
return (uint)minIndex > (uint)_maxIndexInclusive ? null : new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, minIndex, _maxIndexInclusive);
894
return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, _minIndexInclusive, maxIndex);
899
if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index <
_source
.Count - _minIndexInclusive)
902
return _selector(
_source
[_minIndexInclusive + index]);
911
if (
_source
.Count > _minIndexInclusive)
914
return _selector(
_source
[_minIndexInclusive]);
923
int lastIndex =
_source
.Count - 1;
927
return _selector(
_source
[Math.Min(lastIndex, _maxIndexInclusive)]);
938
int count =
_source
.Count;
957
Fill(
_source
, array, _selector, _minIndexInclusive);
971
Fill(
_source
, SetCountAndGetSpan(list, count), _selector, _minIndexInclusive);
996
_selector(
_source
[i]);
1010
if (EqualityComparer<TResult>.Default.Equals(_selector(
_source
[i]), value))