Skip to content

Add new analyzers and fix bugs

Choose a tag to compare

@maroontress-tomohisa maroontress-tomohisa released this 08 Mar 23:23
· 9 commits to main since this release
22b16b4

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

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 new expression
      • Collection expression
      • null literal
      • default literal
    • replace an ArrayCreationExpression node with an ImplicitArrayCreationExpression node
    • remove the period at the end of the sentence in the Code Fix titles