corert icon indicating copy to clipboard operation
corert copied to clipboard

Generate delegate marshalling stubs for Marshal.* delegate APIs to work

Open shrah opened this issue 9 years ago • 0 comments

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.

shrah avatar Apr 21 '17 21:04 shrah