1 write to _source
System.Linq (1)
System\Linq\Select.cs (1)
257_source = source;
18 references to _source
System.Linq (18)
System\Linq\Select.cs (4)
261private int CountForDebugger => _source.Count; 263private protected override Iterator<TResult> Clone() => new IListSelectIterator<TSource, TResult>(_source, _selector); 270_enumerator = _source.GetEnumerator(); 300new IListSelectIterator<TSource, TResult2>(_source, CombineSelectors(_selector, selector));
System\Linq\Select.SpeedOpt.cs (14)
469int count = _source.Count; 476Fill(_source, results, _selector); 483IList<TSource> source = _source; 484int count = _source.Count; 505int count = _source.Count; 511_selector(_source[i]); 521return new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, count, int.MaxValue); 527return new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, 0, count - 1); 532if ((uint)index < (uint)_source.Count) 535return _selector(_source[index]); 544if (_source.Count != 0) 547return _selector(_source[0]); 556int len = _source.Count; 560return _selector(_source[len - 1]);