Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove some dead code that threw file load exception #87290

Merged
merged 2 commits into from
Jun 9, 2023

Conversation

elinor-fung
Copy link
Member

Found this while looking into an issue - removes:

  • Helper functions for throwing FileLoadException that are never called
  • fAllowFailure parameter from AppDomain::AddFileToCache (was always called with TRUE)
  • FUSION_E_CACHEFILE_FAILED error code
    • This is observable behaviour in that Marshal.GetExceptionForHR no longer handles that value. The runtime was never throwing it and I don't think users should be using it themselves, so I think it should be okay.

@jkotas
Copy link
Member

jkotas commented Jun 9, 2023

All failures are known issues

@jkotas jkotas merged commit b7dd183 into dotnet:main Jun 9, 2023
@elinor-fung elinor-fung deleted the unused-fileloadexception branch June 9, 2023 01:26
@ghost ghost locked as resolved and limited conversation to collaborators Jul 9, 2023
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.

2 participants