Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Merge nmirror to master #1654

Merged
merged 8 commits into from
Aug 15, 2016
Merged

Merge nmirror to master #1654

merged 8 commits into from
Aug 15, 2016

Conversation

MichalStrehovsky
Copy link
Member

No description provided.

dotnet-bot and others added 8 commits August 12, 2016 15:32
This is actually a simple change, but touches a lot of files.

ECMA-335 allows placing custom modifiers on element types of vectors and unmanaged pointers, but the native metadata format didn't allow it. I'm fixing that. As part of the fix, I'm getting rid of the ReturnTypeSignature and ParameterTypeSignature records. Their only purpose was to allow putting a modifier on types. Instead, I'm introducing a ModifiedType record type that can show up in many places where TypeDefOrRefOrSpec does. This way, we're not paying a 1 byte penalty just to say "this parameter has no modifiers".

I'm not emitting the modifiers in either transform since there's nobody who would consume them. I'm doing this because besides fixing correctness, this also has a size/perf benefit - makes SharedLibrary.dll 10 kB smaller.

[tfs-changeset: 1622393]
This change suppresses our managed exception
value-add (stack frame decoration and diagnostic output
which makes use of Reflection) until eager static
initialization is done.
Fix infinite recursion on startup exceptions.
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.

5 participants