53 references to Critical
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
StringCopyPaste\StringCopyPasteData.cs (2)
43catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical)) 63catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
Microsoft.CodeAnalysis.EditorFeatures (7)
IntelliSense\AsyncCompletion\CommitManager.cs (3)
190FatalError.ReportAndCatch(new InvalidOperationException("Subject buffer did not provide Edit Access"), ErrorSeverity.Critical); 196FatalError.ReportAndCatch(new InvalidOperationException("Subject buffer is editing by someone else."), ErrorSeverity.Critical); 248FatalError.ReportAndCatch(new InvalidOperationException("The invoked LSP snippet expander came back as false."), ErrorSeverity.Critical);
IntelliSense\Helpers.cs (1)
229catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (1)
107catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
NavigationBar\NavigationBarController.cs (1)
258catch (Exception e) when (FatalError.ReportAndCatch(e, ErrorSeverity.Critical))
Shared\Extensions\ITextBufferEditExtensions.cs (1)
27catch (Exception e) when (ErrorReporting.FatalError.ReportAndCatch(e, ErrorReporting.ErrorSeverity.Critical))
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (4)
Controller.Session_ComputeModel.cs (2)
128catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 218catch (Exception e) when (FatalError.ReportAndCatchUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
SuggestedAction.cs (1)
124catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
SuggestedActionWithNestedActions.cs (1)
67FatalError.ReportAndCatch(new InvalidOperationException($"{nameof(InnerInvokeAsync)} should not be called on a {nameof(SuggestedActionWithNestedActions)}"), ErrorSeverity.Critical);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (9)
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
115catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
346catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
NavigateTo\NavigateToItemProvider.Callback.cs (1)
80catch (InvalidOperationException ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
SignatureHelp\Controller.Session_ComputeModel.cs (2)
128catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 218catch (Exception e) when (FatalError.ReportAndCatchUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
StringCopyPaste\WpfStringCopyPasteService.cs (2)
58catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical)) 76catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
Suggestions\SuggestedActions\SuggestedAction.cs (1)
124catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
Suggestions\SuggestedActionWithNestedActions.cs (1)
67FatalError.ReportAndCatch(new InvalidOperationException($"{nameof(InnerInvokeAsync)} should not be called on a {nameof(SuggestedActionWithNestedActions)}"), ErrorSeverity.Critical);
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\ExtractMethodMatrix.cs (1)
98FatalError.ReportAndCatch(new Exception($"extract method encountered unknown states: {key.ToString()}"), ErrorSeverity.Critical);
Microsoft.CodeAnalysis.Remote.ServiceHub (4)
FaultReporter.cs (1)
42ErrorSeverity.Critical => FaultSeverity.Critical,
Host\RemoteWorkspace.cs (3)
123catch (Exception ex) when (FatalError.ReportAndPropagateUnlessCanceled(ex, cancellationToken, ErrorSeverity.Critical)) 151catch (Exception ex) when (FatalError.ReportAndPropagate(ex, ErrorSeverity.Critical)) 215catch (Exception ex) when (FatalError.ReportAndPropagate(ex, ErrorSeverity.Critical))
Microsoft.CodeAnalysis.Workspaces (20)
Rename\ConflictEngine\ConflictResolver.Session.cs (6)
256catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, ErrorSeverity.Critical)) 463catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, ErrorSeverity.Critical)) 641catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, ErrorSeverity.Critical)) 683catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, ErrorSeverity.Critical)) 718catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, ErrorSeverity.Critical)) 762catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, ErrorSeverity.Critical))
Shared\Utilities\AsyncBatchingWorkQueue`2.cs (1)
241catch (Exception ex) when (FatalError.ReportAndPropagateUnlessCanceled(ex, ErrorSeverity.Critical))
Workspace\Solution\Document.cs (1)
315catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
Workspace\Solution\DocumentState.cs (3)
193catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 215catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 706FatalError.ReportAndCatch(new Exception($"tree and text has different length {newTree.Length} vs {newText.Length}"), ErrorSeverity.Critical);
Workspace\Solution\ProjectState_Checksum.cs (1)
83catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
Workspace\Solution\SolutionState.CompilationTracker.cs (5)
460catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 533catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 562catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 667catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 971catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
Workspace\Solution\SolutionState.cs (3)
1694catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 1969catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical)) 2003catch (Exception e) when (FatalError.ReportAndPropagateUnlessCanceled(e, cancellationToken, ErrorSeverity.Critical))
Microsoft.VisualStudio.LanguageServices (5)
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
533catch (Exception e) when (FatalError.ReportAndCatch(e, ErrorSeverity.Critical))
Library\ObjectBrowser\ObjectList.cs (1)
767catch (Exception ex) when (FatalError.ReportAndCatch(ex, ErrorSeverity.Critical))
ProjectSystem\InvisibleEditor.cs (1)
156catch (Exception ex) when (FatalError.ReportAndPropagate(ex, ErrorSeverity.Critical)) // critical severity, since this means we're not saving edited files
ProjectSystem\OpenTextBufferProvider.cs (1)
88catch (Exception e) when (FatalError.ReportAndCatch(e, ErrorSeverity.Critical))
Watson\FaultReporter.cs (1)
42ErrorSeverity.Critical => FaultSeverity.Critical,
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\FileCodeModel.cs (1)
390FatalError.ReportAndPropagate(new Exception("Failed to apply the workspace changes."), ErrorSeverity.Critical);