1 write to _source
System.Linq (1)
System\Linq\Select.SpeedOpt.cs (1)
859
_source
= source;
17 references to _source
System.Linq (17)
System\Linq\Select.SpeedOpt.cs (17)
866
new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, _minIndexInclusive, _maxIndexInclusive);
874
if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index <
_source
.Count - _minIndexInclusive)
876
_current = _selector(
_source
[_minIndexInclusive + index]);
886
new IListSkipTakeSelectIterator<TSource, TResult2>(
_source
, CombineSelectors(_selector, selector), _minIndexInclusive, _maxIndexInclusive);
892
return (uint)minIndex > (uint)_maxIndexInclusive ? null : new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, minIndex, _maxIndexInclusive);
899
return (uint)maxIndex >= (uint)_maxIndexInclusive ? this : new IListSkipTakeSelectIterator<TSource, TResult>(
_source
, _selector, _minIndexInclusive, maxIndex);
904
if ((uint)index <= (uint)(_maxIndexInclusive - _minIndexInclusive) && index <
_source
.Count - _minIndexInclusive)
907
return _selector(
_source
[_minIndexInclusive + index]);
916
if (
_source
.Count > _minIndexInclusive)
919
return _selector(
_source
[_minIndexInclusive]);
928
int lastIndex =
_source
.Count - 1;
932
return _selector(
_source
[Math.Min(lastIndex, _maxIndexInclusive)]);
943
int count =
_source
.Count;
962
Fill(
_source
, array, _selector, _minIndexInclusive);
976
Fill(
_source
, SetCountAndGetSpan(list, count), _selector, _minIndexInclusive);
1001
_selector(
_source
[i]);
1015
if (EqualityComparer<TResult>.Default.Equals(_selector(
_source
[i]), value))