[Mono-bugs] [Bug 65573][Wis] Changed - MCS doesn't report CS0133 for "const char[] x = new char[] {...}"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 8 Sep 2004 19:42:52 -0400 (EDT)


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 sebastien@ximian.com.

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

--- shadow/65573	2004-09-08 19:31:05.000000000 -0400
+++ shadow/65573.tmp.5568	2004-09-08 19:42:52.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Compilers
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: sebastien@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -56,6 +56,10 @@
 constarray.cs(4,23): error CS0133: The expression being assigned to
         'Program.invalidChars' must be constant
 
 
 How often does this happen? 
 Always
+
+------- Additional Comments From sebastien@ximian.com  2004-09-08 19:42 -------
+VS.NET 2k5 C# helps about const says it must be a C# primitive except
+Object *** AND *** that arrays and structs CANNOT be const.