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

Port FxCop rule CA1810: InitializeReferenceTypeStaticFieldsInline #687

Open
ghost opened this issue Dec 2, 2015 · 0 comments
Open

Port FxCop rule CA1810: InitializeReferenceTypeStaticFieldsInline #687

ghost opened this issue Dec 2, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 2, 2015

Title: Initialize reference type static fields inline

Description:

When a type declares an explicit static constructor, the just-in-time (JIT) compiler adds a check to each static method and instance constructor of the type to make sure that the static constructor was previously called. Static constructor checks can decrease performance.

Dependency: None

Notes:

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

No branches or pull requests

3 participants