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

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to