Release 8.56 is here and it brings a whole lot of improvements. We implemented S3900 and S3655 for VB.NET and at the same time, we also got improvements to the C# versions of S3900, S3655, S2222, and S2259. Special kudos to @Corniel who contributed new rule S5856 and several other enhancements.
New Rules
6797 - [VB.NET] New Rule S3900 for VB.NET: Arguments of public methods should be validated against Nothing
6795 - [VB.NET] New Rule S3655 for VB.NET: Empty nullable value should not be accessed
6691 - [C#, VB.NET] New Rule S5856: Regex literals should be valid by @Corniel
Improvements (S3900, S3655, S2222, and S2259)
6794 - [C#] Improve S3655: Support C# 9 and C# 10 syntax
6793 - [C#] Improve S3900: Support C# 9 and C# 10 syntax
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 SonarAnalyzer.CSharp from 8.55.0.65544 to 8.56.0.67649.
Release notes
Sourced from SonarAnalyzer.CSharp's releases.
Commits
2d29852
Update parent POM to 66.0.234 (#7092)c16cb57
Update RSPEC (#6899)44ebcdf
RoslynCfgSerializer: Render property name (#7071)e641f52
SE: Learn NotNull on relational operator on nullable value types (#7055)1772d0d
SE: Don't branch on relational operator against null (#7054)61c0a19
S3655: Honor null forgiving operator (#7015)5c39dc9
Update RSPEC before 8.56 release (#7084)21ee0ab
Add ShimLayer for SyntaxTreeOptionsProvider (#7075)2538061
SE: Simplify Bool and Object ConstraintKind (#7072)3420f6c
Fix S3900 FP: Don't raise if parameter is captured (#7065)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)