Skip to content
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

Unify type instantiations in reflection emit #81518

Merged
merged 14 commits into from
Feb 20, 2023

Conversation

buyaa-n
Copy link
Contributor

@buyaa-n buyaa-n commented Feb 2, 2023

This change is suggested during code review of #78544

@ghost
Copy link

ghost commented Feb 2, 2023

Tagging subscribers to this area: @dotnet/area-system-reflection
See info in area-owners.md if you want to be subscribed.

Issue Details

This change is suggested during code review of #78544

Author: buyaa-n
Assignees: buyaa-n
Labels:

area-System.Reflection

Milestone: -

@vargaz
Copy link
Contributor

vargaz commented Feb 2, 2023

On mono, the layout of these types is visible to the runtime, so it would be better to make them a partial type, and create .Mono.cs versions of them. This is how runtime specific types are usually handled.

@buyaa-n buyaa-n force-pushed the unify-type-inst branch 2 times, most recently from 59e761b to 9c298c2 Compare February 3, 2023 05:55
@buyaa-n buyaa-n marked this pull request as ready for review February 7, 2023 22:32
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CoreCLR changes LGTM. @vargaz @lambdageek Could you please review the Mono changes?

@vargaz
Copy link
Contributor

vargaz commented Feb 17, 2023

Mono changes look ok.

@marek-safar marek-safar merged commit f4ad730 into dotnet:main Feb 20, 2023
@buyaa-n buyaa-n deleted the unify-type-inst branch February 24, 2023 19:25
@ghost ghost locked as resolved and limited conversation to collaborators Mar 27, 2023
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.

7 participants