Compiler injects RefSafetyRulesAttribute into assemblies
Open
area-Linker: Tests
- Dominant language
- C#
- Stars
- 392
- Forks
- 128
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Description
Starting from RC2 compiler injects the attribute System.Runtime.CompilerServices.RefSafetyRulesAttribute to identify the language version. Since it's embedded into all modules the Kept logic will fail all tests that don't have the SkipKeptMemberAttribute on them, since it doesn't expect the RefSafetyRulesAttribute nor the associated types in the modules.
Related to https://github.com/dotnet/runtime/issues/76032
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.