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 number of issues in CA1859. #7133

Merged
merged 4 commits into from
Jan 17, 2024
Merged

Fix a number of issues in CA1859. #7133

merged 4 commits into from
Jan 17, 2024

Conversation

geeknoid
Copy link
Member

- Fixes #6904. The logic didn't recognize await expressions.

- Fixes #7078. The logic didn't recognize indexer calls.

- Fixes #7127. The logic never suggested to upgrade from an interface to a struct
type. There wasn't an obvious reason for that, it was an ommission on my part.
@geeknoid geeknoid requested a review from a team as a code owner January 11, 2024 00:40
Copy link

codecov bot commented Jan 11, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (8847dee) 96.44% compared to head (37bcec6) 96.44%.
Report is 51 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #7133    +/-   ##
========================================
  Coverage   96.44%   96.44%            
========================================
  Files        1413     1413            
  Lines      337690   338004   +314     
  Branches    11177    11187    +10     
========================================
+ Hits       325669   325986   +317     
+ Misses       9201     9200     -1     
+ Partials     2820     2818     -2     

…UseConcreteTypeAnalyzer.cs

Co-authored-by: Youssef Victor <[email protected]>
@geeknoid
Copy link
Member Author

@mavasani @Youssef1313 Could one of you please do the honor of committing this PR please?

@mavasani mavasani merged commit 23ec029 into dotnet:main Jan 17, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants