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.
19
internal static readonly FatalError.
ErrorReporterHandler
Handler = static (e, _, _) => OnFatalException(e);
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (9)
31
private static
ErrorReporterHandler
? s_handler;
32
private static
ErrorReporterHandler
? s_nonFatalHandler;
44
public static void SetHandlers(
ErrorReporterHandler
handler,
ErrorReporterHandler
? nonFatalHandler)
59
public static void OverwriteHandler(
ErrorReporterHandler
? value)
76
static void copyHandlerTo(Assembly assembly,
ErrorReporterHandler
? handler, string handlerName)
245
/// cref="SetHandlers(
ErrorReporterHandler
,
ErrorReporterHandler
?)"/>.
253
private static void ReportException(Exception exception, ErrorSeverity severity, bool forceDump,
ErrorReporterHandler
? handler)