1 write to _keySelector
System.Linq (1)
System\Linq\Grouping.cs (1)
195_keySelector = keySelector;
5 references to _keySelector
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;