Skip to content

Add auto-generated to EmbeddedAttribute#79960

Merged
jjonescz merged 1 commit intodotnet:mainfrom
michha:bugfix/fix-ca1018-on-embeddedattribute
Aug 20, 2025
Merged

Add auto-generated to EmbeddedAttribute#79960
jjonescz merged 1 commit intodotnet:mainfrom
michha:bugfix/fix-ca1018-on-embeddedattribute

Conversation

@michha
Copy link
Contributor

@michha michha commented Aug 19, 2025

Prevents warning CA1018: Specify AttributeUsage on EmbeddedAttribute
EmbeddedAttribute was introduced in #76583

Specifying AttributeUsage was attempted in PR #79942, but it did not succeed.

@michha michha requested a review from a team as a code owner August 19, 2025 17:15
@dotnet-policy-service dotnet-policy-service bot added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Aug 19, 2025
@michha michha changed the title add auto-generated to EmbeddedAttribute Add auto-generated to EmbeddedAttribute Aug 19, 2025
@333fred
Copy link
Member

333fred commented Aug 19, 2025

@dotnet/roslyn-compiler for review

@jjonescz jjonescz merged commit 47cf834 into dotnet:main Aug 20, 2025
25 checks passed
@jjonescz
Copy link
Member

Thanks @michha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Compilers Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants