Releases: dotnet/roslynator
Releases · dotnet/roslynator
v1.9.0
v1.8.3
Analyzers
-
Add analyzer MarkTypeWithDebuggerDisplayAttribute (RCC1223)
-
Add analyzer MakeMethodExtensionMethod (RCC1224)
-
Add analyzer MakeSealedClass (RCC1225)
-
Add analyzer AddParagraphToDocumentationComment (RCC1226)
-
Improve analyzer UseConditionalAccess (RCS1146)
x == null || x.y
can be simplified tox?.y != false
x == null || !x.y
can be simplified tox?.y != true
Refactorings
- Improve refactoring FormatExpressionChain (RR0051)
- A chain that contains conditional access (
x?.y
) will be properly formatted.
- A chain that contains conditional access (
v1.8.2
Analyzers
- Add analyzer UsePatternMatchingInsteadOfIsAndCast (RCS1220)
- Add analyzer UsePatternMatchingInsteadOfAsAndNullCheck (RCS1221)
- Add analyzer MergePreprocessorDirectives (RCS1222)
Code Fixes
- Add code fixes for CS0136, CS0210, CS1003, CS1624 and CS1983.
v1.8.1
Analyzers
- Add analyzer SimplifyCodeBranching (RCS1218)
- Add analyzer CallSkipAndAnyInsteadOfCount (RCS1219) (split from RCS1083)
Refactorings
- Add refactoring MoveUnsafeContextToContainingDeclaration (RR0202)
- Add refactoring ExtractEventHandlerMethod (RR0203)
- Add refactoring GeneratePropertyForDebuggerDisplayAttribute (RR0204)
- Add refactoring AddEmptyLineBetweenDeclarations (RR0205)
Code Fixes
- Add code fixes for CS0152, CS0238, CS0524, CS0525, CS0549, CS0567, CS0568, CS0574, CS0575, CS0714, CS1737, CS1743, CS8340.
v1.8.0
Analyzers
Changes of "IsEnabledByDefault"
- RCS1008: disabled by default
- RCS1009: disabled by default
- RCS1010: disabled by default
- RCS1035: disabled by default
- RCS1040: enabled by default
- RCS1073: enabled by default
Changes of "DefaultSeverity"
- RCS1017: from Warning to Info
- RCS1026: from Warning to Info
- RCS1027: from Warning to Info
- RCS1028: from Warning to Info
- RCS1030: from Warning to Info
- RCS1044: from Info to Warning
- RCS1045: from Warning to Info
- RCS1055: from Info to Hidden
- RCS1056: from Warning to Info
- RCS1073: from Hidden to Info
- RCS1076: from Info to Hidden
- RCS1081: from Warning to Info
- RCS1086: from Warning to Info
- RCS1087: from Warning to Info
- RCS1088: from Warning to Info
- RCS1094: from Warning to Info
- RCS1110: from Warning to Info
- RCS1182: from Info to Hidden
v1.7.2
1.7.2 (2018-03-06)
Analyzers
- Add analyzer ReplaceInterpolatedStringWithStringConcatenation (RCS1217).
Refactorings
- Add refactoring ReplaceInterpolatedStringWithStringFormat (RR0201).
v1.7.1
Analyzers
- Add analyzer UnneccesaryUnsafeContext (RCS1216).
- Improve analyzer ReplaceCommentWithDocumentationComment (RCS1181) - support trailing comment.
v1.6.30
- Add support for 'private protected' accessibility.
Analyzers
- Do not report unused parameter (RCS1163) when parameter name consists of underscore(s).
Refactorings
- Add refactoring InlineProperty (RR0198).
- Add refactoring RemoveEnumMemberValue (RR0199).
- Remove, duplicate or comment out local function.
- Change accessibility for selected members.
Code Fixes
- Add code fixes for CS0029, CS0133, CS0201, CS0501, CS0527.
v1.6.20
Analyzers
- Add analyzer AvoidInterpolatedStringWithNoInterpolatedText (RCS1214).
- Add analyzer ExpressionIsAlwaysEqualToTrueOrFalse (RCS1215).
Refactorings
- Add refactoring InitializeFieldFromConstructor (RR0197).
Code Fixes
- Add code fixes for CS1503, CS1751.
v1.6.10
Analyzers
- Add analyzer UnusedMemberDeclaration (RCS1213).
- Improve analyzer UnusedParameter (RCS1163).
- Report unused parameters of lambda expressions and anonymous methods.
Code Fixes
- Add code fixes for CS0030, CS1597.