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

make a couple of private functions static to silence CA1822 analyzer warnings #546

Merged
merged 1 commit into from Feb 6, 2021

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Dec 6, 2020

Rather trivial, but FxCop (#449) suggests making these functions static as they don't access instance data (CA1822, may or may not have hypothetically better performance)

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@piksel piksel merged commit 703c877 into icsharpcode:master Feb 6, 2021
@Numpsy Numpsy deleted the rw/analyzer/ca1822 branch February 8, 2021 10:54
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.

None yet

2 participants