http://bugzilla.novell.com/show_bug.cgi?id=561970

http://bugzilla.novell.com/show_bug.cgi?id=561970#c5


Rodrigo Kumpera <rkump...@novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
       InfoProvider|                            |kno...@gmail.com

--- Comment #5 from Rodrigo Kumpera <rkump...@novell.com> 2010-04-19 19:31:09 
UTC ---
Then the collection is not read-only, only it's wrapper is.

Take the following example:

var l = new List<int> ();
l.Add (1); l.Add (2);
var ro = l.AsReadOnly ();
foreach (var r in ro)
  l.Add (r);

It is iterating over a read-only collection but it will raise IOE.
This is the expected behavior.

The stack trace suggests this is the case.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to