Skip to content

Releases: dotnet/roslynator

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

v1.2.13

11 Feb 15:01
Compare
Choose a tag to compare

Analyzers

New Analyzers
  • SortEnumMembers
  • UseStringComparison
  • UseStringLengthInsteadOfComparisonWithEmptyString
  • CompositeEnumValueContainsUndefinedFlag
  • AvoidStaticMembersInGenericTypes
  • UseGenericEventHandler
  • AbstractTypeShouldNotHavePublicConstructors
  • EnumMemberShouldDeclareExplicitValue
  • AvoidChainOfAssginments

Refactorings

New Refactorings
  • ReplaceExpressionWithConstantValue

v1.2.12

02 Feb 15:27
Compare
Choose a tag to compare

Analyzers

New Analyzers
  • SimplifyCoalesceExpression
  • MarkContainingClassAsAbstract
  • RemoveRedundantAsOperator
  • UseConditionalAccess
  • RemoveInapplicableModifier
  • RemoveUnreachableCode
  • RemoveImplementationFromAbstractMember
  • CallStringConcatInsteadOfStringJoin
  • RemoveRedundantCast
  • MemberTypeMustMatchOverriddenMemberType
  • AddEmptyLineAfterClosingBrace

Refactorings

New Refactorings
  • SortMemberDeclarations
  • ReplaceWhileWithFor
  • GenerateEnumValues
  • GenerateEnumMember
  • GenerateCombinedEnumMember

v1.2.11

27 Jan 07:57
Compare
Choose a tag to compare

Analyzers

New Analyzers
  • BitwiseOperatorOnEnumWithoutFlagsAttribute
  • ReplaceReturnWithYieldReturn
  • RemoveRedundantOverridenMember
  • RemoveRedundantDisposeOrCloseCall
  • RemoveRedundantContinueStatement
  • DeclareEnumMemberWithZeroValue
  • MergeSwitchSectionsWithEquivalentContent
  • AddDocumentationComment
  • AddSummaryToDocumentationComment
  • AddSummaryElementToDocumentationComment
  • AddExceptionToDocumentationComment
  • AddParameterToDocumentationComment
  • AddTypeParameterToDocumentationComment

v1.2.10

22 Jan 05:10
Compare
Choose a tag to compare

Analyzers

New Analyzers
  • ReplaceReturnStatementWithExpressionStatement
  • AddBreakStatementToSwitchSection
  • AddReturnStatementThatReturnsDefaultValue
  • MarkLocalVariableAsConst
  • CallFindMethodInsteadOfFirstOrDefaultMethod
  • UseElementAccessInsteadOfElementAt
  • UseElementAccessInsteadOfFirst
  • AddMissingSemicolon
  • AddParenthesesAccordingToOperatorPrecedence
  • InlineLocalVariable
  • MarkMemberAsStatic
  • AvoidEmbeddedStatementInIfElse
  • MergeLocalDeclarationWithInitialization
  • UseCoalesceExpression
  • RemoveRedundantFieldInitialization