[Mono-bugs] [Bug 28030][Nor] New - Error CS1604 no trhown in some cases.
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
20 Jul 2002 17:16:53 -0000
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 kiwnix@yahoo.es.
http://bugzilla.ximian.com/show_bug.cgi?id=28030
--- shadow/28030 Sat Jul 20 13:16:53 2002
+++ shadow/28030.tmp.9294 Sat Jul 20 13:16:53 2002
@@ -0,0 +1,58 @@
+Bug#: 28030
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Debian sid alp cvs packages
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: kiwnix@yahoo.es
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Error CS1604 no trhown in some cases.
+
+Description of Problem:
+
+mcs compile code that csc do not. For example mcs let access intermeditate
+elements in a char array by a foreach loop, and csc dont.
+
+
+Steps to reproduce the problem:
+1. Compile with mcs the test case
+2. Compile with csc the test case
+
+Actual Results:
+
+mcs compile code that csc don't (csc bug or mcs bug?)
+
+Expected Results:
+
+mcs should throw error CS1604 in some cases as csc do.
+
+How often does this happen?
+
+Allways.
+
+Additional Information:
+
+A test case:
+
+using System;
+
+class test1
+{
+ private char[] nombre_c;
+ public void testing2()
+ {
+ nombre_c = new char[255];
+ foreach(char elem in nombre_c)
+ {
+ elem = ' ';
+ }
+ }
+}