System\Linq\Grouping.cs (2)
60return new GroupByIterator<TSource, TKey, TElement>(source, keySelector, elementSelector, comparer);
256private protected override Iterator<IGrouping<TKey, TElement>> Clone() => new GroupByIterator<TSource, TKey, TElement>(_source, _keySelector, _elementSelector, _comparer);