Closed stefan-tb closed 1 year ago
I don't think we can merge this: this iterator allows modification of the underlying list while iterating. If we use the underlying list iterator, this would not be possible. We would have to check the code, whether there is no iteration with modification. I know, it is not the standard behavior of iterators to allow changes, but I don't want to break existing code.
Hmm. I see. But it then depends on the type of enumeration (IEnumerable<
Anyway, Ill cancel the PR.
This change will also avoid inconsistent behavior between the different Enumerator interfaces