[Mono-list] Interop - PreserveSig

Robert Jordan robertj at gmx.net
Sun Oct 4 13:23:32 UTC 2015


On 04.10.2015 00:25, lx42 wrote:
>
> So my question is, does mono respect PreserveSig?
>

DllImportAttribute.PreserveSig = false is not supported.

However, methods of COM interfaces do have "PreserveSig = false"
semantics by default, unless they were marked with

[MethodImp(MethodImplOptions.PreserveSig)]

Robert




More information about the Mono-list mailing list