Skip to content

Conversation

@AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented May 12, 2025

It isn't uncommon to want to examine a .NET signature, but not care about resolving tokens. This change makes providing the associated module optional and emits the token value instead. This change also makes this behavior the failure case in the event the associated IMetaDataImport returns a failure code.

View without whitespace diffs - https://github.com/dotnet/diagnostics/pull/5480/files?diff=split&w=1

It isn't uncommon to want to examine a .NET signature,
but not care about resolving tokens. This change makes
providing the associated module optional and emits the
token value instead. This change also makes this behavior
the failure case in the event the associated
MetaDataImport returns a failure code.
@AaronRobinsonMSFT AaronRobinsonMSFT requested a review from a team as a code owner May 12, 2025 02:09
@AaronRobinsonMSFT
Copy link
Member Author

/cc @mikem8361

hoyosjs
hoyosjs previously approved these changes May 12, 2025
@AaronRobinsonMSFT
Copy link
Member Author

AaronRobinsonMSFT commented May 12, 2025

I have one more update to this API. Generic signatures don't appear to be respected. I'll fix that quickly.

Remove deprecated naming
@hoyosjs hoyosjs merged commit 3a08702 into main May 12, 2025
18 of 20 checks passed
@hoyosjs hoyosjs deleted the relax_sig_parsing_requirements branch May 12, 2025 21:18
@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants