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