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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=82345

--- 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: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: System
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+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)
+MbUnit.Core.Serialization.MetadataMapEntry[]:System.Collections.Generic.IList`1.set_Item
+(int,MbUnit.Core.Serialization.MetadataMapEntry)
+
+
+Steps to reproduce the problem:
+1. Create an array.
+2. Assign it to IList<T>.
+3. Set an element.
+
+Actual Results:
+
+Boom.
+
+Expected Results:
+
+Should work fine.  An array cannot be extended but its elements can be
+modified.
+
+How often does this happen? 
+
+Always.  Currently blocking development for Mono platform.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to