12 references to FatalError
Microsoft.CodeAnalysis.InteractiveHost (12)
Interactive\Core\InteractiveHost.cs (2)
262catch (Exception e) when (FatalError.ReportAndPropagate(e)) 349catch (Exception e) when (FatalError.ReportAndPropagate(e))
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
128catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e))
Interactive\Core\InteractiveHost.RemoteService.cs (1)
102catch (Exception e) when (FatalError.ReportAndPropagate(e))
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\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),