Skip to content

Retire legacy DynamicMethod and Reflection SOS scripts - #6086

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/retire-dynamicmethod-reflection-scripts
Oct 6, 2026
Merged

max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:dev/max-charlamb/retire-dynamicmethod-reflection-scripts

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

  • Retire only the legacy DynamicMethod and Reflection scripts and registrations, following Retire legacy AsyncMain and ThreadApartment SOS scripts #6077.
  • Add focused DynamicMethod coverage for exact Fibonacci IL and the ICorDebug local-to-object-to-IL round-trip.
  • Reuse the existing Reflection exception test unchanged, without extra assertions.
  • Update README and COVERAGE.md; keep the legacy runner, debuggees, harness, and CI unchanged.

Validation

  • Targeted builds passed.
  • Focused tests passed 40 Core cases across .NET 8-11, 10 .NET 10 SingleFile/Framework cases (one intentional empty-matrix skip), and 10 .NET 11 standalone cDAC cases.
  • After removing the Reflection additions, the unchanged test passed five .NET 10 Core cases.
  • Unix, ARM, and x86 were not run locally; newly enabled x86 live DynamicMethod variable recovery remains unverified.

Add focused emitted-IL and ICorDebug local coverage for DynamicMethod. Retire Reflection using its existing modern exception coverage, and update migration documentation. Keep the legacy runner and all other scenarios unchanged.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: ab215431-2cf9-4421-8822-d411adca0f92
@max-charlamb
max-charlamb requested a review from a team as a code owner October 6, 2026 19:49
@max-charlamb
max-charlamb enabled auto-merge (squash) October 6, 2026 21:10
@max-charlamb

Copy link
Copy Markdown
Member Author

/ba-g modern helix tests complete successfully

@max-charlamb
max-charlamb merged commit 7a10c17 into dotnet:main Oct 6, 2026
19 of 22 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants