http://bugzilla.novell.com/show_bug.cgi?id=619904
http://bugzilla.novell.com/show_bug.cgi?id=619904#c0 Summary: Code is compiled incorrectly Classification: Mono Product: Mono: Compilers Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- The following program is compiled incorrectly with r159898 of mono/mcs. The IL does a ldarg.0 on a static method with no arguments. using System; class Program { public class BaseClass { public virtual void Print () { Console.WriteLine ("BaseClass.Print"); } } public class Derived : BaseClass { public override void Print () { Action a = () => base.Print (); a (); } } public static void Main (string [] args) { var d = new Derived (); d.Print (); } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
