Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for Assumed.Unreachable(...) (#11155)
This change is a follow-up to #11144 (comment) that addresses two issues that may help with diagnosis: 1. `Assumed.Unreachable(...)`captures the `[CallerFilePath]` and `[CallerLineNumber]` but didn't do anything with them. Now, those values are appended to the exception message. 2. Two `Assumed.Unreachable(...)` overloads have been added to allow a custom exception message to be provided that can be used to add more detail about a failure.
- Loading branch information