[Mono-dev] Problem with custim marshaller on list
robertj at gmx.net
Fri Oct 16 12:08:57 UTC 2015
On 15.10.2015 18:21, Guillaume wrote:
> when I call that method, I have this error:
> marshaling type 15 not implemented
> * Assertion: should not be reached at marshal.c:1952
The error most likely means that Mono's marshaller does not
support generic types in structures supposed to be used
in p/invoke scenarios, even if you have a custom
marshaller for it.
Try "public object b" in place of "public IList<int> b".
You may also want to file a bug it this feature is supported
on MS.NET but not on Mono.
More information about the Mono-devel-list