Skip to content

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 2 times, most recently 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

@0xced
Copy link
Contributor Author

0xced commented Feb 5, 2025

Is there anything holding this pull request @Sergio0694? It looks like several people are interested in it.

@0xced
Copy link
Contributor Author

0xced commented Jun 27, 2025

I see there's some recent activity here in #127. Please don't forget about this pull request too if you're goint to release a new version of PolySharp. 😉

@0xced 0xced force-pushed the UnreachableException branch from a2c4dd2 to 5471e00 Compare June 27, 2025 07:05
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 5471e00 to adde2b4 Compare October 21, 2025 22:43
@0xced
Copy link
Contributor Author

0xced commented Oct 21, 2025

UnreachableException is available in .NET 8 and .NET 9, the only .NET versions which are still supported.

But it still makes sense when targeting .NET Standard.

Any chance to get this merged, @Sergio0694?

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