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

CA1311 VB - short-circuiting or #6016

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

TKharaishvili
Copy link
Contributor

@TKharaishvili TKharaishvili commented Jun 2, 2022

Even though the IsKind extension method is implemented in a null-tolerant way, it is still better to not check the right hand side of the or expression when it's not necessary, hence this PR.

@buyaa-n this is a follow-up of this - #6010

@TKharaishvili TKharaishvili requested a review from a team as a code owner June 2, 2022 17:51
@codecov
Copy link

codecov bot commented Jun 2, 2022

Codecov Report

Merging #6016 (db1d855) into main (a11d5d3) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #6016      +/-   ##
==========================================
- Coverage   96.03%   96.03%   -0.01%     
==========================================
  Files        1338     1338              
  Lines      307108   307108              
  Branches     9785     9785              
==========================================
- Hits       294922   294918       -4     
- Misses       9811     9813       +2     
- Partials     2375     2377       +2     

@mavasani mavasani merged commit 114d5f2 into dotnet:main Jun 2, 2022
@github-actions github-actions bot added this to the vNext milestone Jun 2, 2022
@TKharaishvili TKharaishvili deleted the CA1311-vb-short-circuiting-or branch June 3, 2022 11:59
@jmarolf jmarolf modified the milestones: vNext, .NET 7.x Nov 15, 2022
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.

4 participants