-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
UnreachableException
polyfill
#60
Comments
I have a separate package for this, but I am willing to include it in pollysharp.. (https://github.com/dnperfors/unreachableexception/) |
0xced
added a commit
to 0xced/PolySharp
that referenced
this issue
Nov 8, 2023
The System.Diagnostics.UnreachableException.cs file was not actually auto-generated (see Sergio0694#88). Fixes Sergio0694#60
0xced
added a commit
to 0xced/PolySharp
that referenced
this issue
Nov 22, 2024
The System.Diagnostics.UnreachableException.cs file was not actually auto-generated (see Sergio0694#88). Fixes Sergio0694#60
0xced
added a commit
to 0xced/PolySharp
that referenced
this issue
Nov 22, 2024
The System.Diagnostics.UnreachableException.cs file was not actually auto-generated (see Sergio0694#88). Fixes Sergio0694#60
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This exception is not really intended to be caught as it being thrown indicates that something has gone horribly wrong, like a
Debug.Assert()
failing orEnvironment.FailFast()
being called.I have several code paths in some of my analyzer and source generator projects where throwing
UnreachableException
is the obvious thing to do, but the type isnet7.0
only.The text was updated successfully, but these errors were encountered: