-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Init field only on first execution #631
Conversation
This should solve issue #629 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a unit-test DynamicClassTests.cs
which tests this fix?
I've added a test. It fails without my change and works afterwards. |
Suggested change wasn't approved. |
@BBreiden (sorry ; I did not have enough time for this project...) |
I reopened the PR! |
The current getter throws if called more than once, as the dictionary has already been set up.