Skip to content

[cDAC] fix RuntimeMutableTypeSystem contract name bug - #129213

Merged
rcj1 merged 1 commit into
dotnet:mainfrom
rcj1:fix-name-bug
Jun 10, 2026
Merged

rcj1 merged 1 commit into
dotnet:mainfrom
rcj1:fix-name-bug

Conversation

@rcj1

@rcj1 rcj1 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 10, 2026 03:31
@rcj1 rcj1 changed the title Update IRuntimeMutableTypeSystem.cs [cDAC] fix RuntimeMutableTypeSystem name bug Jun 10, 2026
@rcj1 rcj1 changed the title [cDAC] fix RuntimeMutableTypeSystem name bug [cDAC] fix RuntimeMutableTypeSystem contract name bug Jun 10, 2026
@rcj1
rcj1 requested review from barosiak and hoyosjs June 10, 2026 03:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes cDAC contract resolution for IRuntimeMutableTypeSystem by correcting the contract name used for version lookup against the target’s contract descriptor (so CachingContractRegistry / ContractDescriptorTarget can find the contract).

Changes:

  • Update IRuntimeMutableTypeSystem’s IContract.Name from nameof(IRuntimeMutableTypeSystem) to nameof(RuntimeMutableTypeSystem).
Show a summary per file
File Description
src/native/managed/cdac/Microsoft.Diagnostics.DataContractReader.Abstractions/Contracts/IRuntimeMutableTypeSystem.cs Corrects the contract name string used to resolve the contract version from descriptors.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

@rcj1
rcj1 merged commit bee7953 into dotnet:main Jun 10, 2026
70 checks passed
@rcj1
rcj1 deleted the fix-name-bug branch June 10, 2026 06:06
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview6 milestone Jun 17, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 18, 2026
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