Skip to content

Commit

Permalink
fix(deps): update dependency sonaranalyzer.csharp to v9.20.0.85982 (#723
Browse files Browse the repository at this point in the history
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[SonarAnalyzer.CSharp](https://redirect.sonarsource.com/doc/sonar-visualstudio.html)
([source](https://togithub.com/SonarSource/sonar-dotnet)) |
`9.19.0.84025` -> `9.20.0.85982` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/SonarAnalyzer.CSharp/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/SonarAnalyzer.CSharp/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/SonarAnalyzer.CSharp/9.19.0.84025/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/SonarAnalyzer.CSharp/9.19.0.84025/9.20.0.85982?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>SonarSource/sonar-dotnet (SonarAnalyzer.CSharp)</summary>

###
[`v9.20.0.85982`](https://togithub.com/SonarSource/sonar-dotnet/releases/tag/9.20.0.85982):
9.20

[Compare
Source](https://togithub.com/SonarSource/sonar-dotnet/compare/9.19.0.84025...9.20.0.85982)

Hey everyone!

This release brings a vast number of improvements. The main focus lies
on improving the capabilities of our Symbolic Execution engine, which
results in much more accurate findings. The biggest visible impact is a
significant reduction in false positives around loops for the rules
S2583 and S2589.

And a big thank you to [@&#8203;rcatley](https://togithub.com/rcatley)
for their external contribution!

##### Bug Fixes

- [8642](https://togithub.com/SonarSource/sonar-dotnet/issues/8642) -
\[C#] Exception in `SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner`

##### False Positive

- [8678](https://togithub.com/SonarSource/sonar-dotnet/issues/8678) -
\[C#, VB.NET] Fix S2583 FP: Variable Updated in Catch Block
- [8028](https://togithub.com/SonarSource/sonar-dotnet/issues/8028) -
\[C#, VB.NET] Fix S2583 FP: Loop with manually incremented counter
- [8449](https://togithub.com/SonarSource/sonar-dotnet/issues/8449) -
\[C#, VB.NET] Fix S2589 FP: Change this condition so that it does not
always evaluate to 'True'
- [8495](https://togithub.com/SonarSource/sonar-dotnet/issues/8495) -
\[C#, VB.NET] Fix S2583/S2589 FP: Return inside lock and using causes FP
after the block
- [8428](https://togithub.com/SonarSource/sonar-dotnet/issues/8428) -
\[C#, VB.NET] Fix S2583/S2589 FP: For loop with Array.Length
- [8483](https://togithub.com/SonarSource/sonar-dotnet/issues/8483) -
\[C#, VB.NET] Fix S4158 FP: Should not report on HashSet.UnionWith for
readonly fields.
- [8739](https://togithub.com/SonarSource/sonar-dotnet/issues/8739) -
\[C#] Fix S4049 FP: Do not raise on methods with generic parameters
- [8638](https://togithub.com/SonarSource/sonar-dotnet/issues/8638) -
\[C#] Fix S2386 & S3887 FP: should not be raised for FrozenDictionary
and FrozenSet
- [8611](https://togithub.com/SonarSource/sonar-dotnet/issues/8611) -
\[C#] Fix S2372 FP: Add support for method invocations
([@&#8203;rcatley](https://togithub.com/rcatley))
- [8567](https://togithub.com/SonarSource/sonar-dotnet/issues/8567) -
\[C#] Fix S2325 FP: Primary Constructor Support

##### False Negative

- [8486](https://togithub.com/SonarSource/sonar-dotnet/issues/8486) -
\[C#] Fix S2589 FN: Tuple binary operations (comparison)

##### Improvements

- [8010](https://togithub.com/SonarSource/sonar-dotnet/issues/8010) -
\[C#, VB.NET] S2589: Improve message in the case of null propagating
operator
- [7866](https://togithub.com/SonarSource/sonar-dotnet/issues/7866) -
\[C#, VB.NET] SE: Allow collection tracking even when S4158 is not
active
- [8499](https://togithub.com/SonarSource/sonar-dotnet/issues/8499) -
\[C#] SE: Learn number constraints from relational pattern
- [8651](https://togithub.com/SonarSource/sonar-dotnet/issues/8651) -
Update RSPEC before 9.20 release

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 9pm,before 6am" in timezone
Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/buehler/dotnet-operator-sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 21, 2024
1 parent 5b34378 commit 8a6cfe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
Condition="$(MSBuildProjectExtension) == '.csproj'" />
<PackageReference
Include="SonarAnalyzer.CSharp"
Version="9.19.0.84025"
Version="9.20.0.85982"
PrivateAssets="all"
Condition="$(MSBuildProjectExtension) == '.csproj'" />
<PackageReference Include="Roslynator.Analyzers" Version="4.11.0" PrivateAssets="All" />
Expand Down

0 comments on commit 8a6cfe1

Please sign in to comment.