22 references to ErrorSeverity
Microsoft.CodeAnalysis.InteractiveHost (22)
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (21)
27
public delegate void ErrorReporterHandler(Exception exception,
ErrorSeverity
severity, bool forceDump);
41
/// cref="ReportNonFatalError(Exception,
ErrorSeverity
, bool)"/></param>
97
public static bool ReportAndPropagate(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
109
public static bool ReportAndPropagateUnlessCanceled(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
138
public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
159
public static bool ReportAndCatch(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
171
public static bool ReportWithDumpAndCatch(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
184
public static bool ReportAndCatchUnlessCanceled(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
214
public static bool ReportAndCatchUnlessCanceled(Exception exception, CancellationToken contextCancellationToken,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
235
private static void Report(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized, bool forceDump = false)
246
public static void ReportNonFatalError(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized, bool forceDump = false)
251
private static void ReportException(Exception exception,
ErrorSeverity
severity, bool forceDump, ErrorReporterHandler? handler)
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (1)
280
catch (Exception ex) when (FatalError.ReportAndPropagateUnlessCanceled(ex,
ErrorSeverity
.Critical))