build(deps): Bump the analyzers group with 3 updates - #135
Merged
Tibirot merged 2 commits intoAug 17, 2026
Merged
Conversation
Bumps Meziantou.Analyzer from 2.0.220 to 3.0.159 Bumps Roslynator.Analyzers from 4.14.0 to 4.16.1 Bumps SonarAnalyzer.CSharp from 10.19.0.132793 to 10.32.0.713 --- updated-dependencies: - dependency-name: Meziantou.Analyzer dependency-version: 3.0.159 dependency-type: direct:production update-type: version-update:semver-major dependency-group: analyzers - dependency-name: Roslynator.Analyzers dependency-version: 4.16.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: analyzers - dependency-name: SonarAnalyzer.CSharp dependency-version: 10.32.0.713 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: analyzers ... Signed-off-by: dependabot[bot] <support@github.com>
Meziantou 3.x and Sonar 10.32 add rules the tree does not satisfy, and -warnaserror turns every one of them into a build failure. None of this is a behaviour change; it is the bump's cost. Rebasing on main also left six lock files stale: the Crm module and Cla6.Platform.Security landed after Dependabot generated the branch, so their packages.lock.json still pinned the old analyzer versions and --locked-mode refused the restore. Regenerated with --force-evaluate; nothing else moved. S8969 (new in Sonar 10.32) — 37 redundant null-forgiving operators, almost all of them a `!` after a `.Should().NotBeNull()` that already narrowed the type. Deleted. MA0015 (new in Meziantou 3.x) — three throw helpers applied to something that is not a parameter, so the captured CallerArgumentExpression named a loop variable rather than the argument the caller passed. Adding an explicit paramName trades MA0015 for Sonar's S3236, which forbids exactly that, so the guards are now written out. They read like the throws already sitting next to them and report the right parameter. MA0011 — the Money.ToString() test deliberately pins invariant-culture output and already suppressed CA1305. MA0011 is the same objection; it joins the pragma. S2077/S2068 in Cla6.DbTool are suppressed in .editorconfig with the reasoning, matching how the other analyzer disagreements are recorded there. Postgres cannot bind an identifier as a parameter and every identifier in that SQL is a compile-time constant, so S2077's remedy does not exist; the one configured value, the role password, is already bound through quote_literal. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Tibirot
force-pushed
the
dependabot/nuget/aspire/Cla6.ServiceDefaults/analyzers-d01a2788b9
branch
from
August 17, 2026 05:54
4cb8a22 to
cb5ff2a
Compare
dependabot
Bot
deleted the
dependabot/nuget/aspire/Cla6.ServiceDefaults/analyzers-d01a2788b9
branch
August 17, 2026 06:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Meziantou.Analyzer from 2.0.220 to 3.0.159.
Release notes
Sourced from Meziantou.Analyzer's releases.
3.0.159
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.159
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.158...3.0.159
3.0.158
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.158
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.157...3.0.158
3.0.157
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.157
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.156...3.0.157
3.0.156
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.156
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.155...3.0.156
3.0.155
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.155
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.154...3.0.155
3.0.154
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.154
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.153...3.0.154
3.0.153
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.153
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.152...3.0.153
3.0.152
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.152
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.151...3.0.152
3.0.151
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.151
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.150...3.0.151
3.0.150
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.150
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.149...3.0.150
3.0.149
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.149
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.148...3.0.149
3.0.148
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.148
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.147...3.0.148
3.0.147
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.147
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.146...3.0.147
3.0.146
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.146
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.145...3.0.146
3.0.145
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.145
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.144...3.0.145
3.0.144
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.144
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.143...3.0.144
3.0.143
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.143
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.142...3.0.143
3.0.142
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.142
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.141...3.0.142
3.0.141
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.141
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.140...3.0.141
3.0.140
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.140
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.139...3.0.140
3.0.139
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.139
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.138...3.0.139
3.0.138
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.138
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.137...3.0.138
3.0.137
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.137
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.136...3.0.137
3.0.136
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.136
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.135...3.0.136
3.0.135
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.135
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.134...3.0.135
3.0.134
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.134
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.133...3.0.134
3.0.133
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.133
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.132...3.0.133
3.0.132
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.132
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.130...3.0.132
3.0.131
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.131
What's Changed
[with(StringComparer.Ordinal)]collection expression by @meziantou in Fix MA0002 false positive on[with(StringComparer.Ordinal)]collection expression meziantou/Meziantou.Analyzer#1237Full Changelog: meziantou/Meziantou.Analyzer@3.0.129...3.0.131
3.0.130
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.130
What's Changed
[with(StringComparer.Ordinal)]collection expression by @meziantou in Fix MA0002 false positive on[with(StringComparer.Ordinal)]collection expression meziantou/Meziantou.Analyzer#1237Full Changelog: meziantou/Meziantou.Analyzer@3.0.129...3.0.130
3.0.129
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.129
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.128...3.0.129
3.0.128
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.128
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.127...3.0.128
3.0.127
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.127
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.126...3.0.127
3.0.126
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.126
What's Changed
ImmutableDictionary.CreateBuilder<TKey, TValue>()without comparer by @meziantou with @Copilot in Enforce MA0002 forImmutableDictionary.CreateBuilder<TKey, TValue>()without comparer meziantou/Meziantou.Analyzer#1227Full Changelog: meziantou/Meziantou.Analyzer@3.0.125...3.0.126
3.0.125
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.125
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.124...3.0.125
3.0.124
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.124
What's Changed
defaultliterals in named-argument checks by @meziantou with @Copilot in MA0003: add configurable support fordefaultliterals in named-argument checks meziantou/Meziantou.Analyzer#1222Full Changelog: meziantou/Meziantou.Analyzer@3.0.123...3.0.124
3.0.123
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.123
What's Changed
is-pattern detection to avoid declaration-pattern false positives by @meziantou with @Copilot in Refine MA0179is-pattern detection to avoid declaration-pattern false positives meziantou/Meziantou.Analyzer#1220Full Changelog: meziantou/Meziantou.Analyzer@3.0.122...3.0.123
3.0.122
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.122
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.121...3.0.122
3.0.121
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.121
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.120...3.0.121
3.0.120
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.120
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.119...3.0.120
3.0.119
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.119
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.118...3.0.119
3.0.118
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.118
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.117...3.0.118
3.0.117
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.117
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.116...3.0.117
3.0.116
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.116
What's Changed
isexpressions by @meziantou with @Copilot in Fix MA0194 merging of indexer-basedisexpressions meziantou/Meziantou.Analyzer#1209Full Changelog: meziantou/Meziantou.Analyzer@3.0.115...3.0.116
3.0.115
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.115
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.114...3.0.115
3.0.114
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.114
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.113...3.0.114
3.0.113
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.113
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.112...3.0.113
3.0.112
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.112
Full Changelog: meziantou/Meziantou.Analyzer@3.0.111...3.0.112
3.0.111
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.111
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.110...3.0.111
3.0.110
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.110
What's Changed
partialdiagnostics by @meziantou with @Copilot in MA0204: exclude WPF XAML root types from unnecessarypartialdiagnostics meziantou/Meziantou.Analyzer#1195Full Changelog: meziantou/Meziantou.Analyzer@3.0.109...3.0.110
3.0.109
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.109
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.108...3.0.109
3.0.108
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.108
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.107...3.0.108
3.0.107
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.107
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.106...3.0.107
3.0.106
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.106
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.105...3.0.106
3.0.105
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.105
What's Changed
<returns>tags onvoidmethods by @meziantou in Add MA0203 to flag<returns>tags onvoidmethods meziantou/Meziantou.Analyzer#1189Full Changelog: meziantou/Meziantou.Analyzer@3.0.104...3.0.105
3.0.104
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.104
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.103...3.0.104
3.0.103
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.103
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.102...3.0.103
3.0.102
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.102
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.101...3.0.102
3.0.101
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.101
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.100...3.0.101
3.0.100
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.100
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.99...3.0.100
3.0.99
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.99
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.98...3.0.99
3.0.98
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.98
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.97...3.0.98
3.0.97
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.97
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.96...3.0.97
3.0.96
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.96
Full Changelog: meziantou/Meziantou.Analyzer@3.0.95...3.0.96
3.0.95
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.95
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.94...3.0.95
3.0.94
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.94
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.93...3.0.94
3.0.93
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.93
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.92...3.0.93
3.0.92
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.92
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.91...3.0.92
3.0.91
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.91
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.90...3.0.91
3.0.90
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.90
What's Changed
else ifchains with reachable prior branches by @Copilot in Fix MA0071 false positive forelse ifchains with reachable prior branches meziantou/Meziantou.Analyzer#1166Full Changelog: meziantou/Meziantou.Analyzer@3.0.89...3.0.90
3.0.89
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.89
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.88...3.0.89
3.0.88
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.88
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.87...3.0.88
3.0.87
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.87
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.86...3.0.87
3.0.86
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.86
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.85...3.0.86
3.0.85
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.85
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.84...3.0.85
3.0.84
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.84
What's Changed
[Experimental]overloads in MA0040 cancellation-token matching by @Copilot in Ignore[Experimental]overloads in MA0040 cancellation-token matching meziantou/Meziantou.Analyzer#1157Full Changelog: meziantou/Meziantou.Analyzer@3.0.83...3.0.84
3.0.83
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.83
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.82...3.0.83
3.0.82
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.82
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.81...3.0.82
3.0.81
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.81
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.80...3.0.81
3.0.80
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.80
Full Changelog: meziantou/Meziantou.Analyzer@3.0.79...3.0.80
3.0.79
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.79
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.78...3.0.79
3.0.78
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.78
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.77...3.0.78
3.0.77
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.77
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.76...3.0.77
3.0.76
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.76
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.75...3.0.76
3.0.75
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.75
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.74...3.0.75
3.0.74
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.74
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.73...3.0.74
3.0.73
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.73
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.72...3.0.73
3.0.72
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.72
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.71...3.0.72
3.0.71
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.71
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.70...3.0.71
3.0.70
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.70
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.69...3.0.70
3.0.69
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.69
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.68...3.0.69
3.0.68
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.68
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.67...3.0.68
3.0.67
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.67
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.66...3.0.67
3.0.66
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.66
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.65...3.0.66
3.0.65
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.65
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.64...3.0.65
3.0.64
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.64
What's Changed
Main(string[] args)by @Copilot in MA0109: Skip diagnostic for program entry pointMain(string[] args)meziantou/Meziantou.Analyzer#1123Full Changelog: meziantou/Meziantou.Analyzer@3.0.63...3.0.64
3.0.63
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.63
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.62...3.0.63
3.0.62
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.62
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.61...3.0.62
3.0.61
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.61
What's Changed
IDbContextFactory<TContext>.CreateDbContext()by @Copilot in MA0042: suppress diagnostic forIDbContextFactory<TContext>.CreateDbContext()meziantou/Meziantou.Analyzer#1116Full Changelog: meziantou/Meziantou.Analyzer@3.0.60...3.0.61
3.0.60
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.60
What's Changed
Full Changelog: meziantou/Meziantou.Analyzer@3.0.59...3.0.60
Commits viewable in compare view.
Updated Roslynator.Analyzers from 4.14.0 to 4.16.1.
Release notes
Sourced from Roslynator.Analyzers's releases.
4.16.1
Fixed
inforref structparameters (#1725) (PR)omit_when_single_lineon multi-line object/collection initializers (#1439) (PR)async voidmethods withoutAsyncsuffix (PR)whenfilter (PR)CancellationTokenin sync methods returningTask(PR)generate-docto omit internal interfaces from type declarations and the Implements section (PR)4.16.0
Added
Fixed
filemodifier (PR by @cbersch)fixcommand ignoring--include/--excludefile filter (PR by @hashiiiii)4.15.0
Added
roslynator_null_conditional_operator.avoid_negative_boolean_comparison(PR)... != true/falseFixed
loccommand (PR)rename-symbolscope option not being applied correctly (PR by @andrtmschkw)rename-symbolsupport for top-level statement (PR by @andrtmschkw)Changed
4.14.1
Added
slnxfiles (PR by @darthtrevino)Fixed
OnRectTransformDimensionsChangeChanged
omit_when_single_linewill be that the braces/brackets are on the same line, not just the expression in the braces/bracketsCommits viewable in compare view.
Updated SonarAnalyzer.CSharp from 10.19.0.132793 to 10.32.0.713.
Release notes
Sourced from SonarAnalyzer.CSharp's releases.
10.32.0.713
Release notes - .NET Analyzers - 10.32
Feature
NET-4132 Implement rule S9022: Redundant "Include" calls should be removed
NET-4215 Implement rule S9118: Default values should be compatible with their entity property type
NET-4240 Update RSPEC before 10.32 release
False Positive
NET-1322 Fix S2857 FP: Do not raise in constant string interpolation when string is in square brackets
NET-1468 Fix S6966 FP: should not raise when inside lock
NET-1598 Fix S1125 FP: dynamic and custom nullable structs with conversion to bool are compliant
NET-4233 Fix S8733 FP: AsSplitQuery/AsSingleQuery set in a different statement than the colliding Includes goes undetected
NET-4297 Fix S8717 FP: EFCore DBFirst Scaffold
10.31.0.145097
Release notes - .NET Analyzers - 10.31
Feature
NET-3865 Implement S8733: Potential Cartesian Explosion
NET-3875 Implement rule S8718: Client-evaluated default values should use database functions
NET-4087 Use shared secret exclusion patterns in hardcoded secrets rules
NET-4211 Update RSPEC before 10.31 release
False Positive
NET-1922 S1144 FP: When registering a service with Microsoft.Extensions.DependencyInjecion framework
NET-3928 Fix S3267 FP: Should not raise on EntityFramework IQueryables
NET-4205 Fix S1244 FP: should not raise on NaN check via x.Equals(double.NaN)
10.30.0.144632
Release notes - .NET Analyzers - 10.30
Feature
NET-1536 Implement rule S8970: Null-forgiving operators should not be used when nullable warnings are disabled
NET-3436 Implement rule S8949: Use the overload that accepts a CancellationToken
NET-3810 Fix: Protobuf Importer logs debug on excluded files
NET-3877 Implement rule S8747: Migrations should not narrow column types without converting existing data
NET-4091 Implement rule S8969: Null-forgiving operators should not be redundant
NET-4120 Update RSPEC before 10.30 release
False Positive
NET-1541 Fix S3459 FP: support classes marked with [AutoConstructor] attribute
NET-1583 Fix S6967 FP: Raises when model has no validation attributes
NET-1840 Fix S3903 FP: top-level statements and partial Program in separate file
NET-4059 Improve precision of S8949 (CancellationTokenShouldBeUsed) - umbrella
NET-4191 Fix S3169 FP: Should not raise in Azure Cosmos
False Negative
NET-3819 Fix S1244 FN: Should report on Double.Equals
Bug
NET-4107 Fix S4026 Race Condition
10.29.0.143774
Release notes - .NET Analyzers - 10.29
Feature
NET-3997 Move S6444 out of hotspot
NET-4060 Update RSPEC before 10.29 release
False Positive
NET-1626 Fix S6444 FP: REGEX_DEFAULT_MATCH_TIMEOUT
False Negative
NET-3920 Fix S2971 FN: Should raise on EntityFramework IQueryables
NET-3921 Fix S1155 FN: Should raise on EntityFramework IQueryables
NET-3922 Fix S3981 FN: Should raise on EntityFramework IQueryables
NET-3924 Fix S3169 FN: Should raise on EntityFramework IQueryables
10.28.0.143324
Release notes - .NET Analyzers - 10.28
Feature
NET-1990 S100/S101: Configuration for custom acronyms
NET-2280 New Rule T0048: Avoid
is not { } valueNET-3802 Update RSPEC before 10.28 release
NET-3818 Change Protobuf Info message to Debug
NET-3820 Coverage warnings should surface as Analysis Warnings
NET-3827 Create RSPEC for S8717: Multiple "[Key]" attributes should not be used to define a composite key
NET-3843 Implement rule S8717: Multiple "[Key]" attributes should not be used to define a composite key
NET-3949 Modify rule S2696: add fix guidance, compliant example, and exceptions
NET-3950 Modify rule S1135: add compliant example and fix guidance
NET-3951 Modify rule S108: give the C# page its own code examples
NET-3952 Modify rule S1133: add rationale, fix guidance, code examples
NET-3953 Modify rule S3251: add compliant example, fix guidance, and exceptions
NET-3967 Move S1313 out of hotspot
NET-3969 Move S2077 out of hotspot
NET-3972 Move S2092 and S3330 out of hotspot
NET-3973 Move S2245 out of hotspot
NET-3975 Move S2257 out of hotspot
NET-3976 Move S4036 out of hotspot
NET-3978 Move S4502 out of hotspot
NET-3980 Move S4507 out of hotspot
NET-3982 Move S5122 out of hotspot
NET-3983 Move S5332 out of hotspot
NET-3993 Move S5443 out of hotspot
NET-3995 Move S5753 out of hotspot
NET-3996 Move S5766 out of hotspot
NET-3998 Move S6640 out of hotspot
NET-4000 Move S4790 out of hotspot
NET-4001 Move S5693 out of hotspot
NET-4008 Change S1313 message
NET-4009 Change S2257 message
NET-4010 Change S4036 message
NET-4011 Change S2077 message
False Positive
NET-3564 Fix FP S6966: Do not raise for methods for SqlDataReader.IsDBNull/GetFieldValue
NET-3808 Fix S4260 FP: Don't raise on extension properties
NET-3821 Fix S1244 FP: Should not raise on comparison to 0
NET-3825 Fix S2221 FP: Do not raise on async void
NET-3878 Fix S3358 FP: Suggesting to extract ternary from EF Core select
NET-3914 Fix T0044 FP: Should not raise on locator annotaitons
NET-3926 Fix S6608 FP: Should not raise inside expression tree
NET-3927 Fix S6603 FP: Should not raise inside expression tree
NET-3932 S2068: Do not raise on @paramName and $paramName
False Negative
NET-1673 Fix S4790 FN: default parameters
NET-2846 Fix S1117 FN: Extensions, Partial Events
... (truncated)
10.27.0.140913
Release notes - .NET Analyzers - 10.27
Feature
NET-1285 S2629: Add custom message for Log4Net and Castle.Core
NET-3666 Deprecate S5042 and move it from HotSpots to Code Smell
NET-3783 Update RSPEC before 10.27 release
False Positive
NET-2696 Fix S4260 FP: Extension Properties always raise
False Negative
NET-230 Fix S4056 FN: SpecifyIFormatProviderOrCultureInfo for C#13 compatibility
NET-2692 Fix S2190 FN: Recursive extension properties
NET-2705 Fix S3343 FN: Partial Constructor with attribute in definition
NET-2732 Fix S1172 FN: Extension blocks
NET-2745 Fix S4144 FN: Extension Members
NET-2829 Fix S3241 FN: Extension methods and extension blocks
NET-3541 Fix S1117 FN: add CatchDeclaration coverage and adopt LocalDeclarationKinds
10.26.0.140279
Release notes - .NET Analyzers - 10.26
Feature
NET-3694 Update RSPEC before 10.26 release
False Positive
NET-2346 Fix S1854 FP: Variable used after another assignment in finally
NET-2347 Fix S1168 FP: Do not report on value types
NET-3698 Fix S1210 FP: file-scoped types should be exempt
False Negative
NET-1265 Fix S2930 FN: raise issues on non-disposed RegistryKeys
NET-2685 Fix S3604 FN: Field Keyword, Partial Constructors, NullConditional Assignment
NET-2812 Fix S4275 FN: Field Keyword
NET-2999 Fix S6672 FN: Mismatch in primary constructor is not recognized
10.25
?
Feature
sonar.cs.cobertura.reportsPathsparameterFalse Positive
10.24
This release brings a batch of false negative fixes and analyzer crash fixes.
Bug Fixes
False Positives
False Negatives
10.23
This release brings a bunch of fixes! Enjoy.
Bug Fixes
False Positives
False Negatives
10.22
Hello everyone,
This release brings 4 new rules to help developers transition to C# 14, and a bunch of false positive fixes.
New rules
False Positive
Bugs
Other
10.21
### Bug
Feature
False Positive
10.20
This release brings 9 precision improvements — 7 false positive fixes and 2 false negative fixes — across rules S1116, S1144, S1210, S1643, S1854, S2365, S3254, S3265, and S127. It also promotes S2068 and S6418 from Security Hotspot to Vulnerability, making them visible directly in the IDE, and removes S3256 from the Sonar Way quality profile.
Changes
False Positive
False Negative
Rule specification
Maintenance
Commits viewable in compare view.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependencyDescription has been truncated