Sergio0694 / PolySharp

PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add a reference, set your C# version to latest and have fun! 🚀
MIT License
1.83k stars 49 forks source link

Add new `System.Diagnostics.UnreachableException` polyfill #89

Open 0xced opened 1 year ago

0xced commented 1 year ago

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.

ristogod commented 1 week ago

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 commented 1 week ago

I just rebased on develop with a few improvements.