Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@giggio giggio released this 20 May 05:53
· 58 commits to master since this release
v1.1.0
1adbd86

New analyzers and bug fixes 馃悰

We fixed several bugs and added some new analyzers. See the changelog for details.

Minimum supported version: VS 2015 Update 3

VS 2015 update 1 and update 2 will no longer work with CodeCracker. Please update your VS.

This release targets the 1.1.0 version of the Roslyn API (Microsoft.CodeAnalysis.*), we have updated to Roslyn 1.3.2 on this version.

Last Visual Studio 2015 version

This is the last version to support Visual Studio 2015. This is also the last 1.x version. There might be fixes for 1.1 as 1.1.x, but there will not be a 1.2.0 version. We will go directly to version 2, which will support the latest Visual Studio 2017, already with C# 7 support. We also plan to support .NET Standard (and with it .NET Core). This release will come soon, we will update the project infrastructure and release it.

These are the known issues:

Known issues for both languages:

  • #791 BUG: CC0057 suggests removing parameter but it is required by a matching delegate

C# Known issues:

  • #869 BUG: CC0105 and CC0001 should not be offered when there are multiple declarations
  • #879 BUG: CC0022 DisposableVariableNotDisposedAnalyzer: False positive for containers
  • #903 BUG: CC0052 - ReadonlyFieldAnalyzer duplicates preprocessor directive
  • #912 BUG: CC0057 Parameter not used false positive in Constructor Expression Body
  • #914 Bug: CC0033 "Field should be disposed" is incorrectly raised on an assignment in a constructor
  • #923 BUG: CC0065 "Remove trailing whitespace" bug with pragmas
  • #924 BUG: CC0043 ChangeAnyToAll exception on non-LINQ methods
  • #928 BUG: CC0017 Autoproperty should not trigger with ref and out uses
  • #929 BUG: CC0095 String Interpolation eats pragmas and comments
  • #930 BUG: CC0020 cannot be used
  • #943 BUG: CC0035 doesn't respect readonly
  • #947 BUG: CC0031 false positive

VB Known issues:

  • #827 Bug: CC0039 False positive when concatenating to loop variable propery/field (StringBuilderInLoop) (VB)
  • #925 BUG: CC0021 generates a use NameOf for a constant defined as itself
  • #960 BUG: CC0030 (MakeLocalVariableConst) - False positive on reference types initialized to Nothing (VB)

Stats:

  • In C#: 73 Analyzers in C#, 75 Code fixes, 6 Fix all
  • In VB: 23 Analyzers in VB, 21 Code fixes, 1 Fix All
  • 2131 tests
  • 92% code coverage

As usual, you should go to Nuget (C#, VB) to get the packages or download the extension on the Visual Studio Marketplace (C#, VB).

For a list of what worked on see the corresponding milestone and the detailed changelog. For the commits, see the full changelog.