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

Add new System.Diagnostics.UnreachableException polyfill #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Nov 8, 2023

Closes #60

Additional context

The System.Diagnostics.UnreachableException.cs file was not actually auto-generated (see #88).

Also, only the English localization was considered for the exception message.

@0xced 0xced force-pushed the UnreachableException branch from 1647e0a to 805df3a Compare November 22, 2024 15:22
The System.Diagnostics.UnreachableException.cs file was not actually auto-generated (see Sergio0694#88).

Fixes Sergio0694#60
@0xced 0xced force-pushed the UnreachableException branch from 805df3a to a2c4dd2 Compare November 22, 2024 15:24
@ristogod
Copy link

Is this ever going to be provided?

We are still running our own implementation of UnreachableException, but would prefer to receive it through PolySharp.

@0xced
Copy link
Contributor Author

0xced commented Nov 22, 2024

I just rebased on develop with a few improvements.

  • Addressed feedback from @cremor
    • Added the ExcludeFromCodeCoverage attribute
    • Made the UnreachableException class internal instead of public
  • Added mention of this new class in the README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UnreachableException polyfill
3 participants