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