[Mono-bugs] [Bug 475962] exception thrown from CreateDelegate () when compiling Expression returning a delegate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Feb 14 11:26:02 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=475962

User jbevain at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=475962#c2





--- Comment #2 from Jb Evain <jbevain at novell.com>  2009-02-14 09:25:59 MST ---
A csc compiled test case runs fine on .net and Mono. While the gmcs compiled
test case works on .net but fails on Mono with:

Unhandled Exception: System.ArgumentException: method argument length mismatch
at System.Delegate.CreateDelegate
(System.Type,object,System.Reflection.MethodInfo,bool) <0x004ee>
at System.Delegate.CreateDelegate
(System.Type,object,System.Reflection.MethodInfo) <0x00015>
at (wrapper dynamic-method)
System.Runtime.CompilerServices.ExecutionScope.lambda_method
(System.Runtime.CompilerServices.ExecutionScope,MonoBug.Program) <0x00079>
at MonoBug.Program.Main () <0x001d2>

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list