1 write to _keySelector
System.Linq (1)
System\Linq\Grouping.cs (1)
138
_keySelector
= keySelector;
5 references to _keySelector
System.Linq (5)
System\Linq\Grouping.cs (2)
144
private protected override Iterator<TResult> Clone() => new GroupByResultIterator<TSource, TKey, TElement, TResult>(_source,
_keySelector
, _elementSelector, _resultSelector, _comparer);
151
_lookup = Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer);
System\Linq\Grouping.SpeedOpt.cs (3)
13
Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer).ToArray(_resultSelector);
16
Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer).ToList(_resultSelector);
19
onlyIfCheap ? -1 : Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer).Count;