[Mono-bugs] [Bug 82345][Blo] New - InternalArray__set_Item throws inappropriate NotSupportedException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 6 16:30:04 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jeff.brown at gmail.com.


--- shadow/82345	2007-08-06 16:30:04.000000000 -0400
+++ shadow/82345.tmp.25293	2007-08-06 16:30:04.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 82345
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Blocker
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: jeff.brown at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: InternalArray__set_Item throws inappropriate NotSupportedException
+Description of Problem:
+In Mono 1.2.4.  Getting a "Collection is read-only" error when calling
+Array's setter property via IList<T>.
+System.NotSupportedException: Collection is read-only
+Server stack trace:
+          at System.Array.InternalArray__set_Item[MetadataMapEntry] (Int32
+index, MbUnit.Core.Serialization.MetadataMapEntry item) [0x00000]
+          at (wrapper managed-to-managed)
+Steps to reproduce the problem:
+1. Create an array.
+2. Assign it to IList<T>.
+3. Set an element.
+Actual Results:
+Expected Results:
+Should work fine.  An array cannot be extended but its elements can be
+How often does this happen? 
+Always.  Currently blocking development for Mono platform.

More information about the mono-bugs mailing list