-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[hot reload][mono] Implement support for adding static and instance fields to generic classes #87285
Conversation
dotnet/roslyn#68293 we get an error if we add a generic field and try to use it during the same edit. workaround is to do two separate edits
ldsflda seems to be working
cc @mikelle-rogers coreclr doesn't like the new test |
Also found an issue where mono does loads of added valuetype fields incorrectly. That warrants its own non-generic test (the existing tests only try small primitive types, not structs like |
e1f018b
to
b7c52f7
Compare
@fanyang-mono please take a look |
47f6dd0
to
82cd412
Compare
82cd412
to
b56cdf9
Compare
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.
LGTM! I wonder if you need to update hot_reload_get_capabilities
for this new capability?
yes! thank you! |
Fixes #86111