1 write to _source
System.Linq (1)
System\Linq\Select.SpeedOpt.cs (1)
583_source = source;
19 references to _source
System.Linq (19)
System\Linq\Select.SpeedOpt.cs (19)
588new IteratorSelectIterator<TSource, TResult>(_source, _selector); 595_enumerator = _source.GetEnumerator(); 625new IteratorSelectIterator<TSource, TResult2>(_source, CombineSelectors(_selector, selector)); 630Iterator<TSource>? source = _source.Skip(count); 637Iterator<TSource>? source = _source.Take(count); 644TSource? input = _source.TryGetElementAt(index, out sourceFound); 652TSource? input = _source.TryGetFirst(out sourceFound); 660TSource? input = _source.TryGetLast(out sourceFound); 667Debug.Assert(_source.GetCount(onlyIfCheap: true) == -1); 673foreach (TSource input in _source) 687Debug.Assert(count == _source.GetCount(onlyIfCheap: true)); 690Fill(_source, array, _selector); 696int count = _source.GetCount(onlyIfCheap: true); 707Debug.Assert(_source.GetCount(onlyIfCheap: true) == -1); 713foreach (TSource input in _source) 726int count = _source.GetCount(onlyIfCheap: true); 738Fill(_source, SetCountAndGetSpan(list, count), _selector); 766foreach (TSource item in _source) 775return _source.GetCount(onlyIfCheap);