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

Fix MethodDesc.ToString in runtime type loader - #5263

Merged
MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:fixToString
Jan 19, 2018
Merged

MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:fixToString

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

The full ToString implementation includes the signature to help diagnosability, but the runtime type loader might not be able to provide that information.

Stop including MethodDesc.ToString.cs in the runtime type loader and restore old overrides on MethodForInstantiatiatedType and InstantiatedMethod that got deleted in #5065 (but only for the runtime type loader).

Also fixing up the the project file:

  • The tracing options should also be available in CoreRT
  • Deleting TYPE_SYSTEM_SINGLE_THREADED that got introduced in TFS changeset 1553623 and got never used for anything

The full `ToString` implementation includes the signature to help diagnosability, but the runtime type loader might not be able to provide that information.

Stop including MethodDesc.ToString.cs in the runtime type loader and restore old overrides on `MethodForInstantiatiatedType` and `InstantiatedMethod` that got deleted in dotnet#5065 (but only for the runtime type loader).

Also fixing up the the project file:
* The tracing options should also be available in CoreRT
* Deleting `TYPE_SYSTEM_SINGLE_THREADED` that got introduced in TFS changeset 1553623 and got never used for anything
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

@fadimounir PTAL

@fadimounir

Copy link
Copy Markdown

LGTM. Thanks for fixing the logging :)

@MichalStrehovsky
MichalStrehovsky merged commit 69c3fdf into dotnet:master Jan 19, 2018
@MichalStrehovsky
MichalStrehovsky deleted the fixToString branch January 19, 2018 16:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants