1 write to _selector
System.Linq (1)
System\Linq\Select.cs (1)
165
_selector
= selector;
11 references to _selector
System.Linq (11)
System\Linq\Select.cs (3)
170
private protected override Iterator<TResult> Clone() => new ArraySelectIterator<TSource, TResult>(_source,
_selector
);
179
_current =
_selector
(source[index]);
188
new ArraySelectIterator<TSource, TResult2>(_source, CombineSelectors(
_selector
, selector));
System\Linq\Select.SpeedOpt.cs (8)
147
Fill(source, results,
_selector
);
158
Fill(source, SetCountAndGetSpan(results, source.Length),
_selector
);
180
_selector
(item);
195
return new IListSkipTakeSelectIterator<TSource, TResult>(_source,
_selector
, count, int.MaxValue);
203
new IListSkipTakeSelectIterator<TSource, TResult>(_source,
_selector
, 0, count - 1);
212
return
_selector
(source[index]);
224
return
_selector
(_source[0]);
232
return
_selector
(_source[^1]);