Skip to content

Managed ilasm: support netmodule and legacy debug attributes - #136398

Merged
jkoritzinsky merged 2 commits into
dotnet:mainfrom
jkoritzinsky:dev/jkoritzinsky/feature-ilasm-debuggable-attributes
Oct 27, 2026
Merged

jkoritzinsky merged 2 commits into
dotnet:mainfrom
jkoritzinsky:dev/jkoritzinsky/feature-ilasm-debuggable-attributes

Conversation

@jkoritzinsky

Copy link
Copy Markdown
Member

Summary

Addresses item 4 of #135314: emit netmodule debug attributes through System.Runtime.CompilerServices.AssemblyAttributesGoHere, and use the legacy two-Boolean DebuggableAttribute constructor for v1 mscorlib targets.

Includes debug-mode/target coverage and options documentation. This branch is independently based on main and does not include the PDB identity change.

Validation already run

$env:DOTNET_ROLL_FORWARD='LatestMajor'
$env:DOTNET_HOST_PATH='E:\copilot-worktrees\runtime\dev-jkoritzinsky-glowing-meme\artifacts\bin\testhost\net11.0-windows-Debug-x64\dotnet.exe'
.\.dotnet\dotnet.exe test src\tools\ilasm\tests\ILAssembler.Tests --filter 'FullyQualifiedName~CompilerOptionsTests' -- "RunConfiguration.DotNetHostPath=$env:DOTNET_HOST_PATH"

Result: branch rebuilt; 59 passed, 0 failed/skipped. The common corrected-reader testhost was reused, not added to this branch. No new test runs were performed for PR publication.

Note

This pull request description and code changes were prepared with GitHub Copilot assistance.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 4 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@jkoritzinsky

Copy link
Copy Markdown
Member Author

/ba-g timeout due to helix queue depth.

@jkoritzinsky
jkoritzinsky merged commit 7c92644 into dotnet:main Oct 27, 2026
60 of 62 checks passed
@github-project-automation github-project-automation Bot moved this to Done in AppModel Oct 27, 2026
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants