Skip to content

Releases: dotnet/roslynator

v1.4.0

29 May 08:05
Compare
Choose a tag to compare

Analyzers

  • Delete analyzer MergeLocalDeclarationWithReturnStatement (RCS1054) - Its functionality is incorporated into analyzer InlineLocalVariable (RCS1124).
  • Disable analyzer FormatAccessorList (RCS1024) by default.
  • Disable analyzer FormatEmptyBlock (RCS1023) by default.
  • Modify analyzer RemoveEmptyRegion (RCS1091) - Change default severity from Info to Hidden.
  • Modify analyzer CompositeEnumValueContainsUndefinedFlag (RCS1157) - Change default severity from Warning to Info.
  • Modify analyzer RemoveRedundantParentheses (RCS1032) - Exclude following syntaxes from analyzer:
    • AssignmentExpression.Right
    • ForEachExpression.Expression
    • EqualsValueClause.Value

Refactorings

  • Modify refactoring CheckExpressionForNull (RR0024) - Do not add empty line.

v1.3.11

18 May 04:12
Compare
Choose a tag to compare
  • A lot of bug fixes and improvements.

v1.3.10

24 Apr 14:41
Compare
Choose a tag to compare

Analyzers

  • Improve analyzer RemoveInapplicableModifier (RCS1147) - Analyze local function.
  • Improve analyzer SimplifyMethodChain (RCS1077) - Merge combination of Where and Any.
  • Improve analyzer StaticMemberInGenericTypeShouldUseTypeParameter (RCS1158) - Member must be public, internal or protected internal.
New Analyzers
  • CallDebugFailInsteadOfDebugAssert (RCS1178)
  • UseReturnInsteadOfAssignment (RCS1179)
  • InlineLazyInitialization (RCS1180)
  • ReplaceCommentWithDocumentationComment (RCS1181)
  • RemoveRedundantBaseInterface (RCS1182)
  • FormatInitializerWithSingleExpressionOnSingleLine (RCS1183)
  • FormatConditionalExpression (RCS1184)
  • AvoidSingleLineBlock (RCS1185)

v1.3.0

02 Apr 14:28
Compare
Choose a tag to compare
  • Add support for configuration file.

Analyzers

  • Disable UseVarInsteadOfExplicitTypeWhenTypeIsNotObvious (RCS1176) by default.
  • Disable UseVarInsteadOfExplicitTypeInForEach (RCS1177) by default.

v1.2.53

27 Mar 04:52
Compare
Choose a tag to compare
  • Bug fixes.
  • Filter list of refactorings in options.
  • Change default severity of AddExceptionToDocumentationComment (RCS1140) from Warning to Hidden.
  • Change default severity of EnumMemberShouldDeclareExplicitValue (RCS1161) from Warning to Hidden.

v1.2.52

22 Mar 08:31
Compare
Choose a tag to compare

Analyzers

New Analyzers
  • UseVarInsteadOfExplicitTypeWhenTypeIsNotObvious (RCS1176)
  • UseVarInsteadOfExplicitTypeInForEach (RCS1177)

Refactorings

New Refactorings
  • InlineUsingStatic (RR0180)

v1.2.50

13 Mar 01:30
Compare
Choose a tag to compare
  • Improved options page with a list of refactorings.
    • Refactorings are displayed in WPF control instead of property grid.
    • Each refactoring has an identifier 'RR....' to avoid confusion with analyzers.

Analyzers

New Analyzers
  • UnusedThisParameter

Refactorings

New Refactorings
  • ImplementIEquatableOfT
  • AddTypeParameter

v1.2.16

01 Mar 23:46
Compare
Choose a tag to compare

Analyzers

New Analyzers
  • SimplifyLazilyInitializedProperty
  • UseIsOperatorInsteadOfAsOperator
  • UseCoalesceOperatorInsteadOfIf
  • RemoveRedundantAsyncAwait

Refactorings

New Refactorings
  • ReplaceHexadecimalLiteralWithDecimalLiteral
  • WrapInElseClause

v1.2.15

23 Feb 19:03
Compare
Choose a tag to compare

Analyzers

Changes
  • Analyzer RemoveRedundantBraces was deleted.
New Analyzers
  • MarkFieldAsReadOnly
  • UseReadOnlyAutoProperty

v1.2.14

19 Feb 14:39
Compare
Choose a tag to compare

Analyzers

New Analyzers
  • ParameterNameDiffersFromBase
  • OverridingMemberCannotChangeAccessModifiers
  • ValueTypeCheckedForNull
  • UnconstrainedTypeParameterCheckedForNull
  • UnusedTypeParameter
  • UnusedParameter