in src/Microsoft.VisualStudio.Validation/Assumes.cs [319:333]
public static Exception Fail([Localizable(false)] string? message, Exception? innerException)
{
var exception = new InternalErrorException(message, innerException);
bool proceed = true; // allows debuggers to skip the throw statement
if (proceed)
{
throw exception;
}
else
{
#pragma warning disable CS8763
return new Exception();
#pragma warning restore CS8763
}
}