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

CLR class static fields accessing issues #1248

Closed
artheru opened this issue Jul 31, 2022 · 0 comments · Fixed by #1275
Closed

CLR class static fields accessing issues #1248

artheru opened this issue Jul 31, 2022 · 0 comments · Fixed by #1275

Comments

@artheru
Copy link

artheru commented Jul 31, 2022

For example:

class A { public static int a;}
class B:A{}

then,
engine.SetValue("B", TypeReference.CreateTypeReference(engine, typeof(B)));
finally:
B.a=1
does nothing.

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

Successfully merging a pull request may close this issue.

1 participant