NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #1470 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 11 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.
Replace the concurrent collections of MA0234 with locked collections by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1536
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.264
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.263...3.0.264
Add MA0240: Do not use banned syntax, and MA0241 for invalid entries by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1535
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.263
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.262...3.0.263
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Parallelize the steps of the create_nuget CI job by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1532
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.262
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.261...3.0.262
Do not report MA0005 for the params array synthesized by a collection expression by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.261
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.260...3.0.261
Add tests for code paths not covered by the test suite by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1527
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.260
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.259...3.0.260
Only generate the polyfills used by the code by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1526
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.259
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.258...3.0.259
chore(deps): update dependency meziantou.framework.roslyn to 1.2.0 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1525
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.258
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.257...3.0.258
Use GetTypeByMetadataName unless the type is commonly declared as internal in several assemblies by @meziantou in https://github.com/meziantou/Meziant
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.257
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.256...3.0.257
Fix metadata names that could never resolve in MA0003, MA0001 and MA0060 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1522
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.256
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.255...3.0.256
Add an option to include extension methods from namespaces that are not imported in the rules using OverloadFinder by @meziantou in https://github.com
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.255
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.254...3.0.255
Remove the unreachable string.Join branch of MA0089 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1504
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.254
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.253...3.0.254
Share the argument list logic of the code fixes that add an argument by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1503
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.253
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.252...3.0.253
Preserve the variable scope in the MA0004 code fix by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1502
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.252
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.251...3.0.252
Keep the initialization order in the MA0004 code fix by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1496
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.251
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.250...3.0.251
Report MA0163 when an assignment cannot fix the configuration used by Process.Start by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/p
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.250
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.249...3.0.250
MA0177: preserve nested XML elements such as when collapsing by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1481
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.249
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.248...3.0.249
Do not report MA0065 when the invoked equality member is overridden by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1485
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.248
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.247...3.0.248
Do not report MA0215 when ConfigureAwait changes what the method does by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1483
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.247
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.246...3.0.247
Fix MA0158 code fix when the field is assigned in another document by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1478
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.246
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.245...3.0.246
Do not report MA0158 when the value cannot be migrated to System.Threading.Lock by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.245
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.244...3.0.245
Fix MA0028 changing escaped braces when replacing AppendFormat with Append by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1474
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.244
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.243...3.0.244
Do not report MA0078 when the selector does more than casting its element by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1473
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.243
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.242...3.0.243
Do not report MA0111 in expression trees by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1471
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.242
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.241...3.0.242
Do not merge MA0148/MA0149 comparisons when the operand can change between evaluations by @meziantou in https://github.com/meziantou/Meziantou.Analyze
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.241
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.240...3.0.241
Remove every dollar of raw strings in MA0184 code fix by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1464
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.240
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.239...3.0.240
Do not report MA0005 for arrays of pointers by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1460
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.239
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.238...3.0.239
Preserve interpolation alignment in MA0052 code fix by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1454
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.238
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.237...3.0.238
Fix MA0127 code fix producing uncompilable code for object and span operands by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/145
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.237
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.236...3.0.237
Exclude CsWinRT-required partial types from MA0204 by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1451
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.236
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.235...3.0.236
Add MA0239: Use 'typeof' instead of 'GetType()' when the type is sealed by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1449
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.235
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.234...3.0.235
Add MA0228-MA0238: EventSource implementation rules by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1448
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.234
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.233...3.0.234
Add MA0227: Avoid using 'Enumerable.Contains' on a set by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1447
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.233
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.232...3.0.233
Add MA0226: EventSource class should be sealed by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1446
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.232
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.231...3.0.232
Report MA0072 and MA0086 on throw expressions by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1444
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.231
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.230...3.0.231
chore(deps): update all dependencies to 1.0.166 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1427
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.230
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.229...3.0.230
Match the MA0110 regex arguments by parameter instead of position by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1439
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.229
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.228...3.0.229
Detect the ProcessStartInfo properties set outside of the initializer by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1437
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.228
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.227...3.0.228
Cover the untested analyzer and fixer paths and remove the dead ones by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1436
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.227
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.226...3.0.227
Do not report MA0046 on events of type EventHandler by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1435
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.226
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.225...3.0.226
Add MA0224 and MA0225 to require the Respect* options on JsonSerializerOptions by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.225
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.224...3.0.225
Add MA0222 and MA0223 to require the System.Text.Json Respect* options to be configured by @meziantou in https://github.com/meziantou/Meziantou.Analyz
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.224
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.223...3.0.224
Remove the GetAllMembers extension methods superseded by Meziantou.Framework.Roslyn by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/p
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.223
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.222...3.0.223
Do not report MA0004, MA0068, MA0070, MA0160 and MA0176 in generated code by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1430
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.222
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.221...3.0.222
Do not report MA0028 on StringBuilder.Insert with a Substring argument by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1429
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.221
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.220...3.0.221
Reduce the allocations of OverloadFinder by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1426
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.220
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.219...3.0.220
Make the analysis of generated code opt-in by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1425
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.219
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.218...3.0.219
Gate the analysis of generated code behind MEZIANTOU_ANALYZER_GENERATED_CODE by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/142
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.218
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.217...3.0.218
Close the gaps in the documentation generator's configuration key extractor by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1421
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.217
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.216...3.0.217
Add tests for the .editorconfig options that were never set by a test by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1419
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.216
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.215...3.0.216
chore(deps): update dependency meziantou.framework.roslyn to 1.0.13 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1420
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.215
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.214...3.0.215
Resolve the NuGet packages of the tests from the global packages folder by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1415
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.214
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.213...3.0.214
Create the configured regexes from the options by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1414
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.213
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.212...3.0.213
chore(deps): update all dependencies by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1317
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.212
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.211...3.0.212
Fix MA0065/MA0066 never checking for a GetHashCode override by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1391
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.211
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.210...3.0.211
Fix MA0113 NullReferenceException and named-argument false negatives by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1382
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.210
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.209...3.0.210
chore(deps): update dependency meziantou.framework.roslyn to 1.0.12 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1390
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.209
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.208...3.0.209
Do not offer the MA0028 Substring fix when it would duplicate side effects by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1381
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.208
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.207...3.0.208
Remove Feedz publishing from CI by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1380
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.207
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.206...3.0.207
Add MA0048 options to skip parts of the file name by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1379
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.206
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.205...3.0.206
chore(deps): update dependency meziantou.framework.roslyn to 1.0.11 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1378
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.205
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.204...3.0.205
One column per quarter.