Skip to content

Conversation

@filzrev
Copy link
Contributor

@filzrev filzrev commented Mar 8, 2025

This PR intended to reduce analyzer suggestion messages (It's tracked by #9207)

Suggestion messages that suppressed on solution level
Following suggestion messages raise a lot of message.
But it's not useful. So these messages are suppressed on solution level.

  • IDE0058: Remove unnecessary expression value
  • IDE0130: Namespace does not match folder structure

Suggestion messages that suppressed on test project level
Following **performance related ** suggestion messages are suppressed on test projects.

  • CA1816: Call GC.SuppressFinalize correctly
  • CA1861: Avoid constant arrays as arguments
  • CA1869: Cache and reuse 'JsonSerializerOptions' instances

@filzrev filzrev force-pushed the chore-reduce-analyzer-message branch from d1defdb to 27b3650 Compare March 8, 2025 05:30
@filzrev filzrev force-pushed the chore-reduce-analyzer-message branch from 3210ebb to 7b72614 Compare March 8, 2025 05:44
@filzrev filzrev force-pushed the chore-reduce-analyzer-message branch from 7b72614 to a3920b8 Compare March 8, 2025 05:59
Copy link
Contributor

@yufeih yufeih left a comment

Choose a reason for hiding this comment

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

Thank you @filzrev

@yufeih yufeih merged commit f9c5bf8 into dotnet:main Mar 11, 2025
10 checks passed
This was referenced Oct 24, 2025
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