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

Merge changes from TFS - #1334

Merged
MichalStrehovsky merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
May 28, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

We have like 2 managed copies of EEType readers and there is a need to read EETypes from CoreLib and CoreRT compiler tests now (as a perf optimization/maintentance improvement). Time to consolidate everything into one thing instead of creating a new thing.

EEType.cs in the type loader is in the best position to become the ultimate EEType reader, so I'm cleaning it up a little (making it use the shared enums we use in the compiler and Runtime.Base).

***Next steps after this***
1. Mechanically remove the "m_" field prefixes
2. Put all the setters under #if TYPE_LOADER_IMPLEMENTATION
3. Move the file out next to EEType.Constants.cs (mirrors it to Github)
4. Profit
5. Make Runtime.Base use the common EEType.cs and delete the inferior EEType.cs
6. Make System.Private.CoreLib use the common EEType.cs and delete RuntimeImports for all of the trivial EEType sniffing
7. Delete RuntimeExports from Runtime.Base that provide EEType sniffing
8. Write unit tests for EEType emission in the CoreRT compiler and use EEType.cs to validate the structures look as expected

[tfs-changeset: 1608978]
@MichalStrehovsky
MichalStrehovsky merged commit 964d36f into dotnet:nmirror May 28, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch May 28, 2016 01:09
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