[Mono-list] Embedded API: Method signature not found with generic parameter
mugginsoft
jonathan at mugginsoft.com
Thu Jul 11 11:55:37 UTC 2013
Hi
I have a MonoAssembly pointer to System.Core.
I obtain a MonoClass pointer to System.Linq.Enumerable with the above
assembly.
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:
ToList<TSource>(System.Collections.Generic.IEnumerable`1<TSource>)
However trying to obtain a MonoMethod from
mono_method_desc_search_in_class() for the above method name fails.
I can obtain MonoMethod handles to other static items within the assembly
but methods which take a generic parameter of type IEnumerable`1<TSource>
are causing a problem.
I know that `1 represents the arity of the generic type but I still cannot
get a method handle even if i use
System.Collections.Generic.IEnumerable<TSource> as the signature.
Thanks
Jonathan
--
View this message in context: http://mono.1490590.n4.nabble.com/Embedded-API-Method-signature-not-found-with-generic-parameter-tp4660157.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list