Skip to content

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

Merged
merged 3 commits into from
Jun 2, 2021

Conversation

lambdageek
Copy link
Member

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.

@ghost
Copy link

ghost commented May 27, 2021

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.

@ghost
Copy link

ghost commented May 27, 2021

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

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.

Author: lambdageek
Assignees: -
Labels:

area-Diagnostics-coreclr

Milestone: -

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.
@lambdageek lambdageek force-pushed the add-custom-attribute-add-test branch from c95d432 to 53eb701 Compare May 27, 2021 21:46
Looking up the new class using System.Reflection.Assembly.GetType wasn't working.
@lambdageek lambdageek force-pushed the add-custom-attribute-add-test branch from c9f9f8f to 36284c5 Compare May 28, 2021 04:29
@lambdageek lambdageek force-pushed the add-custom-attribute-add-test branch from 36284c5 to 5a46b5c Compare May 28, 2021 14:02
@lambdageek lambdageek marked this pull request as ready for review May 28, 2021 14:03
@lambdageek
Copy link
Member Author

lambdageek commented May 28, 2021

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()
Copy link
Contributor

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.

@lambdageek lambdageek merged commit 6d576ba into dotnet:main Jun 2, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jul 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants