Skip to content

Conversation

@sbomer
Copy link
Member

@sbomer sbomer commented Mar 23, 2022

We don't allow RUC on static constructors, and putting one there produces a warning. The current behavior happens to silence warnings from the cctor but it seems more consistent for it not to have any effect on the warnings since it isn't supported.

@sbomer sbomer requested a review from marek-safar as a code owner March 23, 2022 23:55
@sbomer sbomer requested a review from tlakollo March 23, 2022 23:55
Copy link
Contributor

@tlakollo tlakollo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks :D

@sbomer sbomer merged commit 7ef273a into dotnet:main Mar 24, 2022
@sbomer sbomer deleted the rucFixes branch April 14, 2022 18:33
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
* Don't let RUC on cctor silence warnings


Commit migrated from dotnet/linker@7ef273a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants