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

Fix CA1862 false positive with same variable on both sides of comparison #7517

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

louis-z
Copy link
Contributor

@louis-z louis-z commented Dec 23, 2024

Fixes #7074

@louis-z louis-z requested a review from a team as a code owner December 23, 2024 16:21
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.50%. Comparing base (5ed3367) to head (fa98aa7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7517      +/-   ##
==========================================
- Coverage   96.50%   96.50%   -0.01%     
==========================================
  Files        1452     1452              
  Lines      347566   347594      +28     
  Branches    11416    11418       +2     
==========================================
+ Hits       335413   335437      +24     
- Misses       9257     9260       +3     
- Partials     2896     2897       +1     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CA1862 false positive with the same variable on both sides of the comparison
1 participant