Skip to content

Commit

Permalink
Update Polyfill_IEnumerable_AggregateBy.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Sep 28, 2024
1 parent b7c1d4e commit 707949f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Polyfill/Polyfill_IEnumerable_AggregateBy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static IEnumerable<KeyValuePair<TKey, TAccumulate>> AggregateByIterator<TSource,

static Dictionary<TKey, TAccumulate> PopulateDictionary(IEnumerator<TSource> enumerator, Func<TSource, TKey> keySelector, Func<TKey, TAccumulate> seedSelector, Func<TAccumulate, TSource, TAccumulate> func, IEqualityComparer<TKey>? keyComparer)
{
Dictionary<TKey, TAccumulate> dict = new(keyComparer);
var dict = new Dictionary<TKey, TAccumulate>(keyComparer);

do
{
Expand Down

0 comments on commit 707949f

Please sign in to comment.