Releases: dotnet/roslynator
Releases · dotnet/roslynator
v1.4.57
Refactorings
New Refactorings
- ReplaceIfElseWithIfReturn (RR0190)
Code Fixes
- Add code fix for CS0021.
v1.4.56
Analyzers
New Analyzers
- ReorderTypeParameterConstraints (RCS1209)
v1.4.55
Code Fixes
- Add code fixes for CS0077, CS0201, CS0472, CS1623.
Analyzers
New Analyzers
- ReduceIfNesting (RCS1208)
Refactorings
New Refactorings
- ReduceIfNesting (RR0189)
v1.4.54
Code Fixes
- Improve code fixes for CS0162, CS1061.
Analyzers
- Add code fix for analyzer ParameterNameDiffersFromBase (RCS1168)
New Analyzers
- UseAttributeUsageAttribute (RCS1203)
- UseEventArgsEmpty (RCS1204)
- ReorderNamedArguments (RCS1205)
- UseConditionalAccessInsteadOfConditionalExpression (RCS1206)
- UseMethodGroupInsteadOfAnonymousFunction (RCS1207)
v1.4.53
Code Fixes
- New code fixes for CS0139, CS0266, CS0592, CS1689.
Analyzers
New Analyzers
- SimplifyBooleanExpression (RCS1199)
- CallThenByInsteadOfOrderBy (RCS1200)
- UseMethodChaining (RCS1201)
- UseConditionalAccessToAvoidNullReferenceException (RCS1202)
v1.4.52
Code Fixes
- New code fixes for CS0115, CS1106, CS1621, CS1988.
v1.4.51
Refactorings
- MarkContainingClassAsAbstract (RR0073) has been replaced with code fix.
New Refactorings
- FormatWhereConstraint (RR0187)
- ReplaceForEachWithForAndReverseLoop (RR0188)
Code Fixes
New Code Fixes
Code fixes has been added for the following compiler diagnostics:
- NamespaceAlreadyContainsDefinition (CS0101)
- TypeAlreadyContainsDefinition (CS0102)
- TypeOfConditionalExpressionCannotBeDetermined (CS0173)
- OutParameterMustBeAssignedToBeforeControlLeavesCurrentMethod (CS0177)
- NewConstraintMustBeLastConstraintSpecified (CS0401)
- DuplicateConstraintForTypeParameter (CS0405)
- ConstraintClauseHasAlreadyBeenSpecified (CS0409)
- ClassOrStructConstraintMustComeBeforeAnyOtherConstraints (CS0449)
- CannotSpecifyBothConstraintClassAndClassOrStructConstraint (CS0450)
- NewConstraintCannotBeUsedWithStructConstraint (CS0451)
- TypeParameterHasSameNameAsTypeParameterFromOuterType (CS0693)
- StaticTypesCannotBeUsedAsTypeArguments (CS0718)
- PartialMethodCannotHaveAccessModifiersOrVirtualAbstractOverrideNewSealedOrExternModifiers (CS0750)
- NoDefiningDeclarationFoundForImplementingDeclarationOfPartialMethod (CS0759)
- PartialMethodsMustHaveVoidReturnType (CS0766)
- MethodHasParameterModifierThisWhichIsNotOnFirstParameter (CS1100)
- ExtensionMethodMustBeStatic (CS1105)
- ElementsDefinedInNamespaceCannotBeExplicitlyDeclaredAsPrivateProtectedOrProtectedInternal (CS1527)
- AsyncModifierCanOnlyBeUsedInMethodsThatHaveBody (CS1994)
v1.4.50
- Add code fixes that fix 80+ compiler diagnostics (like 'CS0001')
Analyzers
-
Following analyzers have been replaced with code fixes:
- ReplaceReturnStatementWithExpressionStatement (RCS1115)
- AddBreakStatementToSwitchSection (RCS1116)
- AddReturnStatementThatReturnsDefaultValue (RCS1117)
- AddMissingSemicolon (RCS1122)
- MarkMemberAsStatic (RCS1125)
- ReplaceReturnWithYieldReturn (RCS1131)
- AddDocumentationComment (RCS1137)
- MarkContainingClassAsAbstract (RCS1144)
- RemoveInapplicableModifier (RCS1147)
- RemoveUnreachableCode (RCS1148)
- RemoveImplementationFromAbstractMember (RCS1149)
- MemberTypeMustMatchOverriddenMemberType (RCS1152)
- OverridingMemberCannotChangeAccessModifiers (RCS1176)
Refactorings
-
Following refactorings have been replaced with code fixes:
- AddBooleanComparison (RR0001)
- ExtractDeclarationFromUsingStatement (RR0042)
- MarkMemberAsStatic (RR0072)
- ReplaceCountWithLengthOrLengthWitCount (RR0122)
- ReplaceStringLiteralWithCharacterLiteral (RR0146)
New Refactorings
- ChangeAccessibility (RR0186)
v1.4.13
Analyzers
New Analyzers
- OptimizeStringBuilderAppendCall (RCS1197)
- AvoidBoxingOfValueType (RCS1198)
v1.4.12
Analyzers
New Analyzers
- UseRegularStringLiteralInsteadOfVerbatimStringLiteral (RCS1192)
- OverridingMemberCannotChangeParamsModifier (RCS1193)
- ImplementExceptionConstructors (RCS1194)
- UseExclusiveOrOperator (RCS1195)
- CallExtensionMethodAsInstanceMethod (RCS1196)
Refactorings
New Refactorings
- UseListInsteadOfYield (RR0183)
- SplitIfStatement (RR0184)
- ReplaceObjectCreationWithDefaultValue (RR0185)