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

Merge changes from TFS - #1549

Merged
MichalStrehovsky merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
Jul 19, 2016
Merged

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

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

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]
@MichalStrehovsky
MichalStrehovsky merged commit bf4b7ce into dotnet:nmirror Jul 19, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch July 19, 2016 20:49
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