All Versions
Latest Version
Avg Release Cycle
53 days
Latest Release
64 days ago

Changelog History
Page 1

  • v3.2.2 Changes

    August 15, 2021
    • Ensure that shared assemblies with be loaded properly on .NET Core (issue)
  • v3.2.1 Changes

    June 30, 2021
    • Publish Roslynator for Visual Studio 2022 Preview
    • ๐Ÿ› Bug fixes and various improvements
  • v3.2.0 Changes

    April 26, 2021
    • ๐Ÿ“ฆ Publish Roslynator Testing Framework
    • ๐Ÿ‘Œ Support editorconfig to configure analyzer options (commit)
    • โšก๏ธ Update references to Roslyn API to 3.8.0
    • ๐Ÿ›  A bunch of bug fixes


    ๐Ÿ›  Code Fixes

    • โž• Add code fix for CS7036 (commit)
    • โž• Add code fix for CS8632 (commit)
    • ๐Ÿ‘Œ Improve code fix for CS0029, CS0246 (commit)
    • โž• Add option for code fix for CS1591 (commit)
  • v3.1.0 Changes

    January 04, 2021
    • โž• Add analyzer RCS0056 (Line is too long)
    • โž• Add option to suppress diagnostic from Unity script methods (RCS1213)
    • ๐Ÿ“œ Consider syntax var foo = Foo.Parse(value) as having obvious type Foo
    • โšก๏ธ Update references to Roslyn API to 3.7.0
  • v3.0.1 Changes

    October 19, 2020

    โž• Add analyzer RCS0055 (Fix formatting of a binary expression chain)

    โž• Add analyzer RCS0054 (Fix formatting of a call chain)

    โž• Add analyzer RCS0053 (Fix formatting of a list)

    โž• Add analyzer RCS0052 (Add newline before equals sign instead of after it (or vice versa))

    โž• Add analyzer RCS1248 (Use 'is null' pattern instead of comparison (or vice versa)) (issue)

    โž• Add analyzer RCS1247 (Fix documentation comment tag)

    โž• Add analyzer option RCS1207i (Convert method group to anonymous function)

    โž• Add analyzer option RCS1090i (Remove call to 'ConfigureAwait')

    โž• Add analyzer option RCS1018i (Remove accessibility modifiers) (issue)

    โž• Add analyzer option RCS1014i (Use implicitly typed array)

    โž• Add analyzer option RCS1014a (Use implicitly typed array (when type is obvious))

    โž• Add analyzer option RCS1078i (Use string.Empty instead of "")

    โž• Add analyzer option RCS1016a (Convert expression-body to block body when expression is multi-line)

    โž• Add analyzer option RCS1016b (Convert expression-body to block body when declaration is multi-line)

    0๏ธโƒฃ Disable by default analyzer RCS1207i (Convert method group to anonymous function)

    โœ‚ Remove analyzer RCS1219 (Call 'Enumerable.Skip' and 'Enumerable.Any' instead of 'Enumerable.Count')

    ๐Ÿ“„ Rename analyzer "Avoid 'null' on left side of binary expression" to "Constant values should be placed on right side of comparisons" RCS1098

    ๐Ÿ“„ Rename analyzer "Simplify boolean expression" to "Unncessary null check" RCS1199 (issue)

    More syntax is considered as having obvious type:

    • string literal
    • character literal
    • boolean literal
    • implicit array creation that contains only expressions whose type is obvious
  • v3.0.0 Changes

    June 16, 2020

    ๐Ÿ†• New Analyzers

    • ๐Ÿšš RCS0048 (Remove newlines from initializer with single-line expression).
    • ๐Ÿ“„ RCS0049 (Add empty line after top comment).
    • ๐Ÿ“„ RCS0050 (Add empty line before top declaration).
    • ๐Ÿ“„ RCS0051 (Add newline between closing brace and 'while' keyword (or vice versa)).
    • ๐Ÿ“„ RCS1246 (Use element access).

    ๐Ÿ†• New Refactorings

    • โ™ป๏ธ RR0214 (Convert 'switch' expression to 'switch' statement).
  • v2.9.0 Changes

    March 13, 2020
    • Switch to Roslyn 3.x libraries
    • โž• Add Directory.Build.props file
    • โž• Add open configuration commands to Command Palette (VS Code) (PR)

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix key duplication/handle camel case names in omnisharp.json (PR)
    • ๐Ÿ“„ Use prefix unary operator instead of postfix unary operator (RCS1089) (issue)
    • ๐Ÿ“„ Cast of this to its interface cannot be null (RCS1202) (issue)
    • ๐Ÿšš Do not remove braces in switch section if it contains 'using variable' (RCS1031) (issue)

    ๐Ÿ†• New Analyzers

    • ๐Ÿ“„ RCS1242 (DoNotPassNonReadOnlyStructByReadOnlyReference).
    • ๐Ÿ“„ RCS1243 (DuplicateWordInComment).
    • 0๏ธโƒฃ RCS1244 (SimplifyDefaultExpression).
    • ๐Ÿ“„ RCS1245 (SimplifyConditionalExpression2) (issue).


    • 0๏ธโƒฃ Disable analyzer RCS1057 by default (issue).
    • ๐Ÿ”€ Merge analyzer RCS1156 with RCS1113 (issue).
      • x == "" should be replaced with string.IsNullOrEmpty(x)
    • ๐Ÿ‘Œ Improve analyzer RCS1215 (commit).
      • x == double.NaN should be replaced with double.IsNaN(x)
    • ๐Ÿ“„ Enable RCS1169 and RCS1170 if the type is read-only struct (commit).
    • ๐Ÿ‘Œ Improve analyzer RCS1077 (commit).
      • x.OrderBy(y => y).Reverse() can be simplified to x.OrderByDescending(y => y)
      • x.SelectMany(y => y).Count() can be simplified to x.Sum(y => y.Count) if x has Count or Length property
    • ๐Ÿ‘Œ Improve analyzer RCS1161 - Declare explicit enum value using << operator (commit).
    • ๐Ÿ‘Œ Improve analyzer RCS1036 - remove empty line between documentation comment and declaration (commit).
    • ๐Ÿ‘Œ Improve analyzer RCS1037 - remove trailing white-space from documentation comment (commit).
    • ๐Ÿ‘Œ Improve analyzer RCS1143 (commit)
      • x?.M() ?? default(int?) can be simplified to x?.M() if x is a nullable struct.
    • ๐Ÿ‘Œ Improve analyzer RCS1206 (commit)
      • (x != null) ? x.M() : default(int?) can be simplified to x?.M() if x is a nullable struct.
  • v2.3.1 Changes

    January 20, 2020
    • ๐Ÿš€ Last release of package Roslynator.Analyzers (2.3.0) that references Roslyn 2.x (VS 2017)
  • v2.3.0 Changes

    December 28, 2019
    • ๐Ÿš€ Last release of Roslynator for VS 2017
    • โšก๏ธ Automatically update configuration in omnisharp.json (VS Code) (PR).
  • v2.2.1 Changes

    October 26, 2019
    • โž• Add set of formatting analyzers (RCS0...).