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

Merge nmirror to master - #1654

Merged
MichalStrehovsky merged 8 commits into
masterfrom
nmirror
Aug 15, 2016
Merged

MichalStrehovsky merged 8 commits into
masterfrom
nmirror

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
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