We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GroupedListEnumerator
1 parent c7fd686 commit a0bf1bdCopy full SHA for a0bf1bd
Ical.Net/Collections/GroupedList.cs
@@ -218,7 +218,7 @@ TItem IList<TItem>.this[int index]
218
set => this[index] = value;
219
}
220
221
- public IEnumerator<TItem> GetEnumerator() => new GroupedListEnumerator<TItem>(_lists);
+ public IEnumerator<TItem> GetEnumerator() => _lists.SelectMany(x => x).GetEnumerator();
222
223
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
224
Ical.Net/Collections/GroupedListEnumerator.cs
0 commit comments