-
Notifications
You must be signed in to change notification settings - Fork 5k
Add hot reload test that adds custom attributes #53387
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
Add hot reload test that adds custom attributes #53387
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @tommcdon Issue DetailsThis test adds new rows to the CustomAttribute table with both new a class and
|
This test adds new rows to the CustomAttribute table with both new a class and a new method as parents. That should result in an unsorted table, which CoreCLR should be able to handle.
c95d432
to
53eb701
Compare
Looking up the new class using System.Reflection.Assembly.GetType wasn't working.
c9f9f8f
to
36284c5
Compare
36284c5
to
5a46b5c
Compare
Looks like the test is passing on CoreCLR. Seems we're in the clear for #53066 |
@@ -133,5 +133,26 @@ internal static void AddRemoteInvokeOptions (ref RemoteInvokeOptions options) | |||
testBody(arg1); | |||
} | |||
} | |||
|
|||
|
|||
public static void ClearAllReflectionCaches() |
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.
It would be nice someday to use the more general update handler logic from the SDK here somehow. It should work for mono too.
This test adds new rows to the CustomAttribute table with both new a class and
a new method as parents. That should result in an unsorted table, which
CoreCLR should be able to handle.