Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rule MA0127: Use String.Equals instead of pattern matching (disabled by default) #441

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

meziantou
Copy link
Owner

Fix #440

@meziantou meziantou changed the title New rule MA0127 New rule MA0127: Use String.Equals instead of pattern matching (disabled by default) Jan 20, 2023
@codecov
Copy link

codecov bot commented Jan 20, 2023

Codecov Report

Merging #441 (71b3e4f) into main (f43c9d2) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #441      +/-   ##
==========================================
+ Coverage   89.50%   89.53%   +0.03%     
==========================================
  Files         160      161       +1     
  Lines       11832    11869      +37     
==========================================
+ Hits        10590    10627      +37     
  Misses       1242     1242              
Impacted Files Coverage Δ
src/Meziantou.Analyzer/RuleIdentifiers.cs 100.00% <100.00%> (ø)
...eziantou.Analyzer/Rules/UseStringEqualsAnalyzer.cs 100.00% <100.00%> (ø)
...c/Meziantou.Analyzer/Rules/UseStringEqualsFixer.cs 87.77% <100.00%> (ø)
...Rules/UseStringEqualsInsteadOfIsPatternAnalyzer.cs 100.00% <100.00%> (ø)

@meziantou meziantou merged commit b1823b5 into main Jan 20, 2023
@meziantou meziantou deleted the issues/440 branch January 20, 2023 04:14
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.

MA0006 trigger on string pattern match with is
1 participant