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 a few bugs in CA1859. #6709

Merged
merged 1 commit into from
Jun 29, 2023
Merged

Fix a few bugs in CA1859. #6709

merged 1 commit into from
Jun 29, 2023

Conversation

geeknoid
Copy link
Member

@geeknoid geeknoid commented Jun 23, 2023

Fixes #6659
Fixed #6565
Fixes #6687
Fixes #6704

@geeknoid geeknoid requested a review from a team as a code owner June 23, 2023 01:17
Comment on lines +49 to +73
I obj = new Derived();
obj.M();
Copy link
Member

@sharwell sharwell Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💭 It seems like this would still work:

Derived obj = new Derived();
((I)obj).M();

Not sure it's better though.

@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Merging #6709 (aa190d8) into main (b4dc141) will decrease coverage by 0.02%.
The diff coverage is 93.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6709      +/-   ##
==========================================
- Coverage   96.38%   96.36%   -0.02%     
==========================================
  Files        1386     1395       +9     
  Lines      323491   325074    +1583     
  Branches    10567    10676     +109     
==========================================
+ Hits       311782   313260    +1478     
- Misses       9181     9247      +66     
- Partials     2528     2567      +39     

Copy link
Member

@mavasani mavasani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some minor suggestions

@mavasani mavasani merged commit 21a3b16 into dotnet:main Jun 29, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants