NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #1450 most downloaded on NuGet
A powerful C# Roslyn analyzer that uses static analysis to detect bugs, surface security issues, and enforce best practices—helping developers and AI write more reliable code.
Latest stable
3.0.324
Last release 12 days ago
10 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
127 years old
910 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
chore(deps): update dependency meziantou.framework.roslyn to 1.0.10 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1377
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.204
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.203...3.0.204
Use Parenthesize from Meziantou.Framework.Roslyn 1.0.8 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1374
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.203
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.202...3.0.203
Your coding agent can read these notes before it upgrades. Set up the MCP server →
chore(deps): update dependency meziantou.framework.roslyn to 1.0.7 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1373
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.202
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.201...3.0.202
Remove DisabledDiagnostics from the tests by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1370
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.201
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.200...3.0.201
[doc] add cpm how-to by @Thieum in https://github.com/meziantou/Meziantou.Analyzer/pull/1366
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.200
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.199...3.0.200
Clean up the test harness by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1369
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.199
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.198...3.0.199
Remove redundant FixedState.MarkupHandling assignments in tests by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1368
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.198
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.197...3.0.198
Remove redundant .NET and language version settings in tests by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1367
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.197
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.196...3.0.197
Migrate the tests to the Roslyn SDK testing harness and remove ProjectBuilder by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/13
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.196
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.195...3.0.196
Add ExcludeFromCancellationTokenAnalysisAttribute to opt out of the CancellationToken rules by @meziantou in https://github.com/meziantou/Meziantou.An
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.195
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.194...3.0.195
chore(deps): update dependency meziantou.framework.roslyn to 1.0.6 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1362
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.194
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.193...3.0.194
MA0003: don't require naming extension receivers and self-named arguments by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1361
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.193
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.192...3.0.193
chore(deps): update dependency meziantou.framework.roslyn to 1.0.5 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1360
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.192
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.191...3.0.192
Give Meziantou.Framework.Roslyn its own auto-merged Renovate group by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1358
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.191
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.190...3.0.191
Report MA0102 on the event instead of its accessors by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1356
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.190
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.189...3.0.190
Name the expected rule in the tests that annotate diagnostics by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1355
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.189
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.188...3.0.189
Run every registered code action, not just the applied one by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1353
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.188
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.187...3.0.188
Do not report MA0028 for a ToString call passed to StringBuilder.Insert by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1354
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.187
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.186...3.0.187
Make MA0071 linear in the length of an if/else-if chain by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1352
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.186
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.185...3.0.186
Fix the MA0090 code fixer deleting the enclosing else block by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1351
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.185
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.184...3.0.185
Compute the package version from the git tags instead of nuget.org by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1350
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.184
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.183...3.0.184
Fix MA0026 crash on an unterminated block comment (#1328) by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1346
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.183
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.182...3.0.183
Fix MA0073 code fixer producing uncompilable code for low-precedence operands by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/13
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.182
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.181...3.0.182
Add a language attribute code fix and MA0218/MA0219 for XML comments by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1320
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.181
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.180...3.0.181
Fix MAS0004 stopping at the first unrelated CA1507 diagnostic by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1340
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.180
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.179...3.0.180
Fix bare #pragma warning disable in AvoidUsingRedundantElseAnalyzer by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1339
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.179
#pragma warning disable in AvoidUsingRedundantElseAnalyzer by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1339Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.178...3.0.179
Fix MA0075 false positive on FormattableString.Invariant by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1322
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.178
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.177...3.0.178
Add CultureInsensitiveAttribute to annotate culture-insensitive values by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1318
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.177
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.176...3.0.177
Add MA0217: Use a static lambda by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1314
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.176
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.175...3.0.176
Report MA0192 when the compared flag is not a constant by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1315
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.175
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.174...3.0.175
Fix MA0075 false positive on Enum.ToString and handle conditional access by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1311
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.174
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.173...3.0.174
Let users opt in to analyzing generated code by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1309
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.173
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.172...3.0.173
Add a timeout to the NuGet package downloads of the tests by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1308
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.172
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.171...3.0.172
Use global using directives for the most common namespaces by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1307
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.171
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.170...3.0.171
Limit the number of concurrent tests by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1305
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.170
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.169...3.0.170
Fix MA0112 false positive on IEnumerable by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1304
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.169
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.168...3.0.169
Use the Meziantou.Framework.Roslyn package by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1302
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.168
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.167...3.0.168
Build one test project per Roslyn version by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1301
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.167
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.166...3.0.167
Improve MA0195 to detect static fields initialized in the static constructor by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/130
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.166
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.165...3.0.166
Build one project per Roslyn version and use the artifacts output layout by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1296
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.165
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.164...3.0.165
Fix MA0075 false positive on conditional and other compound expressions by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1295
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.164
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.163...3.0.164
Support C# 15 closed hierarchies in MA0150 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1292
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.163
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.162...3.0.163
Fix MA0002 false positive on interpolated string handlers and invalid code fix on named arguments by @meziantou in https://github.com/meziantou/Mezian
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.162
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.161...3.0.162
Add a Roslyn 5.9 target by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1288
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.161
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.159...3.0.161
Nothing published for this version
Update Meziantou.NET.Sdk to 1.0.149 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1287
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.159
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.158...3.0.159
Update Meziantou.NET.Sdk to 1.0.148 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1286
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.158
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.157...3.0.158
Update xunit.v3 to 4.0.0 and enable full parallelization by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1285
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.157
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.156...3.0.157
Add MA0214/MA0215 for await vs. return-task style by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1282
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.156
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.155...3.0.156
Add MA0002.report_only_non_ordinal option by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1283
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.155
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.154...3.0.155
chore(deps): update all dependencies by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1261
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.154
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.153...3.0.154
Exclude Meziantou assertions from string comparison analyzers by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1281
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.153
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.152...3.0.153
Exclude HRESULT.ThrowOnFailure from MA0060 diagnostics by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1279
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.152
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.151...3.0.152
Refine culture-sensitive formatting detection by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1278
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.151
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.150...3.0.151
Handle semantic models across syntax trees in local data flow analysis by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1277
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.150
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.149...3.0.150
Add a type helper to local data-flow analysis by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1275
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.149
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.148...3.0.149
Update MA0023 guidance for named regex groups by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1274
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.148
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.147...3.0.148
Add analyzer and code fix to simplify negated boolean expressions by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1272
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.147
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.146...3.0.147
Fix MA0150 on sealed types inheriting ToString by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1271
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.146
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.145...3.0.146
Detect ISpanFormattable in culture-sensitive formatting by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1269
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.145
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.144...3.0.145
One column per quarter.