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)
515int count = _source.Count; 522Fill(_source, results, _selector); 529IList<TSource> source = _source; 530int count = _source.Count; 551int count = _source.Count; 557_selector(_source[i]); 567return new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, count, int.MaxValue); 573return new IListSkipTakeSelectIterator<TSource, TResult>(_source, _selector, 0, count - 1); 578if ((uint)index < (uint)_source.Count) 581return _selector(_source[index]); 590if (_source.Count != 0) 593return _selector(_source[0]); 602int len = _source.Count; 606return _selector(_source[len - 1]); 615int count = _source.Count; 619if (EqualityComparer<TResult>.Default.Equals(_selector(_source[i]), value))