Skip to content

Conversation

rcj1
Copy link
Contributor

@rcj1 rcj1 commented Aug 12, 2025

No description provided.

Copy link
Contributor

Tagging subscribers to this area: @steveisok, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@rcj1
Copy link
Contributor Author

rcj1 commented Aug 12, 2025

SOS failing tests are EnumMethodInstanceByAddress and DrainQueue related

@Copilot Copilot AI review requested due to automatic review settings August 13, 2025 23:23
Copy link
Contributor

@Copilot Copilot AI left a 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

Copy link
Member

@max-charlamb max-charlamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rcj1 rcj1 merged commit e6d984a into dotnet:main Aug 19, 2025
41 of 43 checks passed
@rcj1 rcj1 deleted the GetMethodDescFromToken branch August 19, 2025 21:37
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants