https://bugzilla.novell.com/show_bug.cgi?id=685463
https://bugzilla.novell.com/show_bug.cgi?id=685463#c0 Summary: C# compiler generate invalid IL code Classification: Mono Product: Mono: Compilers Version: 2.10.x Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- This happens on both 2.6.7 and 2-10 branch tip. Just do: $ csharp csharp> int? foo = 4; csharp> object bar = 3; csharp> foo == (int)bar; System.InvalidProgramException: Invalid IL code in Class2:Host (object&): IL_001a: ldloca.s 0 at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object& result, System.Boolean& result_set) [0x00000] in <filename unknown>:0 at Mono.CSharpShell.Evaluate (System.String input) [0x00000] in <filename unknown>:0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
