Releases: dotnet/roslynator
Releases · dotnet/roslynator
v2.2.1
- Add set of formatting analyzers (RCS0...).
v2.2.0
Analyzers
- Disable analyzer FormatBinaryOperatorOnNextLine by default.
v2.1.3
Analyzers
-
Publish package Roslynator.CodeAnalysis.Analyzers 1.0.0-beta
-
Add analyzer UseExceptionFilter (RCS1236).
-
Add analyzer UseBitShiftOperator (RCS1237).
-
Add analyzer AvoidNestedConditionalOperators (RCS1238).
-
Add analyzer UseForStatementInsteadOfWhileStatement (RCS1239).
-
Add analyzer UnnecessaryOperator (RCS1240).
-
Add analyzer ImplementNonGenericCounterpart (RCS1241).
Refactorings
- Add refactoring AddParameterToInterfaceMember (RR0213)
v2.1.1
Analyzers
- Add analyzer OptimizeMethodCall (RCS1235).
- Incorporate RCS1150 and RCS1178 into RCS1235.
- Enable by default analyzer FormatEmptyBlock (RCS1023) and change default severity to 'Hidden'.
- Change default severity of analyzer ParameterNameDiffersFromBaseName (RCS1168) to 'Hidden'.
Refactorings
- Add refactoring DuplicateSwitchSection (RR0214)
v2.1.0
- Export/import Visual Studio options.
Analyzers
- Disable analyzer MakeParameterRefReadOnly by default.
Code Fixes
- Add code fixes for CS0191, CS0192, CS1012.
v2.0.2
- First release of Roslynator 2019 (for Visual Studio 2019)
New Features
- Support global suppression of diagnostics.
- Go to Visual Studio Tools > Options > Roslynator > Global Suppressions
Analyzers
- Add analyzer OrderElementsInDocumentationComment (RCS1232)
- Add analyzer UseShortCircuitingOperator (RCS1233)
- Add analyzer DuplicateEnumValue (RCS1234)
Refactorings
- Refactoring ReplaceConditionalExpressionWithIfElse (RR0120) can be applied recursively.
- Add refactoring ChangeTypeAccordingToExpression (RR0022)
- Add refactoring ImplementCustomEnumerator (RR0210)
- Add refactoring ConvertStatementsToIfElse (RR0211)
Code Fixes
- Add code fix for CS0029, CS0131, CS0621, CS3000, CS3001, CS3002, CS3003, CS3005, CS3006, CS3007, CS3008, CS3009, CS3016, CS3024, CS3027.
v2.0.1
Analyzers
- Add analyzer UnnecessaryUsageOfEnumerator (RCS1230)
- Add analyzer MakeParameterRefReadOnly (RCS1231)
v2.0.0
New Features
- Add nuget package Roslynator.CommandLine
Analyzers
- Change default severity of RCS1141, RCS1142 and RCS1165 to 'Hidden'
- Disable RCS1174 by default
- Improve analyzer RCS1128 -
x.GetValueOrDefault(y)
can be replaced withx ?? y
- Change code fix for RCS1194 - do not generate "serialization" constructor
Refactorings
- Add refactoring RemoveAsyncAwait (RR0209)
Code Fixes
- Add code fix for CS0119.
v1.9.2
Analyzers
- Add analyzer UnusedElementInDocumentationComment (RCS1228)
- Add analyzer UseAsyncAwait (RCS1229)
- Add code fix for analyzer UnusedParameter (RCS1163)
Refactorings
- Add refactoring AddTagToDocumentationComment (RR0208)
Code Fixes
- Add code fixes for CS8050 and CS8139.
v1.9.1
Analyzers
- Add analyzer ValidateArgumentsCorrectly (RCC1227)
Refactorings
-
Add refactoring ReplaceForEachWithEnumerator (RR0206)
-
Add refactoring SortCaseLabels (RR0207)
-
Enable refactorings UseExpressionBodiedMember and ExpandExpressionBody for multiple members (RR0037, RR0169).
-
Extend refactoring ReduceIfNesting and rename it to InvertIf (RR0189).