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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79709 --- shadow/79709 2006-10-20 16:32:44.000000000 -0400 +++ shadow/79709.tmp.14206 2006-10-20 16:32:44.000000000 -0400 @@ -0,0 +1,38 @@ +Bug#: 79709 +Product: Mono: Compilers +Version: 1.1 +OS: +OS Details: SUSE 10 +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: CS5001 error when compiling generic class + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + +Compiling the code below with gmcs gives this error: + +error CS5001: Program `test.exe' does not contain a static `Main' method +suitable for an entry point + +------------------------------ + +public class Multimap<Key,Value> +{ + public static void Main() + { + } +} + +--------------------------------- +If I comment out the "<Key,Value>", it compiles correctly. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
