[Mono-list] Embedded API: Method signature not found with generic parameter

Robert Jordan robertj at gmx.net
Thu Jul 11 16:41:39 UTC 2013


On 11.07.2013 16:58, mugginsoft wrote:
> Robert Jordan wrote
>> Try mono_class_get_method_from_name ("ToList", 1) or create
>> a descriptor from ":ToList(System.Collections.Generic.IEnumerable`1)".
>
> Thanks.
> mono_class_get_method_from_name ("ToList", 1) does resolve.
>
> However:
> My actual implementation is via Dumbarton which uses
> mono_method_desc_search_in_class.
> This is still failing:

Oops, my test actually passes with:

	":ToList(System.Collections.Generic.IEnumerable`1<TSource>)"

Notice the omitted <TSource> from the method name and
its usage as an open generic parameter name.

Robert



More information about the Mono-list mailing list