1 write to _keySelector
System.Linq (1)
System\Linq\Grouping.cs (1)
305_keySelector = keySelector;
5 references to _keySelector
System.Linq (5)
System\Linq\Grouping.cs (2)
309private protected override Iterator<IGrouping<TKey, TSource>> Clone() => new GroupByIterator<TSource, TKey>(_source, _keySelector, _comparer); 316_lookup = Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer);
System\Linq\Grouping.SpeedOpt.cs (3)
49Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer).ToArray(); 52Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer).ToList(); 55onlyIfCheap ? -1 : Lookup<TKey, TSource>.Create(_source, _keySelector, _comparer).Count;