17 references to ErrorSeverity
Microsoft.CodeAnalysis (17)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
117
catch (Exception ex) when (FatalError.ReportAndCatch(ex,
ErrorSeverity
.Critical))
DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
419
catch (Exception ex) when (FatalError.ReportAndCatch(ex,
ErrorSeverity
.Diagnostic))
InternalUtilities\FatalError.cs (15)
29
public delegate void ErrorReporterHandler(Exception exception,
ErrorSeverity
severity, bool forceDump);
43
/// cref="ReportNonFatalError(Exception,
ErrorSeverity
, bool)"/></param>
99
public static bool ReportAndPropagate(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
111
public static bool ReportAndPropagateUnlessCanceled(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
140
public static bool ReportAndPropagateUnlessCanceled(Exception exception, CancellationToken contextCancellationToken,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
161
public static bool ReportAndCatch(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized)
237
private static void Report(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized, bool forceDump = false)
248
public static void ReportNonFatalError(Exception exception,
ErrorSeverity
severity =
ErrorSeverity
.Uncategorized, bool forceDump = false)
253
private static void ReportException(Exception exception,
ErrorSeverity
severity, bool forceDump, ErrorReporterHandler? handler)