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. 19internal static readonly FatalError.ErrorReporterHandler Handler = static (e, _, _) => OnFatalException(e);
src\Compilers\Core\Portable\InternalUtilities\FatalError.cs (1)
78var targetType = assembly.GetType(typeof(FatalError).FullName!, throwOnError: true)!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
447catch (Exception e) when (FatalError.ReportAndPropagate(e))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventMap.cs (1)
174catch (Exception e) when (FatalError.ReportAndPropagate(e))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskExtensions.cs (4)
163catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e)) 348FatalError.ReportAndCatch(exception); 353task.ContinueWith(p => FatalError.ReportAndCatchUnlessCanceled(p.Exception!), 363task.ContinueWith(p => FatalError.ReportAndCatchUnlessCanceled(p.Exception!, cancellationToken),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\TaskFactoryExtensions.cs (2)
27catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e)) 45catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e))