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.
Implement the remaining APIs on IMetadataImport (the
Find*
APIs) and the APIs on IMetadataImport2 that can be implemented with only metadata information (everything butGetPEKind
, 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 theMethodDef
table.The rest of the code mostly follows existing patterns in the same files.