Bug 313165 (MONO51095) - Parsing error in the presence of casts
Summary: Parsing error in the presence of casts
Status: RESOLVED MOVED
Alias: MONO51095
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 07:11 UTC by Miguel de Icaza
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 18:19:39 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"