corert
corert copied to clipboard
Generate delegate marshalling stubs for Marshal.* delegate APIs to work
Today we only generate runtime delegate stubs and data for delegates which are explicitly part of P/Invoke signature. However, for the Marshal.* delegate APIs to work we need proper analysis to determine what delegates to generate data for.
As a next step we could possibly mark the delegates that we want to generate marshal data for with UnmanagedFunctionPointerAttribute.