10 references to FatalError
Microsoft.CodeAnalysis (10)
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))
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
1569catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken)) 1628catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken))
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
807catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken)) 1287catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken))
InternalUtilities\FailFast.cs (2)
17/// A pre-created delegate to assign to <see cref="FatalError.ErrorReporterHandler" /> if needed. 19internal static readonly FatalError.ErrorReporterHandler Handler = static (e, _, _) => OnFatalException(e);
InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
InternalUtilities\RoslynParallel.cs (1)
32catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken))