internal static void FailFast(string message, Exception exception, string errorSource) { // TODO: errorSource originates from CoreCLR (See: https://github.com/dotnet/coreclr/pull/15895) // For now, we ignore errorSource on CoreRT but we should distinguish the way FailFast prints exception message using errorSource bool result = DeveloperExperience.Default.OnContractFailure(exception.StackTrace, ContractFailureKind.Assert, message, null, null, null); if (!result) { RuntimeExceptionHelpers.FailFast(message, exception); } }
public static void FailFast(String message, Exception exception) { RuntimeExceptionHelpers.FailFast(message, exception); }
//// Note: The CLR's Watson bucketization code looks at the caller of the FCALL method //// to assign blame for crashes. Don't mess with this, such as by making it call //// another managed helper method, unless you consult with some CLR Watson experts. public static void FailFast(string message) { RuntimeExceptionHelpers.FailFast(message); }