NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
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.
Drop support for Roslyn 4.x, keep Roslyn 5.0+ by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1778
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.324
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.323...3.0.324
Update to .NET 11 and Meziantou.NET.Sdk 1.0.199 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1777
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.323
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.322...3.0.323
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fuzz: report the compiler bugs to a GitHub project instead of blaming the analyzers by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/p
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.322
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.321...3.0.322
chore(deps): update dependency meziantou.framework.roslyn to 1.2.3 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1773
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.321
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.320...3.0.321
Fuzz: do not report findings that only happen in a long-running libFuzzer worker by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.320
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.319...3.0.320
MA0019: Do not report EventArgs used as an attribute by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1770
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.319
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.318...3.0.319
MA0244, MA0245: Report the conversions of floating-point values to decimal by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1747
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.318
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.317...3.0.318
Do not register code fixes that do not change the code (MA0146, MA0177, MA0204) by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.317
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.316...3.0.317
chore(deps): update dependency meziantou.framework.roslyn to 1.2.2 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1740
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.316
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.315...3.0.316
Use two generations in BoundedCache instead of sorting the entries by last usage by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.315
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.314...3.0.315
MA0011: find the overload before computing the culture sensitivity by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1738
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.314
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.313...3.0.314
Fix the CA5394 build error in BoundedCacheTests by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1735
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.313
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.312...3.0.313
Read the usage of the cache entries once before sorting them for the eviction by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/17
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.312
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.311...3.0.312
Fuzz: remove the Moq, MSTest, Newtonsoft.Json, NUnit and Serilog package references by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/p
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.311
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.310...3.0.311
MA0190: find the method declaration after updating the call sites by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1708
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.310
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.309...3.0.310
MA0110: keep the variable when it cannot be removed or renamed by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1698
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.309
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.308...3.0.309
MA0137, MA0138: do not offer the rename when the name would be empty or the declaration does not compile by @meziantou in https://github.com/meziantou
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.308
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.307...3.0.308
MA0002: insert the comparer at the right position when an extension method is called as a static method by @meziantou in https://github.com/meziantou/
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.307
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.306...3.0.307
Allow the fuzzer to open up to 50 issues per run by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1652
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.306
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.305...3.0.306
MA0008: do not overflow the stack on cyclic struct layouts by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1640
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.305
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.304...3.0.305
Add fuzz tests for the analyzers and the code fixers by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1641
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.304
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.303...3.0.304
MA0100: do not look up GetAwaiter for the types that cannot be awaited by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1635
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.303
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.302...3.0.303
Reduce the time spent in MA0001, MA0002, MA0011, MA0026, MA0074 and MA0150 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1634
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.302
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.301...3.0.302
Reduce the CPU and the memory used by MA0202 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1633
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.301
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.300...3.0.301
MA0015, MA0043: do not enumerate all the symbols in scope by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1632
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.300
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.299...3.0.300
MA0031: do not suggest Skip(n).Any() when the value is not a constant by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1631
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.299
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.298...3.0.299
chore(deps): update dependency meziantou.framework.roslyn to 1.2.1 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1629
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.298
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.297...3.0.298
Update Meziantou.NET.Sdk to 1.0.183 and use its SharedHttpClient by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1628
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.297
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.296...3.0.297
Add tests for non-culture-sensitive string methods by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1626
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.296
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.295...3.0.296
MA0002: treat the xunit assertions that take an IEqualityComparer as ordinal with report_only_non_ordinal by @vencyk in https://github.com/meziantou/M
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.295
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.294...3.0.295
Do not suggest instance members in static contexts in MA0166/MA0167 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1623
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.294
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.293...3.0.294
Check for a set instance only before an MA0002 report by @alexander-efremov in https://github.com/meziantou/Meziantou.Analyzer/pull/1622
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.293
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.292...3.0.293
Cache LookupSymbols results in OverloadFinder by @alexander-efremov in https://github.com/meziantou/Meziantou.Analyzer/pull/1621
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.292
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.291...3.0.292
Do not merge is patterns declaring variables in the MA0194 code fix by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1620
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.291
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.290...3.0.291
Use IsAssignableTo where IsOrInheritsFrom was meant to check assignability by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1616
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.290
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.289...3.0.290
Fix code fix crash when adding an argument to a conditional access invocation by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/16
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.289
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.288...3.0.289
Add MA0242: Use a value factory with ConcurrentDictionary.GetOrAdd/AddOrUpdate when the value is expensive by @meziantou in https://github.com/meziant
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.288
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.287...3.0.288
Test and document the records in MA0197, MA0198 and MA0199 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1555
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.287
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.286...3.0.287
Fix MA0171 false positives in nameof and conditional access by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1562
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.286
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.285...3.0.286
Fix MA0071 code fix when the locals of the else clause conflict with other identifiers by @meziantou in https://github.com/meziantou/Meziantou.Analyze
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.285
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.284...3.0.285
Fix MA0003 code fix not applied to the arguments of indexers by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1609
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.284
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.283...3.0.284
Do not offer the MA0202 code fix to merge non-adjacent branches by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1580
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.283
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.282...3.0.283
Fix MA0070 not reported on field-targeted attributes of auto-properties by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1601
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.282
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.281...3.0.282
Fix MA0061 code fix for default values declared in a referenced assembly by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1605
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.281
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.280...3.0.281
Fix MA0004 using the ConfigureAwait of nested functions to detect the context by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/15
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.280
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.279...3.0.280
Fix MA0100 false positive on returns nested before a using declaration by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1572
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.279
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.278...3.0.279
Fix the MA0082 code fix for operands of another type or nullable operands by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1570
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.278
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.277...3.0.278
Fix MA0170 on non-public setters and System.Enum parameters by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1571
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.277
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.276...3.0.277
Fix MA0022 code fix dropping non-null branches and false positive in async methods by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pu
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.276
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.275...3.0.276
chore(deps): update dependency microsoft.bcl.asyncinterfaces to 10.0.12 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1546
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.275
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.274...3.0.275
Add semantic functions to the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1548
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.274
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.273...3.0.274
Expose the kind-specific modifiers of the symbols in the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.273
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.272...3.0.273
Query the symbols with the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1545
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.272
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.271...3.0.272
Expose more of Roslyn to the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1544
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.271
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.270...3.0.271
Reduce the CPU and the memory used by the rules by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1542
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.270
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.269...3.0.270
Reduce the cost of the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1541
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.269
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.268...3.0.269
Query the operations with the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1540
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.268
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.267...3.0.268
Support a custom severity in the banned syntax entries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1539
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.267
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.266...3.0.267
Expose more of the semantic model to the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1538
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.266
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.265...3.0.266
Expose the semantic model to the XPath queries of MA0240 by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1537
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.265
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.264...3.0.265
One column per quarter.