corert
corert copied to clipboard
Add an attribute for structs indicating whether they are interesting for Interop
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.
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.csas 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.