Skip to content

Bump Meziantou.Analyzer from 3.0.125 to 3.0.133 - #110

Merged
flipbit merged 1 commit into
mainfrom
analyzer-upgrade
Jul 28, 2026
Merged

Bump Meziantou.Analyzer from 3.0.125 to 3.0.133#110
flipbit merged 1 commit into
mainfrom
analyzer-upgrade

Conversation

@flipbit

@flipbit flipbit commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Bumps Meziantou.Analyzer from 3.0.125 to 3.0.133 in Directory.Build.props
  • Fixes 34 new MA0002 violations (the upgraded analyser now flags string comparisons without an explicit comparer)
  • All fixes are in test files only - the source project built clean with zero violations

The fixes add StringComparer.Ordinal to Assert.Equal, Assert.NotEqual and Assert.Contains calls that compare strings or string collections. Purely mechanical, no behaviour changes.

Test plan

  • dotnet build ./Tokenizer.sln -c Release passes with 0 warnings, 0 errors
  • dotnet test passes all 1762 tests

Fix 34 MA0002 violations in test files by adding explicit
StringComparer.Ordinal to Assert.Equal, Assert.NotEqual and
Assert.Contains calls that compare strings. Source project
was clean - all fixes in tests only.
@flipbit
flipbit merged commit a62df71 into main Jul 28, 2026
4 checks passed
@flipbit
flipbit deleted the analyzer-upgrade branch July 28, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant