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

Merge NMirror to Master - #1550

Merged
MichalStrehovsky merged 2 commits into
masterfrom
nmirror
Jul 19, 2016
Merged

MichalStrehovsky merged 2 commits into
masterfrom
nmirror

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

No description provided.

Atsushi Kanamori and others added 2 commits July 19, 2016 13:38
https://github.com/dotnet/corefx/issues/9805

Switched everything in Reflection to use RuntimeTypeInfo
rather than RuntimeType.

- Did a prior code scan to ensure that all type comparisons
  were done using Equals(), not ==/!= (and manually reviewed
  the handful of exceptions to that to ensure they wouldn't
  cause trouble.)

- Used the IDE to globally rename RuntimeType to BLAH_BLAH_BLAH_BLAH

- Manually rename the RuntimeType class back to its original name.

- Manually restore the RuntimeInfo._legacyAsType field back to RuntimeType

- Change RuntimeInfo.RuntimeType to "return this;"

- Do a file search-replace of BLAH_BLAH_BLAH_BLAH to RuntimeTypeInfo.

- Fixed all the build errors:

  - Removed the RuntimeType-based overloads from TypeUnifier.

  - Inserted CastToType() as necessary to convert back to Type
    on external interfaces.

  - Removed the RuntimeType property from RuntimeTypeInfo (since it's
    now a "return this;")

- Ran devtests, unittests.

[tfs-changeset: 1618468]
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.

2 participants