dotnet / dotnet/linker

Make it possible to disable method body rewriting

Open
#2,192 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

Linker should respect the NoOptimization MethodImpl flag and it should prevent it from messing with instructions in method bodies. Would make it easier to work around issues like https://github.com/mono/linker/issues/2181 or https://github.com/dotnet/runtime/issues/57010 that now require more creative workarounds.

I'm putting this in 6.0 because the method body rewriting is a relatively new feature, we're still finding bugs in it, and we'll likely find more when 6.0 ships.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.