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

Remove rule CA2109 #6198

Merged
merged 2 commits into from
Dec 16, 2022
Merged

Remove rule CA2109 #6198

merged 2 commits into from
Dec 16, 2022

Conversation

x789
Copy link
Contributor

@x789 x789 commented Oct 8, 2022

This PR removes analyzer rule CA2109 and closes #5974.

@x789 x789 marked this pull request as ready for review October 8, 2022 07:53
@x789 x789 requested a review from a team as a code owner October 8, 2022 07:53
@Youssef1313
Copy link
Member

@x789 Can you fix the build please?

@x789
Copy link
Contributor Author

x789 commented Dec 10, 2022

@Youssef1313 I will fix it during the next week...

@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Merging #6198 (63c4dcf) into main (fde4933) will decrease coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6198      +/-   ##
==========================================
- Coverage   96.08%   96.07%   -0.01%     
==========================================
  Files        1366     1363       -3     
  Lines      315512   315269     -243     
  Branches    10187    10184       -3     
==========================================
- Hits       303145   302904     -241     
- Misses       9934     9935       +1     
+ Partials     2433     2430       -3     

@x789
Copy link
Contributor Author

x789 commented Dec 13, 2022

All but one check are green. Code compiles and tests run flawlessly on my machine.

I cannot reproduce the failing check and I assume, that it simply took too long and was therefore cancelled.

@Youssef1313 Maybe you can have a look at it?

@Youssef1313
Copy link
Member

It seems there are conflicts and too many extra commits that shouldn't exist. Could you fix that @x789?

@x789
Copy link
Contributor Author

x789 commented Dec 13, 2022

@Youssef1313: You're right, the PR was a bit confusing. I started over and put all the changes into one commit. Now the changes should be more understandable.


internal static readonly DiagnosticDescriptor Rule = DiagnosticDescriptorHelper.Create(
RuleId,
CreateLocalizableResourceString(nameof(ReviewVisibleEventHandlersTitle)),
Copy link
Member

Choose a reason for hiding this comment

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

consider deleting the unused resources as well

@Youssef1313
Copy link
Member

@mavasani for review

Copy link
Member

@Youssef1313 Youssef1313 left a comment

Choose a reason for hiding this comment

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

LGTM

@Youssef1313
Copy link
Member

@mavasani Is this ready to merge?

@mavasani mavasani merged commit 7ae929d into dotnet:main Dec 16, 2022
@github-actions github-actions bot added this to the vNext milestone Dec 16, 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.

Remove rule CA2109
3 participants