-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mono] refactor metadata update code (#85177)
* WIP: remove mono_class_set_metadata_update_info generics blocker * Allow GTDs to store MonoClassMetadataUpdateInfo allow generic type definitions to can contain added members * [loader] Use iterator in find_method_in_class Instead of using a for-loop, use an interator that will also pick up added methods from hot reload. There's an issue here compared to the old code: the old code could cope with MonoClass:methods containing null pointers. But the iterator approach signals that iteration is finished by returning NULL. Need to check whether the old code is reachable on modern .NET * Get method add/update info for generic instance classes * Cleanup the codepath of calling hot_reload_find_method_by_name * Add reflection support for property of generic instance * Fix ios build failure * Add new capabilities Fixes #82792 Fixes #82791 --------- Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
- Loading branch information
1 parent
5eb4ff0
commit 018a9bd
Showing
6 changed files
with
179 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters