Skip to content

Conversation

@magicxor
Copy link
Owner

Configures the project to use a higher level of code analysis,
and disables specific Roslyn analyzers that are deemed
unnecessary or too verbose for the project's needs.

This ensures a higher standard of code quality and consistency
through more comprehensive static analysis.

Configures the project to use a higher level of code analysis,
and disables specific Roslyn analyzers that are deemed
unnecessary or too verbose for the project's needs.

This ensures a higher standard of code quality and consistency
through more comprehensive static analysis.
Copilot AI review requested due to automatic review settings November 13, 2025 04:30
@magicxor magicxor self-assigned this Nov 13, 2025
Copilot finished reviewing on behalf of magicxor November 13, 2025 04:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR upgrades the .NET code analysis level from 9-all to 10-all to enable more comprehensive static code analysis, and disables the CA1873 analyzer which flags expensive argument evaluations in logging calls when logging is disabled.

  • Upgrades AnalysisLevel from 9-all to 10-all in Directory.Build.props
  • Adds CA1873 analyzer suppression to .editorconfig

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Directory.Build.props Updates the AnalysisLevel property to enable .NET 10 code analyzers
.editorconfig Disables CA1873 analyzer to suppress warnings about potentially expensive logging argument evaluations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <[email protected]>
@magicxor magicxor merged commit 86307c7 into master Nov 13, 2025
4 checks passed
@magicxor magicxor deleted the feature/enable-more-analyzers branch November 13, 2025 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants