Repository navigation
Add new analyzers and fix bugs
·
9 commits
to main
since this release
Requirements to run
- Visual Studio 2022 (17.13.2) or .NET 9 (SDK 9.0.200)
Requirements to build
- Visual Studio 2022 (17.13.2) or .NET 9 (SDK 9.0.200)
New
- Add NoUsingDeclaration analyzer
- Add NullCheckAfterDeclaration analyzer
Fixed
- Fix SingleTypeParameter analyzer to:
- ignore the type parameter that causes compilation errors or warnings when applying the code fix.
- remove the period at the end of the sentence in the Code Fix titles
- Fix RedundantTypedArrayCreation analyzer to:
- ignore explicitly typed array creation where all the elements are one of the following:
- Target-typed
newexpression - Collection expression
nullliteraldefaultliteral
- Target-typed
- replace an
ArrayCreationExpressionnode with anImplicitArrayCreationExpressionnode - remove the period at the end of the sentence in the Code Fix titles
- ignore explicitly typed array creation where all the elements are one of the following: