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

Create fix for CA1861 in top level statements #7119

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

CollinAlpert
Copy link
Contributor

This PR adds support for invoking the fixer for the AvoidConstArrays analyzer when in top-level statements.

Fixes #7111

@CollinAlpert CollinAlpert requested a review from a team as a code owner December 29, 2023 00:42
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

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

Comparison is base (5dc99c6) 96.42% compared to head (bd0ecd8) 96.43%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7119   +/-   ##
=======================================
  Coverage   96.42%   96.43%           
=======================================
  Files        1412     1412           
  Lines      337058   337097   +39     
  Branches    11145    11146    +1     
=======================================
+ Hits       325020   325070   +50     
+ Misses       9231     9222    -9     
+ Partials     2807     2805    -2     

@mavasani mavasani merged commit 4f40cd9 into dotnet:main Jan 2, 2024
14 checks passed
@CollinAlpert CollinAlpert deleted the issue-7111 branch February 7, 2024 19:34
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.

CA1861 FP for top-level statement
2 participants