-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Adding GetMethodDescFromToken cDAC API #118619
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
Conversation
Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag |
SOS failing tests are EnumMethodInstanceByAddress and DrainQueue related |
src/native/managed/cdac/mscordaccore_universal/Legacy/ISOSDacInterface.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements the GetMethodDescFromToken
method in the cDAC (Contract Data Access Component) API to retrieve method descriptors from metadata tokens. This replaces the previous implementation that simply delegated to the legacy DAC implementation.
- Adds a new
CorTokenType
enum to define metadata token types and their bitmasks - Implements the core logic to handle different token types (FieldDef, MethodDef, TypeDef, TypeRef) using the loader contract
- Includes debug validation to compare results with the legacy implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.