22 references to ErrorSeverity
Microsoft.CodeAnalysis.InteractiveHost (22)
src\Dependencies\Contracts\ErrorReporting\FatalError.cs (21)
32
public delegate void ErrorReporterHandler(Exception exception,
ErrorSeverity
severity, bool forceDump);
46
/// cref="ReportNonFatalError(Exception,
ErrorSeverity
, bool)"/></param>
102
public static bool ReportAndPropagate(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
114
public static bool ReportAndPropagateUnlessCanceled(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
143
public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
164
public static bool ReportAndCatch(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
176
public static bool ReportWithDumpAndCatch(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
189
public static bool ReportAndCatchUnlessCanceled(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
219
public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
259
private static void Report(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized, bool forceDump = false)
270
public static void ReportNonFatalError(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized, bool forceDump = false)
275
private static void ReportException(Exception exception,
ErrorSeverity
severity, bool forceDump, ErrorReporterHandler? handler)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (1)
279
catch (Exception ex) when (FatalError.ReportAndPropagateUnlessCanceled(ex,
ErrorSeverity
.Critical))