Skip to content

CA1810: Initialize reference type static fields inline#2776

Merged
asbjornu merged 2 commits intoGitTools:mainfrom
Evangelink:enable-CA1810
Jul 23, 2021
Merged

CA1810: Initialize reference type static fields inline#2776
asbjornu merged 2 commits intoGitTools:mainfrom
Evangelink:enable-CA1810

Conversation

@Evangelink
Copy link
Copy Markdown
Contributor

Enable CA1810 analyzer as warning level and fix found issues.

The idea behind this analyzer is to improve performance by preventing some extra calls caused by a static constructor.

@asbjornu asbjornu merged commit 94e9c74 into GitTools:main Jul 23, 2021
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 23, 2021

Thank you @Evangelink for your contribution!

@arturcic arturcic added this to the 5.6.11 milestone Jul 24, 2021
@Evangelink Evangelink deleted the enable-CA1810 branch July 26, 2021 08:20
@github-actions
Copy link
Copy Markdown

🎉 This issue has been resolved in version 5.6.11 🎉
The release is available on:

Your GitReleaseManager bot 📦🚀

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.

3 participants