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