corert icon indicating copy to clipboard operation
corert copied to clipboard

Add an attribute for structs indicating whether they are interesting for Interop

Open shrah opened this issue 9 years ago • 1 comments

We need an attribute on a struct to indicate whether a struct is interesting for interop. We have similar attribute(https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.unmanagedfunctionpointerattribute(v=vs.110).aspx) for struct.

shrah avatar Jun 01 '17 00:06 shrah

Should this be filed in the CoreFX repo then as a formal API proposal?

Btw, reflection side has similar needs and what we did there is:

  • Implemented a subset of RD.XML in ILCompiler\src\RdXmlRootProvider.cs as a temporary crutch.
  • And we'll be adding support for consuming information from global analysis that uses data flow/RD.XML at a later stage.

MichalStrehovsky avatar Jun 01 '17 00:06 MichalStrehovsky