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)
309
private 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)
49
Lookup<TKey, TSource>.Create(_source,
_keySelector
, _comparer).ToArray();
52
Lookup<TKey, TSource>.Create(_source,
_keySelector
, _comparer).ToList();
55
onlyIfCheap ? -1 : Lookup<TKey, TSource>.Create(_source,
_keySelector
, _comparer).Count;