Skip to content

Exclude Meziantou assertions from string comparison analyzers - #1281

Merged
meziantou merged 1 commit into
mainfrom
exclude-assert-from-ma0002
Aug 14, 2026
Merged

meziantou merged 1 commit into
mainfrom
exclude-assert-from-ma0002

Conversation

@meziantou

Copy link
Copy Markdown
Owner

Summary

  • Exclude Meziantou.Framework.Assertions.Assert calls from MA0002 and related string-comparison diagnostics.
  • Document the MA0002 exception for assertion methods.
  • Update tests to verify assertion calls are not reported.

Testing

  • Added and updated analyzer tests covering assertion overloads and collection values.

@meziantou
meziantou merged commit 2b77866 into main Aug 14, 2026
11 checks passed
@meziantou
meziantou deleted the exclude-assert-from-ma0002 branch August 14, 2026 14:50
This was referenced Aug 14, 2026
This was referenced Sep 10, 2026
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