AaronRobinsonMSFT / DNMD

Reimplementation of ECMA-335 metadata APIs
MIT License
16 stars 3 forks source link

Add DNMD API to create a new metadata handle and implement IMetaDataDispenser::DefineScope #49

Closed jkoritzinsky closed 6 months ago

jkoritzinsky commented 8 months ago

Add a new API so we can create images with DNMD (and use them to create bespoke images for testing corner cases in metadata logic).

Also, implement IMetaDataDispenser::DefineScope with this API. Since we don't have an IMetaDataEmit implementation yet, it's not really useful as you get a read-only view to a newly created module, but once we add IMetaDataEmit support, it'll be very quick to enable the support for editing.