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

Tag analyzer diagnostics as non configurable - #2252

Merged
mateoatr merged 1 commit into
dotnet:mainfrom
mateoatr:notConfigurableDiags
Sep 3, 2021
Merged

mateoatr merged 1 commit into
dotnet:mainfrom
mateoatr:notConfigurableDiags

Conversation

@mateoatr

@mateoatr mateoatr commented Sep 2, 2021

Copy link
Copy Markdown
Contributor

This PR tags the set of diagnostics produced by the trimmer analyzer as non configurable so that the option to generate a global suppression file is not shown to the user (since this would not work for these diagnostics, see #2251).

@agocke

agocke commented Sep 2, 2021

Copy link
Copy Markdown
Member

Unfortunately I don't really know a good way to test this, I assume you just looked at the VS UI and confirmed that the option was hidden?

@mateoatr

mateoatr commented Sep 3, 2021

Copy link
Copy Markdown
Contributor Author

Unfortunately I don't really know a good way to test this, I assume you just looked at the VS UI and confirmed that the option was hidden?

This is correct. I could not figure a way to have a written test for this either, so I just validated it manually.

@agocke agocke 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

@agocke

agocke commented Sep 3, 2021

Copy link
Copy Markdown
Member

Feel free to backport to 6.0 after merging

@mateoatr
mateoatr merged commit 3e5edda into dotnet:main Sep 3, 2021
mateoatr added a commit to mateoatr/linker that referenced this pull request Sep 3, 2021
mateoatr added a commit that referenced this pull request Sep 3, 2021
mateoatr added a commit that referenced this pull request Sep 3, 2021
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
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.

2 participants