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

Jonathan Mitchell lists at mugginsoft.com
Thu Mar 3 13:36:01 UTC 2016


HI

I want to call the following constructor via the embedded API:

public CloudClient(Func<string, string> filePathCallback)
 
All my other embedded method and constructor calls work okay but there is an issue with this one - it is the only place I use a System.Func<T>.
The API reports that a method cannot be found for signature .ctor(System.Func`2<string, string>)
When I dump out the class method names I see .ctor(System.Func`2<string, string>) listed.

Any ideas on this one?

Thanks a lot

Jonathan


More information about the Mono-devel-list mailing list