9 references to FatalError
Microsoft.CodeAnalysis.CodeStyle (9)
src\Compilers\Core\Portable\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);
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
76
var targetType = assembly.GetType(typeof(
FatalError
).FullName!, throwOnError: true)!;
src\Dependencies\Threading\AsyncBatchingWorkQueue`2.cs (1)
280
catch (Exception ex) when (
FatalError
.ReportAndPropagateUnlessCanceled(ex, ErrorSeverity.Critical))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
448
catch (Exception e) when (
FatalError
.ReportAndPropagate(e))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventMap.cs (1)
167
catch (Exception e) when (
FatalError
.ReportAndCatch(e))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (3)
84
FatalError
.ReportAndCatch(exception);
89
task.ContinueWith(p =>
FatalError
.ReportAndCatchUnlessCanceled(p.Exception!),
99
task.ContinueWith(p =>
FatalError
.ReportAndCatchUnlessCanceled(p.Exception!, cancellationToken),