-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bring over the partial implementation of TypeDef importing from the imetadataemit branch and make it a free function that operates on DNMD handles. * Add SHA1 pal implementation * Generate public key token from public key * Finish implementation of TypeDef importing * Sketch out ImportReferenceToTypeRef * Port over strong name token improvements from my CoreCLR branch. * Fix name shadowing * Implement more of TypeRef importing, with todos and comments for the remaining parts. * Finish TypeRef importing. * Implement the remainder of signature importing (TypeSpec and higher level signatures) * Fix qualified base member access * Fix PAL errors * Fix headers and use E_FAIL instead of E_UNEXPECTED (which isn't available in DNCP) * Fix typo caught by static analysis * Initialize variable to avoid a maybe-uninitialized warning that isn't accurate * Apply suggestions from code review Co-authored-by: Aaron Robinson <[email protected]> * Comment about initialization * Implement importing TypeRef to self as TypeDef * Correctly handle implicit ExportedType rows for types in the source Assembly referenced by a nil ResolutionScope in the source module. * Refactor adding AssemblyRef rows to always add to both the module and assembly (as the CoreCLR does) * Use non-deprecated oneshot SHA API on OpenSSL and use API with the same shape from CommonCrypto * Implement PR feedback * make md_added_row_t constructor explicit and add back removed comment --------- Co-authored-by: Aaron Robinson <[email protected]>
- Loading branch information
1 parent
92849ce
commit e727af4
Showing
9 changed files
with
2,205 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.