Skip to content

Conversation

@bjornhellander
Copy link
Contributor

@bjornhellander bjornhellander commented Jan 21, 2024

Partly fixes #3781.
Handles originally reported case (overrides), but not the case of implementing an interface.

Updated to fix the issue completely.

@codecov
Copy link

codecov bot commented Jan 21, 2024

Codecov Report

Attention: Patch coverage is 98.91304% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 97.45%. Comparing base (6327501) to head (d1b6183).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3782      +/-   ##
==========================================
+ Coverage   94.37%   97.45%   +3.08%     
==========================================
  Files         924      924              
  Lines      109815   110198     +383     
  Branches     3302     3310       +8     
==========================================
+ Hits       103635   107394    +3759     
+ Misses       5170     1839    -3331     
+ Partials     1010      965      -45     

@bjornhellander
Copy link
Contributor Author

Any comments on this, @sharwell?

…CorrectCasing unless a diagnostic will be issued
@bjornhellander bjornhellander force-pushed the sa1316-member-override branch from 6f94c20 to 7ea2d3f Compare March 23, 2024 07:48
…r's signature, if that member is an override or implements an interface

DotNetAnalyzers#3781
@bjornhellander bjornhellander force-pushed the sa1316-member-override branch from 7ea2d3f to d1b6183 Compare March 23, 2024 07:59
@bjornhellander
Copy link
Contributor Author

Rebased and updated to also handle members implemented from an interface, making it a complete fix for the linked issue.
Also moved a string allocation to make it not occur as often.

Ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SA1316: Inactionable diagnostic in method overrides

1 participant