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

[NativeAOT] Static class #1896

Closed
RoccoZero opened this issue Jun 12, 2022 · 2 comments
Closed

[NativeAOT] Static class #1896

RoccoZero opened this issue Jun 12, 2022 · 2 comments

Comments

@RoccoZero
Copy link

is it possible to remove these calls?
it's just that in my project, optimization should be at the highest level like c++

I myself immediately activate manually all static properties
I want to completely remove automatic activation of static classes
please give us this opportunity

image

@jkotas
Copy link
Member

jkotas commented Jun 12, 2022

This is tracked by dotnet/runtime#64242 - Optimize static field access and Optimize class constructor checks

@jkotas
Copy link
Member

jkotas commented Jul 29, 2022

Dup of dotnet/runtime#64242

@jkotas jkotas closed this as completed Jul 29, 2022
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

No branches or pull requests

2 participants