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)
200
private 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)
25
Lookup<TKey, TSource>.Create(_source,
_keySelector
, _comparer).ToArray(_resultSelector);
28
Lookup<TKey, TSource>.Create(_source,
_keySelector
, _comparer).ToList(_resultSelector);
31
onlyIfCheap ? -1 : Lookup<TKey, TSource>.Create(_source,
_keySelector
, _comparer).Count;