Re: [Mono-dev] Embedded API: .ctor method signature query [mono]

2016-03-04 Thread Jonathan Mitchell
HI Robert > > You may want to file a bug, though. Bug is in at: https://bugzilla.xamarin.com/show_bug.cgi?id=39343 After logging the bug I managed to fix it myself on my current target 4.0.0. https://github.com/mono/mono/pull/2724 4.2.0 will need this too. Jonathan > > Robert > > > On

Re: [Mono-dev] Embedded API: .ctor method signature query [mono]

2016-03-03 Thread Robert Jordan
Hi Jonathan, The JIT isn't using these functions for method look-ups. mono_method_descs are mainly for embedders (and for trivial method look-ups at some places inside the runtime). They come handy when you want to get an overloaded MonoMethod in C/C++: easy: desc = mono_method_desc_new

Re: [Mono-dev] Embedded API: .ctor method signature query [mono]

2016-03-03 Thread Jonathan Mitchell
HI Robert Thanks for that. I think you are right. I call hundreds of methods that take Obj`1 arguments with out issue but I see that I have had to construct a number of helper methods to deal with cases of Obj`2 which failed signature resolution. I presume that managed code execution