dotnet / dotnet/linker

Compiler injects RefSafetyRulesAttribute into assemblies

Open
#3,076 2 comments 0 reactions 1 assignee Claimed by @tlakollo View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.