System\Linq\Grouping.cs (2)
88return new GroupByResultIterator<TSource, TKey, TResult>(source, keySelector, resultSelector, comparer);
200private protected override Iterator<TResult> Clone() => new GroupByResultIterator<TSource, TKey, TResult>(_source, _keySelector, _resultSelector, _comparer);