Bugzilla – Bug 317762
[GMCS] gmcs allows invalid enum values
Last modified: 2007-09-15 21:24:23 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".