Bugzilla – Bug 313165
Parsing error in the presence of casts
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by miguel@ximian.com 2003-11-18 00:11:55 MST ---- The following fails to parse: public class FormsTest { enum ColorDepth { a, b } static void Main () { object a = (ColorDepth) int.Parse("1"); } } ---- Additional Comments From bmaurer@users.sf.net 2003-11-18 12:28:23 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO49836 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"