8 references to FatalError
Microsoft.CodeAnalysis.CodeStyle (8)
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)
78
var targetType = assembly.GetType(typeof(
FatalError
).FullName!, throwOnError: true)!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
447
catch (Exception e) when (
FatalError
.ReportAndPropagate(e))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventMap.cs (1)
174
catch (Exception e) when (
FatalError
.ReportAndPropagate(e))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (3)
83
FatalError
.ReportAndCatch(exception);
88
task.ContinueWith(p =>
FatalError
.ReportAndCatchUnlessCanceled(p.Exception!),
98
task.ContinueWith(p =>
FatalError
.ReportAndCatchUnlessCanceled(p.Exception!, cancellationToken),