AaronRobinsonMSFT / DNMD

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

Implement remaining APIs on IMetadataImport and IMetadataImport2 that can be implemented with just metadata #2

Closed jkoritzinsky closed 1 year ago

jkoritzinsky commented 1 year ago

Implement the remaining APIs on IMetadataImport (the Find* APIs) and the APIs on IMetadataImport2 that can be implemented with only metadata information (everything but GetPEKind, which requires access to the PE envelope).

Most of the more complex added code is to support the mechanism in IMetadataImport::FindMethod that converts a vararg signature to the corresponding MethodDefSig signature before lookup in the MethodDef table.

The rest of the code mostly follows existing patterns in the same files.