-
Notifications
You must be signed in to change notification settings - Fork 527
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
Enable and apply CA1822: Mark members as static #302
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tsavorite changes look good, with one comment
...torage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/Revivification/FreeRecordPool.cs
Outdated
Show resolved
Hide resolved
For |
I'll try revert those files where the automation made things more confusing 👍 |
* Static and non-static APIs made things confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; please resolve the conflicts.
This PR enables
CA1822: Mark members as static
analyzer from the Performance-category. The rule was applied using the VS automation.Static calls are cheaper.