1 write to _elementSelector
System.Linq (1)
System\Linq\Grouping.cs (1)
139_elementSelector = elementSelector;
5 references to _elementSelector
System.Linq (5)
System\Linq\Grouping.cs (2)
144private 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)
13Lookup<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).ToArray(_resultSelector); 16Lookup<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).ToList(_resultSelector); 19onlyIfCheap ? -1 : Lookup<TKey, TElement>.Create(_source, _keySelector, _elementSelector, _comparer).Count;