Bug 317762 (MONO74683) - [GMCS] gmcs allows invalid enum values
Summary: [GMCS] gmcs allows invalid enum values
Status: RESOLVED FIXED
Alias: MONO74683
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 14:34 UTC by Lluis Sanchez
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:14:07 UTC


---- Reported by lluis@ximian.com 2005-04-21 07:34:30 MST ----

This compiles with current gmcs:

using System;

public class Test
{
	public static void Main(string[] args)
	{
		PlatformID e = PlatformID.xxxxxxx;
	}
}



---- Additional Comments From lluis@ximian.com 2005-04-21 08:51:11 MST ----

In fact, it also fails for static class members:

public class Test
{
	public static void Main(string[] args)
	{
		System.Console.xxxxxxx ();
	}
}

This compiles.




---- Additional Comments From martin@ximian.com 2005-04-23 23:12:17 MST ----

Fixed.


Unknown operating system unknown. Setting to default OS "Other".