1 write to _keySelector
System.Linq (1)
System\Linq\Grouping.cs (1)
251
_keySelector
= keySelector;
5 references to _keySelector
System.Linq (5)
System\Linq\Grouping.cs (2)
256
private protected override Iterator<IGrouping<TKey, TElement>> Clone() => new GroupByIterator<TSource, TKey, TElement>(_source,
_keySelector
, _elementSelector, _comparer);
263
_lookup = Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer);
System\Linq\Grouping.SpeedOpt.cs (3)
37
Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer).ToArray();
40
Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer).ToList();
43
onlyIfCheap ? -1 : Lookup<TKey, TElement>.Create(_source,
_keySelector
, _elementSelector, _comparer).Count;