Ignore modopts/modreqs for UnsafeAccessor field targets by AaronRobinsonMSFT · Pull Request #109694 · dotnet/runtime (original) (raw)
The generated IL remains correct and doesn't require a .volatile prefix for the generated accessor. This is based off of what Roslyn currently emits if a getter was available.
This was referenced
Nov 11, 2024
mikelle-rogers pushed a commit to mikelle-rogers/runtime that referenced this pull request
- Ignore modopts/modreqs for
UnsafeAccessorfield targets
The generated IL remains correct and doesn't require a .volatile prefix for the accessor. This is based off of what Roslyn currently emits if an accessor was manually written.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})