Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 8, 2020

Bumps Roslynator.Analyzers from 2.3.0 to 3.0.0.

Release notes

Sourced from Roslynator.Analyzers's releases.

v3.0.0

v2.9.0

  • Switch to Roslyn 3.x libraries
  • Add Directory.Build.props file
  • Add open configuration commands to Command Palette (VS Code) (PR)

Bug Fixes

  • Fix key duplication/handle camel case names in omnisharp.json (PR)
  • Use prefix unary operator instead of postfix unary operator (RCS1089) (issue)
  • Cast of this to its interface cannot be null (RCS1202) (issue)
  • Do not remove braces in switch section if it contains 'using variable' (RCS1031) (issue)

New Analyzers

  • RCS1242 (DoNotPassNonReadOnlyStructByReadOnlyReference).
  • RCS1243 (DuplicateWordInComment).
  • RCS1244 (SimplifyDefaultExpression).
  • RCS1245 (SimplifyConditionalExpression2) (issue).

Analyzers

  • Disable analyzer RCS1057 by default (issue).
  • Merge analyzer RCS1156 with RCS1113 (issue).
    • x == "" should be replaced with string.IsNullOrEmpty(x)
  • Improve analyzer RCS1215 (commit).
    • x == double.NaN should be replaced with double.IsNaN(x)
  • Enable RCS1169 and RCS1170 if the type is read-only struct (commit).
  • Improve analyzer RCS1077 (commit).
    • x.OrderBy(y => y).Reverse() can be simplified to x.OrderByDescending(y => y)
    • x.SelectMany(y => y).Count() can be simplified to x.Sum(y => y.Count) if x has Count or Length property
  • Improve analyzer RCS1161 - Declare explicit enum value using << operator (commit).
  • Improve analyzer RCS1036 - remove empty line between documentation comment and declaration (commit).
  • Improve analyzer RCS1037 - remove trailing white-space from documentation comment (commit).
  • Improve analyzer RCS1143 (commit)
    • x?.M() ?? default(int?) can be simplified to x?.M() if x is a nullable struct.
  • Improve analyzer RCS1206 (commit)
    • (x != null) ? x.M() : default(int?) can be simplified to x?.M() if x is a nullable struct.

v2.3.1

  • Last release of package Roslynator.Analyzers (2.3.0) that references Roslyn 2.x (VS 2017)
Changelog

Sourced from Roslynator.Analyzers's changelog.

3.0.0 (2020-06-16)

New Analyzers

  • RCS0048 (Remove newlines from initializer with single-line expression).
  • RCS0049 (Add empty line after top comment).
  • RCS0050 (Add empty line before top declaration).
  • RCS0051 (Add newline between closing brace and 'while' keyword (or vice versa)).
  • RCS1246 (Use element access).

New Refactorings

  • RR0214 (Convert 'switch' expression to 'switch' statement).

2.9.0 (2020-03-13)

  • Switch to Roslyn 3.x libraries
  • Add Directory.Build.props file
  • Add open configuration commands to Command Palette (VS Code) (PR)

Bug Fixes

  • Fix key duplication/handle camel case names in omnisharp.json (PR)
  • Use prefix unary operator instead of postfix unary operator (RCS1089) (issue)
  • Cast of this to its interface cannot be null (RCS1202) (issue)
  • Do not remove braces in switch section if it contains 'using variable' (RCS1031) (issue)

New Analyzers

  • RCS1242 (DoNotPassNonReadOnlyStructByReadOnlyReference).
  • RCS1243 (DuplicateWordInComment).
  • RCS1244 (SimplifyDefaultExpression).
  • RCS1245 (SimplifyConditionalExpression2) (issue).

Analyzers

Commits
  • 8fadfa9 Update version to 3.0.0.0
  • fcab5c7 Update documentation to 3.0
  • 62e770e Add missing using directives
  • 57d58f1 Remove temporary code
  • cf9e35a Remove preprocessor directives for NETCOREAPP3_1
  • 36b7468 Fix breaking change after update to .NET 4.8
  • 2719726 Update AnalyzerOptions.md
  • b0c9f7f Change target framework from net472 to net48
  • d0fe56d Change title
  • e09ad0e Update package references
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Roslynator.Analyzers](https://github.com/JosefPihrt/Roslynator) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/JosefPihrt/Roslynator/releases)
- [Changelog](https://github.com/JosefPihrt/Roslynator/blob/master/ChangeLog.md)
- [Commits](dotnet/roslynator@v2.3.0...v3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 8, 2020
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 1, 2021

Superseded by #414.

@dependabot dependabot bot closed this Feb 1, 2021
@dependabot dependabot bot deleted the dependabot/nuget/Roslynator.Analyzers-3.0.0 branch February 1, 2021 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant