1 write to _source
System.Linq (1)
System\Linq\Select.cs (1)
269_source = source;
20 references to _source
System.Linq (20)
System\Linq\Select.cs (4)
273private int CountForDebugger => _source.Count; 275private protected override Iterator<TResult> Clone() => new IListSelectIterator<TSource, TResult>(_source, _selector); 282_enumerator = _source.GetEnumerator(); 312new IListSelectIterator<TSource, TResult2>(_source, CombineSelectors(_selector, selector));
System\Linq\Select.SpeedOpt.cs (16)
510int count = _source.Count; 517Fill(_source, results, _selector); 524IList<TSource> source = _source; 525int count = _source.Count; 546int count = _source.Count; 552_selector(_source[i]); 562return new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, count, int.MaxValue); 568return new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, 0, count - 1); 573if ((uint)index < (uint)_source.Count) 576return _selector(_source[index]); 585if (_source.Count != 0) 588return _selector(_source[0]); 597int len = _source.Count; 601return _selector(_source[len - 1]); 610int count = _source.Count; 614if (EqualityComparer<TResult>.Default.Equals(_selector(_source[i]), value))