Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump AnalysisLevel to 8 #4131

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

Morilli
Copy link
Collaborator

@Morilli Morilli commented Dec 4, 2024

This bumps the AnalysisLevel for code analyzers from 6 to 8, enabling more analyzers by default. This is now safe as we require the .NET 8 SDK to build.

I've applied fixes and severity changes to all new inspections. Open to feedback on whether any of those are disagreed on.

Check if completed:

A bit of a controversial one maybe, but sadly this one isn't shown in the IDE so putting it on suggestion level is useless, so it's either warning or nothing.
This inspection is pretty jank and doesn't show half the time. I think it has its valid cases, but it shouldn't be on warning level.
Way too aggressive and even flags private static initializers that only run once. Unusable as is.
@Morilli Morilli added the Meta Relating to code organisation or to things that aren't code label Dec 4, 2024
I guarantee this never worked correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Meta Relating to code organisation or to things that aren't code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant