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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Apr 2005 07:34:30 -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.19269	2005-04-21 07:34:30.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 74683
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lluis@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] gmcs allows invalid enum values
+
+This compiles with current gmcs:
+
+using System;
+
+public class Test
+{
+	public static void Main(string[] args)
+	{
+		PlatformID e = PlatformID.xxxxxxx;
+	}
+}