Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Get reflection over generic types working - #1200

Merged
MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:genericReflect
Apr 27, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:genericReflect

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

By "working" I mean let reflection find out information about the
generic composition of the type.

Two parts:

  • Implement TryGetConstructedGenericTypeComponents mapping table service
    as a call into an existing runtime method (this works because EEType now
    contains the composition information as of last week).
  • Emit metadata and mapping table entries for components of generated
    generic instances.

By "working" I mean let reflection find out information about the
generic composition of the type.

Two parts:
* Implement TryGetConstructedGenericTypeComponents mapping table service
as a call into an existing runtime method (this works because EEType now
contains the composition information as of last week).
* Emit metadata and mapping table entries for components of generated
generic instances.
@jkotas

jkotas commented Apr 26, 2016

Copy link
Copy Markdown
Member

LGTM

@MichalStrehovsky
MichalStrehovsky merged commit 9149d51 into dotnet:master Apr 27, 2016
@MichalStrehovsky
MichalStrehovsky deleted the genericReflect branch April 27, 2016 01:04
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.

3 participants