22 references to Error
Microsoft.CodeAnalysis.EditorFeatures (14)
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (2)
164ShowMessage(FeaturesResources.The_member_is_defined_in_metadata, NotificationSeverity.Error, operationContext, notificationService); 167ShowMessage(FeaturesResources.You_can_only_change_the_signature_of_a_constructor_indexer_method_or_delegate, NotificationSeverity.Error, operationContext, notificationService);
CodeActions\CodeActionEditHandlerService.cs (1)
125severity: NotificationSeverity.Error);
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (1)
104notificationService.SendNotification(EditorFeaturesResources.Please_select_the_definition_of_the_field_to_encapsulate, severity: NotificationSeverity.Error);
Extensibility\NavigationBar\AbstractEditorNavigationBarItemService.cs (1)
66notificationService.SendNotification(EditorFeaturesResources.The_definition_of_the_object_is_hidden, severity: NotificationSeverity.Error);
ExtractMethod\ExtractMethodCommandHandler.cs (2)
174severity: NotificationSeverity.Error)) 254severity: NotificationSeverity.Error);
InlineRename\CommandHandlers\AbstractRenameCommandHandler_RenameHandler.cs (1)
135notificationService.SendNotification(message, title: EditorFeaturesResources.Rename, severity: NotificationSeverity.Error);
InlineRename\InlineRenameSession.cs (2)
882return (NotificationSeverity.Error, EditorFeaturesResources.Rename_operation_was_cancelled_or_is_not_valid); 892return (NotificationSeverity.Error, EditorFeaturesResources.Rename_operation_could_not_complete_due_to_external_change_to_workspace);
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (1)
94?.SendNotification(EditorFeaturesResources.The_rename_tracking_session_was_cancelled_and_is_no_longer_available, severity: NotificationSeverity.Error);
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (3)
148return (NotificationSeverity.Error, EditorFeaturesResources.Rename_operation_was_cancelled_or_is_not_valid); 237return (NotificationSeverity.Error, EditorFeaturesResources.Rename_operation_could_not_complete_due_to_external_change_to_workspace); 277return (NotificationSeverity.Error, EditorFeaturesResources.Rename_operation_could_not_complete_due_to_external_change_to_workspace);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
113notificationService?.SendNotification(ex.Message, title: EditorFeaturesResources.Rename, severity: NotificationSeverity.Error);
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
344notificationService.SendNotification(ex.Message, title: EditorFeaturesResources.Rename, severity: NotificationSeverity.Error);
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Rename\InlineRenameTests.vb (1)
1305Assert.Equal(NotificationSeverity.Error, actualSeverity)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpNavigationBarItemService.cs (1)
81notificationService.SendNotification(EditorFeaturesResources.The_definition_of_the_object_is_hidden, severity: NotificationSeverity.Error);
Microsoft.CodeAnalysis.Features (1)
ExtractInterface\AbstractExtractInterfaceService.cs (1)
76errorHandler(typeAnalysisResult.ErrorMessage, NotificationSeverity.Error);
Microsoft.VisualStudio.LanguageServices (2)
Packaging\PackageInstallerServiceFactory.cs (2)
358severity: NotificationSeverity.Error); 419severity: NotificationSeverity.Error);
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\AnalyzersCommandHandler.cs (1)
655notificationService.SendNotification(message1 + Environment.NewLine + Environment.NewLine + message2, severity: NotificationSeverity.Error);