7068 - [C#] Fix S4144 FP: when type constraints are used
3050 - [C#] Fix S1479 FP: Single line case clause should be ignored
9447 - [C#] Fix S1854 FP: Value used in catch or when should LiveIn for all try blocks
9440 - [C#] Fix S1854 FP: Value used in finally should LiveIn for all try blocks
4948 - [C#] Fix S1854 FP: Value used in finally should LiveIn after throw
6894 - [C#, VB.NET] Fix S3878 FP: When non-object array is passed to object[] params as first argument
6893 - [C#, VB.NET] Fix S3878 FP: when a params argument is named
False Negative
8719 - [C#, VB.NET] Fix S2583/S2589 FN: try-catch in loop, LVA purges symbol prematurely
4940 - [C#] Fix S1854 FN: Proper support of try/catch statements
1255 - [C#] Fix S1871 FN: Support single line conditional block
9.27
This release includes a ton of false positive and false negative fixes. We would also like to thank @sagi1623 for his contribution in #8464, which fixed three issues 🚀.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 9.26.0.92422 to 9.28.0.94264.
Release notes
Sourced from SonarAnalyzer.CSharp's releases.
Commits
242b97c
Fix S3878 AD0001: Cover the case of CollectionInitializerSyntax for VB.NET (#...9c5b2d1
Fix S3878 AD0001: Cover the case of ImplicitArrayCreationExpressionSyntax (#9...fb539c2
S1479: Update RSPEC (#9458)3e340a6
LVA: Add support for FlowCaptureOperation and FlowCaptureReferenceOperation (...fb37a68
Update RSPEC before 9.28 release (#9457)d5db7c1
Fix S1854 FN: Proper support of try/catch statements (#9450)f0a203a
Fix S1144 FP: Nested types decorated with StructLayout attribute (#9441)cc797dd
Fix S1854 FP: Value used incatch
orwhen
should LiveIn for all try block...d9774fd
Fix S1854 FP: Value used in finally should LiveIn for all try blocks (#9448)33a85fe
Fix S4144 FP: when type constraints are used (#9398)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 show