Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Suppress warning in instance fields - #2973

Merged
tlakollo merged 1 commit into
dotnet:mainfrom
tlakollo:InstanceFieldSuppression
Aug 15, 2022
Merged

tlakollo merged 1 commit into
dotnet:mainfrom
tlakollo:InstanceFieldSuppression

Conversation

@tlakollo

Copy link
Copy Markdown
Contributor

Suppress warning in instance fields if the instance constructors are annotated with Requires

Fixes #2970
Related to dotnet/runtime#73853

@jtschuster jtschuster left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@tlakollo
tlakollo merged commit 6b5bc03 into dotnet:main Aug 15, 2022
@tlakollo
tlakollo deleted the InstanceFieldSuppression branch August 15, 2022 20:20
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instance fields requires warnings should be suppressed if the constructor is annotated

2 participants