Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Delete some .NET Nativisms #73553

Merged
merged 2 commits into from
Aug 9, 2022
Merged

Conversation

MichalStrehovsky
Copy link
Member

@MichalStrehovsky MichalStrehovsky commented Aug 8, 2022

  • Replace MissingInteropDataException with NotSupportedException
  • Replace MissingRuntimeArtifactException with MissingMetadataException (it was already used as a MME in some spots anyway). I'll try to get rid of MME later.
  • Change the messages to refer to static analysis as the fix, not RD.XML.

Open question: do we want an aka.ms link for these? We don't currently have a doc on "Making apps ready for NativeAOT", but we'll need one.

Cc @dotnet/ilc-contrib

Contributes to #69746.

* Replace MissingInteropDataException with NotSupportedException
* Replace MissingRuntimeArtifactException with MissingMetadataException (it was already used as a MME in some spots anyway). I'll try to get rid of MME later.
* Change the messages to refer to static analysis as the fix, not RD.XML.

Open question: do we want an aka.ms link for these? We don't currently have a doc on "Making apps ready for NativeAOT", but we'll need one.
Copy link
Member

@vitek-karas vitek-karas left a comment

Choose a reason for hiding this comment

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

I think it would be good to have an aka.ms link for these.
Analyzer/compiler get away without one by producing a specific warning code - which has a document page, so we effectively have a landing page for each of the warnings. Exceptions don't have anything like that.

@MichalStrehovsky MichalStrehovsky merged commit f58a790 into dotnet:main Aug 9, 2022
@MichalStrehovsky MichalStrehovsky deleted the mme branch August 9, 2022 06:41
@ghost ghost locked as resolved and limited conversation to collaborators Sep 8, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants