Skip to content

Add EqualsNull and IsNull analyzers and fix some bugs.

Compare
Choose a tag to compare
@maroontress-tomohisa maroontress-tomohisa released this 15 Mar 15:42
cb596a3

Requirements to run

  • Visual Studio 2017 (15.9) or .NET Core 2.1 (2.1.500)

Requirements to build

  • Visual Studio 2017 (15.9)

New

Changed

  • Fix UnnecessaryUsing analyzer to count more classes: System.IO.StringReader, System.IO.StringWriter and System.IO.UnmanagedMemoryAccessor.

Fixed

  • Fix bugs of RedundantTypedArrayCreation, PostIncrement, EmptyArrayCreation, IneffectiveReadByte, StaticGenericClass, TypeClassParameter and UnnecessaryUsing code fix providers to work in some cases. For example, the EmptyArrayCreation code fix provider is fixed to work if there is an empty array creation as an argument.
  • Fix bugs of TypeClassParameter analyzer to count the typeof operator with the operand that is static class.