Open dawidkomorowski opened 8 months ago
.NET 7 introduced System.Diagnostics.UnreachableException that is meant to handle unreachable code paths. https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.unreachableexception?view=net-7.0
System.Diagnostics.UnreachableException
Existing exceptions used in such scenarios should be replaced with UnreachableException.
UnreachableException
This issue depends on #474
.NET 7 introduced
System.Diagnostics.UnreachableException
that is meant to handle unreachable code paths. https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.unreachableexception?view=net-7.0Existing exceptions used in such scenarios should be replaced with
UnreachableException
.Acceptance Criteria
System.Diagnostics.UnreachableException
to handle unreachable code pathsDefinition of Done