-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[cDAC] Add IMetaDataImport COM wrapper over MetadataReader for no-fallback mode #127028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
8f13d29
Add IMetaDataImport COM wrapper over MetadataReader for cDAC no-fallb…
5d8cac0
Trim IMetaDataImport to consumer-used methods, add 8 new implementations
1618dda
Refactor MetadataImportWrapper to follow cDAC fallback pattern
5530d5b
Remove CatchHR helper and inline try/catch blocks
3823ebe
Simplify catch blocks to match cDAC convention
18d3356
Replace goto Done with thrown exception in EnumGenericParams
c741b29
Rename MetadataImportWrapper to MetaDataImportImpl
ba92ef7
Add legacy fallback to all unimplemented methods
f896ffe
Align MetaDataImportImpl with cDAC style conventions
eed9f94
Address PR review feedback
cbe1988
Add IMetaDataAssemblyImport support to MetaDataImportImpl
a6edbab
Fix premature return and expand DEBUG validation in IMetaDataAssembly…
5769e64
Address PR review feedback
0b3961a
Remove GetInterface from no-fallback allowlist
b1084ef
Implement remaining PR review suggestions
7f587ed
Add comprehensive blob byte-level verification to #if DEBUG blocks
eafb70b
Return CLDB_S_TRUNCATION when string buffer is too small
43b8ec6
Fix native semantic parity in MetaDataImport methods
7b85527
Add tests for MetaDataImport semantic parity fixes
2175c4a
Add MetaDataImport dump-based integration tests
c040832
Fix GetUserString raw byte access and IMetaDataImport2 vtable overread
80006f0
Fix MetaDataImportImpl double-QI vtable AV for EnumGenericParams
28196e2
Remove null-forgiving operators from MetaDataImportImpl
ff1bb43
Make MetadataReader a required parameter in MetaDataImportImpl
b2af8f6
Fix dump test build: Assert.NotNull returns void in xUnit v2
4613a7d
Fix MetaDataImportImpl parity gaps: enum dispatch, field offsets, par…
391b895
Make _cdacEnumHandles thread-safe and use OutputBufferHelpers in asse…
3f3aad5
Add backward compat for integer contract versions in JSON descriptor
3cc6cb5
Revert "Add backward compat for integer contract versions in JSON des…
728f40e
Address PR review feedback
ef8d77d
Simplify COM interop: remove redundant QI and null-forgiving operator
7090126
Address PR review feedback (round 2)
636ea30
Fix dump test build: use IMetaDataImport interface type
144add0
Remove unused using and fix misleading comment
817457d
Add CopyStringToBuffer overload with out bool truncated
434b487
comment nits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.