11 references to ErrorReporterHandler
Microsoft.CodeAnalysis.Workspaces (11)
src\Compilers\Core\Portable\InternalUtilities\FailFast.cs (2)
17/// A pre-created delegate to assign to <see cref="FatalError.ErrorReporterHandler" /> if needed. 19internal static readonly FatalError.ErrorReporterHandler Handler = static (e, _, _) => OnFatalException(e);
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (9)
31private static ErrorReporterHandler? s_handler; 32private static ErrorReporterHandler? s_nonFatalHandler; 44public static void SetHandlers(ErrorReporterHandler handler, ErrorReporterHandler? nonFatalHandler) 59public static void OverwriteHandler(ErrorReporterHandler? value) 76static void copyHandlerTo(Assembly assembly, ErrorReporterHandler? handler, string handlerName) 245/// cref="SetHandlers(ErrorReporterHandler, ErrorReporterHandler?)"/>. 253private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump, ErrorReporterHandler? handler)