[Mono-bugs] [Bug 495693] Modifying XML dom while iterating over it using foreach displays different behavior to .NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 17 11:18:43 EDT 2009


User tom_hindle at sil.org added comment

--- Comment #2 from tom hindle <tom_hindle at sil.org>  2009-04-17 09:18:42 MDT ---
I  novel policy was that if it was different from .NET behavior its a bug.
Or is the some explicit documentation that states that one must not change a
list while iterating over it?

This isn't a issue for the application I'm porting as I have changed it not to
do this (as I previously acknowledged its a horrible technique), but the
difference in behavior may break existing .NET applications when running them
unmodified on mono.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list