Skip to content

Conversation

@MichalStrehovsky
Copy link
Member

Fixes #69998.
Fixes #69746.

Might be better to review individual commits.

We have a couple places that also catch MissingMetadataException. This is a .NET Nativism where a type can:

  1. Have the runtime data structure and metadata, or
  2. Can only have the runtime data structure, or
  3. Can only have the runtime structure and be marked as "blocked"
  4. Can only have the metadata and no runtime data structure

Situation 2 can lead to things like: accessing Type.FullName throws because we don't have the reflection metadata for it. It cannot happen in NativeAOT and I don't see a way to reconcile this with IL Linker, It probably has no future. I could excise that too if there's interest. Maybe better to do in this pull request,

Cc @dotnet/ilc-contrib

@jkotas
Copy link
Member

jkotas commented Aug 9, 2022

It probably has no future. I could excise that too if there's interest. Maybe better to do in this pull request,

I agree that this has no fugure. I think it is fine to delete it in this PR.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@MichalStrehovsky
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky MichalStrehovsky merged commit fc06697 into dotnet:main Aug 11, 2022
@MichalStrehovsky MichalStrehovsky deleted the byemme branch August 11, 2022 01:44
@ghost ghost locked as resolved and limited conversation to collaborators Sep 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants