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

Delete weird GetTypeDefinition overrides - #1361

Merged
MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:getTypeDefinition
Jun 3, 2016
Merged

MichalStrehovsky merged 1 commit into
dotnet:masterfrom
MichalStrehovsky:getTypeDefinition

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

Returning this (which is what the base implementation does) is as good
as the implementation I'm deleting. This operation is only meaningful
for generic type instances, but we expose the method on TypeDesc for
perf reasons.

The less code - the fewer bugs. Bonus points for finding the bug in the
code I'm deleting.

Returning `this` (which is what the base implementation does) is as good
as the implementation I'm deleting. This operation is only meaningful
for generic type instances, but we expose the method on `TypeDesc` for
perf reasons.

The less code - the fewer bugs. Bonus points for finding the bug in the
code I'm deleting.
@jkotas

jkotas commented Jun 3, 2016

Copy link
Copy Markdown
Member

👍

@MichalStrehovsky
MichalStrehovsky merged commit 5986627 into dotnet:master Jun 3, 2016
@MichalStrehovsky
MichalStrehovsky deleted the getTypeDefinition branch June 3, 2016 06:15
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