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

Merge changes from TFS - #1638

Merged
jkotas merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
Aug 11, 2016
Merged

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

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

This API misuse started to hit a new assertion in TryGetMetadataForNamedType that was checking that the type handle passed to it is not garbage (i.e. doesn't refer to a constructed type).

I'm moving the check into ExecutionDomain so that it's in the same spot as the other check for blocked types.

The added benefit of this is that:
* we don't decompose the generic instance type handle twice anymore (the first thing IsReflectionBlocked does with generic types is to fetch the definition)
* we don't try to find metadata for something that doesn't have it anyway because it's not a definition

[tfs-changeset: 1622087]
@jkotas
jkotas merged commit b5079c2 into dotnet:nmirror Aug 11, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch August 11, 2016 23:29
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.

4 participants