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.
Fix IsCultureSensitiveType to handle generic type parameters with constraints by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/12
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.144
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.143...3.0.144
MA0107 supports string interpolation by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1265
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.143
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.142...3.0.143
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add more tests to validate MA0107 behavior by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1263
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.142
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.141...3.0.142
chore(deps): update dependency meziantou.polyfill to 1.0.159 by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1260
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.141
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.140...3.0.141
MA0060: generalize do-not-ignore return value detection by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1259
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.140
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.139...3.0.140
Remove obsolete roslyn versions by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1258
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.139
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.138...3.0.139
Fix MA0202 false positive for comment-only branches by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1257
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.138
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.137...3.0.138
Update configuration documentation by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1254
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.137
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.136...3.0.137
Fix MA0002 code fix inserting StringComparer at wrong argument position by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1252
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.136
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.135...3.0.136
Fix MA0211 for fields by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1251
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.135
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.134...3.0.135
fix(MA0002): detect missing comparer for FrozenSet and ImmutableHashSet collection expressions by @meziantou in https://github.com/meziantou/Meziantou
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.134
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.133...3.0.134
MA0002: report collection expressions with elements, not just empty ones by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1244
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.133
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.132...3.0.133
Fix MA0011 false positives on *OrDefault LINQ methods by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1240
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.132
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.130...3.0.132
Fix MA0002 false positives on IQueryable LINQ operators by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1236
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.131
[with(StringComparer.Ordinal)] collection expression by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1237Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.129...3.0.131
Fix MA0002 false positives on IQueryable LINQ operators by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1236
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.130
[with(StringComparer.Ordinal)] collection expression by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1237Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.129...3.0.130
chore(deps): update all dependencies by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1203
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.129
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.128...3.0.129
MA0002: detect dictionary [] initialization and add preview with() fix by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1228
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.128
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.127...3.0.128
Fix MA0011 false positive on Equals(object?) by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1231
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.127
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.126...3.0.127
Enforce MA0002 for ImmutableDictionary.CreateBuilder () without comparer by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyze
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.126
ImmutableDictionary.CreateBuilder<TKey, TValue>() without comparer by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1227Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.125...3.0.126
Add MA0212: Use MemoryMarshal.GetReference instead of ref span[0] by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1223
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.125
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.124...3.0.125
MA0003: add configurable support for default literals in named-argument checks by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.A
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.124
default literals in named-argument checks by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1222Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.123...3.0.124
Bumped default versions in bug_report.yml to the latest by @abatishchev in https://github.com/meziantou/Meziantou.Analyzer/pull/1155
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.123
is-pattern detection to avoid declaration-pattern false positives by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1220Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.122...3.0.123
Add MA0211 to enforce multi-line XML documentation comments by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1218
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.122
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.121...3.0.122
MA0099: add opt-in configuration options for report location and zero-member filtering by @meziantou in https://github.com/meziantou/Meziantou.Analyze
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.121
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.120...3.0.121
Skip XML comment langword diagnostics for attributed code tags by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1214
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.120
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.119...3.0.120
Fix MA0194 invalid pattern merges by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1212
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.119
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.118...3.0.119
[codex] Fix MA0002 dictionary comparer formatting by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1211
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.118
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.117...3.0.118
MA0137: add internal exclusion list for well-known awaitable pattern names and configurable property accessor exclusion by @meziantou with @Copilot in
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.117
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.116...3.0.117
Fix MA0194 merging of indexer-based is expressions by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1209
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.116
is expressions by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1209Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.115...3.0.116
Treat Meziantou.Framework.Assertions.Assert as non-culture sensitive by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1202
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.115
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.114...3.0.115
chore(deps): update all dependencies by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1184
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.114
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.113...3.0.114
Add global generic constraint support to type relationship helpers by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1199
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.113
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.112...3.0.113
NuGet package: Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.111...3.0.112
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.112
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.111...3.0.112
Fix MA0206 for documented class declarations by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1198
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.111
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.110...3.0.111
MA0204: exclude WPF XAML root types from unnecessary partial diagnostics by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyze
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.110
partial diagnostics by @meziantou with @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1195Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.109...3.0.110
Add MA0207/MA0208 for FixedAddressValueTypeAttribute validation by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1193
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.109
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.108...3.0.109
Add MA0206 for unnecessary braces in type declarations by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1191
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.108
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.107...3.0.108
Add MA0205 rule to suggest using the XOR operator by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1192
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.107
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.106...3.0.107
Add MA0204 to remove unnecessary partial modifiers by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1190
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.106
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.105...3.0.106
Add MA0203 to flag tags on void methods by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1189
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.105
<returns> tags on void methods by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1189Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.104...3.0.105
Handle local-variable hiding in local functions by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1187
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.104
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.103...3.0.104
chore(config): migrate Renovate config by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1180
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.103
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.102...3.0.103
chore(deps): pin dependencies by @renovate[bot] in https://github.com/meziantou/Meziantou.Analyzer/pull/1179
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.102
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.101...3.0.102
Enhance NamedParameterAnalyzer to ignore Volatile.Read and Volatile.Write methods; add corresponding tests by @meziantou in https://github.com/meziant
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.101
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.100...3.0.101
Remove obsolete editorconfig sections from generated docs by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1177
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.100
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.99...3.0.100
Use AGENTS.md by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1176
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.99
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.98...3.0.99
Perf: Cache symbols per compilation by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1174
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.98
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.97...3.0.98
Support GeneratedRegex diagnostics on partial properties by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1173
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.97
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.96...3.0.97
NuGet package: Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.95...3.0.96
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.96
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.95...3.0.96
Enable MA0192 by default as suggestion by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1172
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.95
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.94...3.0.95
MA0001 handle IndexOf / LastIndexOf with char parameter by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1171
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.94
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.93...3.0.94
Fix MA0148/MA0149 false positives with implicit conversions by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1170
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.93
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.92...3.0.93
Add analyzer for identical conditional compilation branches by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1169
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.92
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.91...3.0.92
Fix MA0003 Fix All producing invalid named-argument rewrites in multi-argument calls by @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pu
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.91
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.90...3.0.91
Fix MA0071 false positive for else if chains with reachable prior branches by @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1166
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.90
else if chains with reachable prior branches by @Copilot in https://github.com/meziantou/Meziantou.Analyzer/pull/1166Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.89...3.0.90
Add opt-in MA0134 reporting for discarded awaitables by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1164
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.89
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.88...3.0.89
Add MA0201 for zero-valued enum flag checks by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1163
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.88
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.87...3.0.88
Fix MA0194 merge with existing and-patterns by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1162
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.87
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.86...3.0.87
Improve MA0192 HasFlag detection for zero comparisons by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1161
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.86
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.85...3.0.86
Add MA0200 for empty property patterns on non-nullable value types by @meziantou in https://github.com/meziantou/Meziantou.Analyzer/pull/1160
NuGet package: https://www.nuget.org/packages/Meziantou.Analyzer/3.0.85
Full Changelog: https://github.com/meziantou/Meziantou.Analyzer/compare/3.0.84...3.0.85
One column per quarter.