[Mono-bugs] [Bug 79542][Cos] New - System.Array.Reset throws wrong exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Oct 1 05:49:53 EDT 2006

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 marek.sieradzki at gmail.com.


--- shadow/79542	2006-10-01 05:49:53.000000000 -0400
+++ shadow/79542.tmp.20350	2006-10-01 05:49:53.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 79542
+Product: Mono: Class Libraries
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Cosmetic
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: marek.sieradzki at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: System.Array.Reset throws wrong exception
+Description of Problem:
+Wrong exception thrown by System.Array Reset (211 line)
+Steps to reproduce the problem:
+1. compile and execute code containing:
+int[] array = new int [] {1,2,3};
+IEnumerator <int> enum = ((IEnumerable <int>)array).GetEnumerator ()
+enum.Reset ();
+Actual Results:
+Expected Results:
+How often does this happen? 
+Additional Information:
+Reset doesn't need to be implemented but NotSupportedException would
+confuse less.

More information about the mono-bugs mailing list