-
Notifications
You must be signed in to change notification settings - Fork 36
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
static constructors are ommited to process alltogether #98
Comments
Actually, it seems to be that easy to fix, as the following patch suggests. Is there a not so obvious reason why static constructors were filtered out during C code generation?
|
@cyborgyn Sorry for the very delay. I understood #100 work and imported it with cherry-pick. 2cbb6f1 For the life of me, I can't remember why I excluded the Type initializer; it may have been due to the fact that I had not checked the initialization order of the Type initializer. (I still have not been able to confirm this.) |
In the following static class initialization:
Foo.Bar will never contain a value, the string "foobar" is not enlisted between constant strings, and related to #97 issue, no static constructor is generated, but called.
The text was updated successfully, but these errors were encountered: