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. 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 (3)
83FatalError.ReportAndCatch(exception); 88task.ContinueWith(p => FatalError.ReportAndCatchUnlessCanceled(p.Exception!), 98task.ContinueWith(p => FatalError.ReportAndCatchUnlessCanceled(p.Exception!, cancellationToken),