https://bugzilla.novell.com/show_bug.cgi?id=687269
https://bugzilla.novell.com/show_bug.cgi?id=687269#c0 Summary: Invalid Incompatible return value on stack with method signature ret at 0x0001 Classification: Mono Product: Mono: Runtime Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: verifier AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Compile & Run with verifier enabled using System.Collections.Generic; class Test { static U[] Foo<T, U> (T[] arg) where T : class, U { return arg; } static int Main () { foreach (var e in Foo<string, object> (new string[] { "as" })) { } return 0; } } mono --verify-all a.exe Unhandled Exception: System.Security.VerificationException: Error verifying Test:Foo<T, U> (T[]): Incompatible return value on stack with method signature ret at 0x0001 at Test.Main () [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
