[Mono-list] Embedded API: Method signature not found with generic parameter
robertj at gmx.net
Thu Jul 11 12:40:51 UTC 2013
On 11.07.2013 13:55, mugginsoft wrote:
> I have a MonoAssembly pointer to System.Core.
> I obtain a MonoClass pointer to System.Linq.Enumerable with the above
> This is a static class used to implement LINQ functionality via extensions.
> I write the method names to the console.
> The signature of the the method I want, ToList() is displayed as:
> However trying to obtain a MonoMethod from
> mono_method_desc_search_in_class() for the above method name fails.
It works for me using both mono_class_get_method_from_name ()
and mono_method_desc_search_in_class ().
Odds are that you're not using the correct MonoClass* (it must
System.Linq.Enumerable) or your desc is wrongly formatted.
The parameter's string descriptor is just
Notice the missing trailing <TSource>.
More information about the Mono-list