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

Port canonicalization support to open - #1365

Merged
MichalStrehovsky merged 1 commit into
dotnet:nmirrorfrom
MichalStrehovsky:canon
Jun 4, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:nmirrorfrom
MichalStrehovsky:canon

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

Note this is going directly to the nmirror branch to expedite the journey to the TFS land.

@MichalStrehovsky
MichalStrehovsky merged commit 5193c33 into dotnet:nmirror Jun 4, 2016
@MichalStrehovsky
MichalStrehovsky deleted the canon branch June 4, 2016 17:10
@manu-st

manu-st commented Jun 5, 2016

Copy link
Copy Markdown

Do you have any pointers on the purpose of the canonical form? It seems it might have to do with generics but this is not quite clear.

@MichalStrehovsky

Copy link
Copy Markdown
Member Author

https://github.com/dotnet/coreclr/blob/775003a4c72f0acc37eab84628fcef541533ba4e/Documentation/botr/type-loader.md has a short paragraph about it. It has to do with sharing code (and potentially other data structures) of generic instantiations. Generic instantiations that map to the same canonical form can do the sharing between each other.

I'm planning on adding some unit tests for this that will hopefully make things more clear.

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.

4 participants