1 write to _source
System.Linq (1)
System\Linq\Grouping.cs (1)
194_source = source;
5 references to _source
System.Linq (5)
System\Linq\Grouping.cs (2)
200private protected override Iterator<TResult> Clone() => new GroupByResultIterator<TSource, TKey, TResult>(_source, _keySelector, _resultSelector, _comparer); 207_lookup = Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer);
System\Linq\Grouping.SpeedOpt.cs (3)
25Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer).ToArray(_resultSelector); 28Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer).ToList(_resultSelector); 31onlyIfCheap ? -1 : Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer).Count;