11 references to FatalError
Microsoft.CodeAnalysis.CodeStyle (11)
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 (4)
163
catch (Exception e) when (
FatalError
.ReportAndPropagateUnlessCanceled(e))
348
FatalError
.ReportAndCatch(exception);
353
task.ContinueWith(p =>
FatalError
.ReportAndCatchUnlessCanceled(p.Exception!),
363
task.ContinueWith(p =>
FatalError
.ReportAndCatchUnlessCanceled(p.Exception!, cancellationToken),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskFactoryExtensions.cs (2)
27
catch (Exception e) when (
FatalError
.ReportAndPropagateUnlessCanceled(e))
45
catch (Exception e) when (
FatalError
.ReportAndPropagateUnlessCanceled(e))