https://bugzilla.novell.com/show_bug.cgi?id=479763
User [email protected] added comment https://bugzilla.novell.com/show_bug.cgi?id=479763#c2 Marek Safar <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[email protected] |[email protected] Summary|Delegate.CreateDelegate |Generics sharing causes |throws ArgumentException |Delegate.CreateDelegate |under unusual circumstances |throws ArgumentException | |under unusual circumstances --- Comment #2 from Marek Safar <[email protected]> 2009-02-26 13:38:50 MST --- This is generic sharing bug. mono test.exe hello Unhandled Exception: System.ArgumentException: method arguments are incompatible at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure) [0x00000] at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method) [0x00000] at Foo.AddHandler[Type] (System.String target) [0x00000] at Program.Main () [0x00000] mono --optimize=-gshared test.exe hello -- Configure bugmail: https://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
