[Mono-bugs] [Bug 74683][Nor] Changed - [GMCS] gmcs allows invalid enum values

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Apr 2005 08:51:11 -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 lluis@ximian.com.

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

--- shadow/74683	2005-04-21 07:34:30.000000000 -0400
+++ shadow/74683.tmp.19669	2005-04-21 08:51:11.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 74683
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: lluis@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -24,6 +24,20 @@
 {
 	public static void Main(string[] args)
 	{
 		PlatformID e = PlatformID.xxxxxxx;
 	}
 }
+
+------- Additional Comments From lluis@ximian.com  2005-04-21 08:51 -------
+In fact, it also fails for static class members:
+
+public class Test
+{
+	public static void Main(string[] args)
+	{
+		System.Console.xxxxxxx ();
+	}
+}
+
+This compiles.
+