537 references to EditorFeaturesResources
Microsoft.CodeAnalysis.CSharp.EditorFeatures (3)
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (2)
53public string DisplayName => EditorFeaturesResources.Block_Comment_Editing; 74using var transaction = _undoHistoryRegistry.GetHistory(textView.TextBuffer).CreateTransaction(EditorFeaturesResources.Insert_new_line);
BlockCommentEditing\CloseBlockCommentCommandHandler.cs (1)
32public string DisplayName => EditorFeaturesResources.Block_Comment_Editing;
Microsoft.CodeAnalysis.EditorFeatures (157)
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (5)
29public string DisplayName => EditorFeaturesResources.Automatic_Line_Ender; 98using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Automatically_completing)) 133using var transaction = args.TextView.CreateEditTransaction(EditorFeaturesResources.Automatic_Line_Ender, _undoRegistry, _editorOperationsFactoryService); 144using var transaction = args.TextView.CreateEditTransaction(EditorFeaturesResources.Automatic_Line_Ender, _undoRegistry, _editorOperationsFactoryService); 153using var editTransaction = args.TextView.CreateEditTransaction(EditorFeaturesResources.Automatic_Line_Ender, _undoRegistry, _editorOperationsFactoryService);
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (3)
121using var caretPreservingTransaction = new CaretPreservingEditTransaction(EditorFeaturesResources.Brace_Completion, _undoHistory, _editorOperations); 293using var caretPreservingTransaction = new CaretPreservingEditTransaction(EditorFeaturesResources.Brace_Completion, _undoHistory, _editorOperations); 375=> _undoHistory.CreateTransaction(EditorFeaturesResources.Brace_Completion);
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (4)
35public string DisplayName => EditorFeaturesResources.Change_Signature; 135string.Format(EditorFeaturesResources.Preview_Changes_0, EditorFeaturesResources.Change_Signature), 137EditorFeaturesResources.Change_Signature_colon,
CodeActions\CodeActionEditHandlerService.cs (1)
124EditorFeaturesResources.Cannot_apply_operation_while_a_rename_session_is_active,
CommentSelection\AbstractToggleBlockCommentBase.cs (3)
69public override string DisplayName => EditorFeaturesResources.Toggle_Block_Comment; 71protected override string GetTitle(ValueTuple command) => EditorFeaturesResources.Toggle_Block_Comment; 73protected override string GetMessage(ValueTuple command) => EditorFeaturesResources.Toggling_block_comment;
CommentSelection\CommentUncommentSelectionCommandHandler.cs (5)
65public override string DisplayName => EditorFeaturesResources.Comment_Uncomment_Selection; 69? EditorFeaturesResources.Comment_Selection 70: EditorFeaturesResources.Uncomment_Selection; 74? EditorFeaturesResources.Commenting_currently_selected_text 75: EditorFeaturesResources.Uncommenting_currently_selected_text;
CommentSelection\ToggleLineCommentCommandHandler.cs (3)
59public override string DisplayName => EditorFeaturesResources.Toggle_Line_Comment; 61protected override string GetTitle(ValueTuple command) => EditorFeaturesResources.Toggle_Line_Comment; 63protected override string GetMessage(ValueTuple command) => EditorFeaturesResources.Toggling_line_comment;
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (3)
58public string DisplayName => EditorFeaturesResources.Documentation_Comment; 180using (var transaction = _undoHistoryRegistry.GetHistory(args.TextView.TextBuffer).CreateTransaction(EditorFeaturesResources.Insert_new_line)) 226using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Inserting_documentation_comment))
DocumentationComments\AbstractXmlTagCompletionCommandHandler.cs (2)
24public string DisplayName => EditorFeaturesResources.XML_End_Tag_Completion; 64using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Completing_Tag))
Editor\GoToAdjacentMemberCommandHandler.cs (2)
36public string DisplayName => EditorFeaturesResources.Go_To_Adjacent_Member; 90using (context.OperationContext.AddScope(allowCancellation: true, description: EditorFeaturesResources.Navigating))
EditorConfigSettings\Data\CodeStyleSetting.cs (4)
67trueValueDescription ?? EditorFeaturesResources.Yes, 68falseValueDescription ?? EditorFeaturesResources.No 87trueValueDescription ?? EditorFeaturesResources.Yes, 88falseValueDescription ?? EditorFeaturesResources.No
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (7)
33public string DisplayName => EditorFeaturesResources.Encapsulate_Field; 82args.TextView, span, EditorFeaturesResources.Computing_Encapsulate_Field_information, 104notificationService.SendNotification(EditorFeaturesResources.Please_select_the_definition_of_the_field_to_encapsulate, severity: NotificationSeverity.Error); 125string.Format(EditorFeaturesResources.Preview_Changes_0, EditorFeaturesResources.Encapsulate_Field), 127EditorFeaturesResources.Encapsulate_Field_colon, 140using var undoTransaction = _undoManager.GetTextBufferUndoManager(subjectBuffer).TextBufferUndoHistory.CreateTransaction(EditorFeaturesResources.Encapsulate_Field);
Extensibility\NavigationBar\AbstractEditorNavigationBarItemService.cs (1)
66notificationService.SendNotification(EditorFeaturesResources.The_definition_of_the_object_is_hidden, severity: NotificationSeverity.Error);
ExtractInterface\AbstractExtractInterfaceCommandHandler.cs (2)
33public string DisplayName => EditorFeaturesResources.Extract_Interface; 40using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Extract_Interface))
ExtractMethod\ExtractMethodCommandHandler.cs (10)
72public string DisplayName => EditorFeaturesResources.Extract_Method; 129view, span, EditorFeaturesResources.Applying_Extract_Method_refactoring, cancelOnEdit: true, cancelOnFocusLost: true); 170EditorFeaturesResources.Extract_method_encountered_the_following_issues + Environment.NewLine + Environment.NewLine + 172EditorFeaturesResources.We_can_fix_the_error_by_not_making_struct_out_ref_parameter_s_Do_you_want_to_proceed, 173title: EditorFeaturesResources.Extract_Method, 251EditorFeaturesResources.Extract_method_encountered_the_following_issues + Environment.NewLine + 253title: EditorFeaturesResources.Extract_Method, 265EditorFeaturesResources.Extract_method_encountered_the_following_issues + Environment.NewLine + 267EditorFeaturesResources.Do_you_still_want_to_proceed_This_may_produce_broken_code, 268title: EditorFeaturesResources.Extract_Method,
FindReferences\FindReferencesCommandHandler.cs (2)
38public string DisplayName => EditorFeaturesResources.Find_References; 128EditorFeaturesResources.Find_References,
Formatting\FormatCommandHandler.cs (3)
50public string DisplayName => EditorFeaturesResources.Automatic_Formatting; 69using (var transaction = CreateEditTransaction(textView, EditorFeaturesResources.Formatting)) 184using (var transaction = CreateEditTransaction(textView, EditorFeaturesResources.Automatic_Formatting))
Formatting\FormatCommandHandler.FormatDocument.cs (1)
37using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Formatting_document))
Formatting\FormatCommandHandler.FormatSelection.cs (1)
43using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Formatting_currently_selected_text))
Formatting\FormatCommandHandler.Paste.cs (1)
28using var _ = context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Formatting_pasted_text);
GoToBase\GoToBaseCommandHandler.cs (2)
46public override string DisplayName => EditorFeaturesResources.Go_To_Base; 48protected override string ScopeDescription => EditorFeaturesResources.Locating_bases;
GoToDefinition\AbstractGoToCommandHandler`2.cs (1)
267EditorFeaturesResources.The_results_may_be_incomplete_due_to_the_solution_still_loading_projects, cancellationToken).ConfigureAwait(false);
GoToDefinition\AbstractGoToDefinitionService.cs (1)
122var title = string.Format(EditorFeaturesResources._0_implemented_members,
GoToDefinition\GoToDefinitionCommandHandler.cs (4)
53public string DisplayName => EditorFeaturesResources.Go_to_Definition; 133using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Navigating_to_definition)) 162FeaturesResources.Cannot_navigate_to_the_symbol_under_the_caret, EditorFeaturesResources.Go_to_Definition, NotificationSeverity.Information); 181EditorFeaturesResources.Navigating_to_definition))
GoToDefinition\GoToDefinitionHelpers.cs (1)
131var title = string.Format(EditorFeaturesResources._0_declarations,
GoToImplementation\GoToImplementationCommandHandler.cs (2)
46public override string DisplayName => EditorFeaturesResources.Go_To_Implementation; 48protected override string ScopeDescription => EditorFeaturesResources.Locating_implementations;
InlineRename\CommandHandlers\AbstractRenameCommandHandler.cs (1)
34public string DisplayName => EditorFeaturesResources.Rename;
InlineRename\CommandHandlers\AbstractRenameCommandHandler_RenameHandler.cs (2)
73EditorFeaturesResources.Finding_token_to_rename); 135notificationService.SendNotification(message, title: EditorFeaturesResources.Rename, severity: NotificationSeverity.Error);
InlineRename\InlineRenameService.cs (3)
83throw new InvalidOperationException(EditorFeaturesResources.An_active_inline_rename_session_is_still_active_Complete_it_before_starting_a_new_one); 160return new InlineRenameSessionInfo(EditorFeaturesResources.You_cannot_rename_this_element_because_it_is_in_a_location_that_cannot_be_navigated_to); 169return new InlineRenameSessionInfo(EditorFeaturesResources.You_cannot_rename_this_element_because_it_is_contained_in_a_read_only_file);
InlineRename\InlineRenameSession.cs (14)
154throw new InvalidOperationException(EditorFeaturesResources.The_triggerSpan_is_not_included_in_the_given_workspace); 385throw new InvalidOperationException(EditorFeaturesResources.This_session_has_already_been_dismissed); 784_triggerView, TriggerSpan, EditorFeaturesResources.Computing_Rename_information, 792title: EditorFeaturesResources.Rename, 793defaultDescription: EditorFeaturesResources.Computing_Rename_information, 829string.Format(EditorFeaturesResources.Preview_Changes_0, EditorFeaturesResources.Rename), 831string.Format(EditorFeaturesResources.Rename_0_to_1_colon, this.OriginalSymbolName, this.ReplacementText), 845using var _ = operationContext.AddScope(allowCancellation: false, EditorFeaturesResources.Updating_files); 858error.Value.message, EditorFeaturesResources.Rename_Symbol, error.Value.severity); 879using var undoTransaction = _workspace.OpenGlobalUndoTransaction(EditorFeaturesResources.Inline_Rename); 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); 909return (NotificationSeverity.Information, EditorFeaturesResources.Rename_operation_was_not_properly_completed_Some_file_might_not_have_been_updated);
InlineRename\UndoManagerServiceFactory.cs (2)
64using var undoTransaction = undoHistory.CreateTransaction(EditorFeaturesResources.Start_Rename); 85using var undoTransaction = undoHistory.CreateTransaction(EditorFeaturesResources.Start_Rename);
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
51ImmutableArray.Create(new ImageElement(Glyph.CompletionWarning.GetImageId(), EditorFeaturesResources.Warning_image_element));
IntelliSense\AsyncCompletion\FilterSet.cs (3)
101EditorFeaturesResources.Expander_display_text, 103new ImageElement(addImageId, EditorFeaturesResources.Expander_image_element)); 129new ImageElement(new ImageId(imageId.Guid, imageId.Id), EditorFeaturesResources.Filter_image_element));
IntelliSense\Helpers.cs (2)
202using var context = operationExecutor.BeginExecute(EditorFeaturesResources.IntelliSense, EditorFeaturesResources.Navigating, allowCancellation: true, showProgress: false);
Intents\DeleteParameterIntentProvider.cs (1)
72return ImmutableArray.Create(new IntentProcessorResult(changeSignatureResult.UpdatedSolution, changedDocuments, EditorFeaturesResources.Change_Signature, WellKnownIntents.DeleteParameter));
Intents\RenameIntentProvider.cs (1)
57return ImmutableArray.Create(new IntentProcessorResult(renameReplacementInfo.NewSolution, renameReplacementInfo.DocumentIds.ToImmutableArray(), EditorFeaturesResources.Rename, WellKnownIntents.Rename));
Interactive\CommandHandlers\ExecuteInInteractiveCommandHandler.cs (1)
35public string DisplayName => EditorFeaturesResources.Execute_In_Interactive;
LanguageServer\AbstractInProcLanguageClient.cs (1)
250initializationFailureContext.FailureMessage = string.Format(EditorFeaturesResources.Language_client_initialization_failed,
Microsoft.CodeAnalysis.EditorFeaturesResources.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(EditorFeaturesResources)));
NavigateTo\NavigateToHelpers.cs (2)
48EditorFeaturesResources.Navigating_to_definition, EditorFeaturesResources.Navigating_to_definition, allowCancellation: true, showProgress: false);
NavigationBar\NavigationBarController.cs (2)
246EditorFeaturesResources.Navigation_Bars, 247EditorFeaturesResources.Refreshing_navigation_bars,
Organizing\OrganizeDocumentCommandHandler.cs (5)
51public string DisplayName => EditorFeaturesResources.Organize_Document; 54=> GetCommandState(args, _ => EditorFeaturesResources.Organize_Document, needsSemantics: true); 58using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Organizing_document)) 120using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Organizing_document)) 130using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Organizing_document))
PasteTracking\PasteTrackingPasteCommandHandler.cs (1)
29public string DisplayName => EditorFeaturesResources.Paste_Tracking;
Preview\AbstractPreviewFactoryService.cs (11)
161string.Format(EditorFeaturesResources.Adding_reference_0_to_1, metadataReference.Display, oldProject.Name))); 168string.Format(EditorFeaturesResources.Removing_reference_0_from_1, metadataReference.Display, oldProject.Name))); 175string.Format(EditorFeaturesResources.Adding_reference_0_to_1, newSolution.GetRequiredProject(projectReference.ProjectId).Name, oldProject.Name))); 182string.Format(EditorFeaturesResources.Removing_reference_0_from_1, oldSolution.GetRequiredProject(projectReference.ProjectId).Name, oldProject.Name))); 189string.Format(EditorFeaturesResources.Adding_analyzer_reference_0_to_1, analyzer.Display, oldProject.Name))); 196string.Format(EditorFeaturesResources.Removing_analyzer_reference_0_from_1, analyzer.Display, oldProject.Name))); 204string.Format(EditorFeaturesResources.Adding_project_0, project.Name))); 211string.Format(EditorFeaturesResources.Removing_project_0, project.Name))); 218string.Format(EditorFeaturesResources.Changing_project_references_for_0, projectChanges.OldProject.Name))); 258var firstLine = string.Format(EditorFeaturesResources.Adding_0_to_1_with_content_colon, 330var firstLine = string.Format(EditorFeaturesResources.Removing_0_from_1_with_content_colon,
ReferenceHighlighting\NavigateToHighlightReferenceCommandHandler.cs (1)
37public string DisplayName => EditorFeaturesResources.Navigate_To_Highlight_Reference;
RenameTracking\RenameTrackingCancellationCommandHandler.cs (1)
36public string DisplayName => EditorFeaturesResources.Rename_Tracking_Cancellation;
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (3)
94?.SendNotification(EditorFeaturesResources.The_rename_tracking_session_was_cancelled_and_is_no_longer_available, severity: NotificationSeverity.Error); 100var displayText = string.Format(EditorFeaturesResources.Rename_0_to_1, stateMachine.TrackingSession.OriginalName, newName); 130error.Value.message, EditorFeaturesResources.Rename_Symbol, error.Value.severity);
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (5)
148return (NotificationSeverity.Error, EditorFeaturesResources.Rename_operation_was_cancelled_or_is_not_valid); 231using var localUndoTransaction = undoHistory.CreateTransaction(EditorFeaturesResources.Text_Buffer_Change); 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); 282return (NotificationSeverity.Information, EditorFeaturesResources.Rename_operation_was_not_properly_completed_Some_file_might_not_have_been_updated);
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
313EditorFeaturesResources.Rename_0_to_1,
Shared\Extensions\ITextSnapshotExtensions.cs (1)
76using (operationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Waiting_for_background_work_to_finish))
Shared\Utilities\CaretPreservingEditTransaction.cs (2)
57throw new InvalidOperationException(EditorFeaturesResources.The_transaction_is_already_complete); 70throw new InvalidOperationException(EditorFeaturesResources.The_transaction_is_already_complete);
Shared\Utilities\VirtualTreePoint.cs (1)
66throw new InvalidOperationException(EditorFeaturesResources.Can_t_compare_positions_from_different_text_snapshots);
SplitComment\SplitCommentCommandHandler.cs (3)
57public string DisplayName => EditorFeaturesResources.Split_comment; 98using (context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Split_comment)) 107EditorFeaturesResources.Split_comment, textView, _undoHistoryRegistry, _editorOperationsFactoryService);
Structure\OutliningCommandHandler.cs (1)
27public string DisplayName => EditorFeaturesResources.Outlining;
TextStructureNavigation\AbstractTextStructureNavigatorProvider.TextStructureNavigator.cs (10)
52title: EditorFeaturesResources.Text_Navigation, 53defaultDescription: EditorFeaturesResources.Finding_word_extent, 126title: EditorFeaturesResources.Text_Navigation, 127defaultDescription: EditorFeaturesResources.Finding_enclosing_span, 158title: EditorFeaturesResources.Text_Navigation, 159defaultDescription: EditorFeaturesResources.Finding_enclosing_span, 194title: EditorFeaturesResources.Text_Navigation, 195defaultDescription: EditorFeaturesResources.Finding_span_of_next_sibling, 246title: EditorFeaturesResources.Text_Navigation, 247defaultDescription: EditorFeaturesResources.Finding_span_of_previous_sibling,
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (92)
ClassificationFormatDefinitions.cs (1)
27this.DisplayName = EditorFeaturesResources.Inline_Rename_Field_Text;
ClassificationTypeFormatDefinitions.cs (69)
34this.DisplayName = EditorFeaturesResources.Preprocessor_Text; 52this.DisplayName = EditorFeaturesResources.Punctuation; 71this.DisplayName = EditorFeaturesResources.String_Verbatim; 89this.DisplayName = EditorFeaturesResources.String_Escape_Character; 109=> this.DisplayName = EditorFeaturesResources.Keyword_Control; 126=> this.DisplayName = EditorFeaturesResources.Operator_Overloaded; 143this.DisplayName = EditorFeaturesResources.Reassigned_variable; 162this.DisplayName = EditorFeaturesResources.Symbol_Static; 202this.DisplayName = EditorFeaturesResources.User_Types_Classes; 222this.DisplayName = EditorFeaturesResources.User_Types_Records; 241this.DisplayName = EditorFeaturesResources.User_Types_Record_Structs; 260this.DisplayName = EditorFeaturesResources.User_Types_Delegates; 280this.DisplayName = EditorFeaturesResources.User_Types_Enums; 300this.DisplayName = EditorFeaturesResources.User_Types_Interfaces; 319this.DisplayName = EditorFeaturesResources.User_Types_Modules; 339this.DisplayName = EditorFeaturesResources.User_Types_Structures; 359this.DisplayName = EditorFeaturesResources.User_Types_Type_Parameters; 379=> this.DisplayName = EditorFeaturesResources.User_Members_Fields; 396=> this.DisplayName = EditorFeaturesResources.User_Members_Enum_Members; 413=> this.DisplayName = EditorFeaturesResources.User_Members_Constants; 430=> this.DisplayName = EditorFeaturesResources.User_Members_Locals; 447=> this.DisplayName = EditorFeaturesResources.User_Members_Parameters; 464=> this.DisplayName = EditorFeaturesResources.User_Members_Methods; 481=> this.DisplayName = EditorFeaturesResources.User_Members_Extension_Methods; 498=> this.DisplayName = EditorFeaturesResources.User_Members_Properties; 514=> this.DisplayName = EditorFeaturesResources.User_Members_Events; 530=> this.DisplayName = EditorFeaturesResources.User_Members_Namespaces; 547=> this.DisplayName = EditorFeaturesResources.User_Members_Labels; 564this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Attribute_Name; 582this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Attribute_Quotes; 602this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Attribute_Value; 620this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_CData_Section; 638this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Comment; 656this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Delimiter; 674this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Entity_Reference; 692this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Name; 710this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Processing_Instruction; 728this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Text; 749this.DisplayName = EditorFeaturesResources.Regex_Comment; 767this.DisplayName = EditorFeaturesResources.Regex_Character_Class; 785this.DisplayName = EditorFeaturesResources.Regex_Anchor; 803this.DisplayName = EditorFeaturesResources.Regex_Quantifier; 821this.DisplayName = EditorFeaturesResources.Regex_Grouping; 839this.DisplayName = EditorFeaturesResources.Regex_Alternation; 857this.DisplayName = EditorFeaturesResources.Regex_Text; 875this.DisplayName = EditorFeaturesResources.Regex_SelfEscapedCharacter; 897this.DisplayName = EditorFeaturesResources.Regex_OtherEscape; 917=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Comment; 931=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Number; 945=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_String; 959=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Keyword; 973=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Text; 987=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Operator; 1001=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Punctuation; 1015=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Object; 1029=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Array; 1043=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Property_Name; 1057=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Constructor_Name; 1073this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Attribute_Name; 1090this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Attribute_Quotes; 1107this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Attribute_Value; 1124this.DisplayName = EditorFeaturesResources.VB_XML_Literals_CData_Section; 1141this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Comment; 1158this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Delimiter; 1175this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Embedded_Expression; 1193this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Entity_Reference; 1210this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Name; 1227this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Processing_Instruction; 1244this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Text;
Controller.cs (1)
38public string DisplayName => EditorFeaturesResources.Signature_Help;
FixAllGetFixesService.cs (1)
203string.Format(EditorFeaturesResources.Preview_Changes_0, fixAllPreviewChangesTitle),
NavigableSymbolService.NavigableSymbol.cs (1)
60EditorFeaturesResources.Navigating_to_definition,
NavigationCommandHandlers\FindBaseSymbolsCommandHandler.cs (1)
70var (context, cancellationToken) = presenter.StartSearch(EditorFeaturesResources.Navigating, supportsReferences: true);
NavigationCommandHandlers\FindDerivedSymbolsCommandHandler.cs (1)
91var (context, cancellationToken) = presenter.StartSearch(EditorFeaturesResources.Navigating, supportsReferences: true);
NavigationCommandHandlers\FindExtensionMethodsCommandHandler.cs (1)
74var (context, cancellationToken) = presenter.StartSearch(EditorFeaturesResources.Navigating, supportsReferences: true);
NavigationCommandHandlers\FindImplementingMembersCommandHandler.cs (1)
74var (context, cancellationToken) = presenter.StartSearch(EditorFeaturesResources.Navigating, supportsReferences: true);
NavigationCommandHandlers\FindMemberOverloadsCommandHandler.cs (1)
65var (context, cancellationToken) = presenter.StartSearch(EditorFeaturesResources.Navigating, supportsReferences: true);
NavigationCommandHandlers\FindReferencesOfOverloadsCommandHandler.cs (1)
104var (context, cancellationToken) = presenter.StartSearch(EditorFeaturesResources.Find_References, supportsReferences: true);
Preview\PreviewPaneService.cs (1)
56helpLinkToolTipText: (helpLinkUri != null) ? string.Format(EditorFeaturesResources.Get_help_for_0, data.Id) : null,
PreviewChangesCodeAction.cs (3)
31public override string Title => EditorFeaturesResources.Preview_changes2; 44EditorFeaturesResources.Preview_Changes, 47EditorFeaturesResources.Changes,
RenameConflictTagDefinition.cs (1)
29this.DisplayName = EditorFeaturesResources.Inline_Rename_Conflict;
RenameFieldBackgroundAndBorderTagDefinition.cs (1)
33this.DisplayName = EditorFeaturesResources.Inline_Rename_Field_Background_and_Border;
RenameFixupTagDefinition.cs (1)
29this.DisplayName = EditorFeaturesResources.Inline_Rename_Fixup;
SignatureHelpAfterCompletionCommandHandler.cs (1)
50public string DisplayName => EditorFeaturesResources.Signature_Help;
SignatureHelpBeforeCompletionCommandHandler.cs (1)
49public string DisplayName => EditorFeaturesResources.Signature_Help;
SuggestedAction.cs (1)
117EditorFeaturesResources.Execute_Suggested_Action, CodeAction.Title, allowCancellation: true, showProgress: true);
SuggestedActionsSource.cs (2)
148using (operationContext?.AddScope(allowCancellation: true, description: EditorFeaturesResources.Gathering_Suggestions_Waiting_for_the_solution_to_fully_load)) 171description => operationContext?.AddScope(allowCancellation: true, string.Format(EditorFeaturesResources.Gathering_Suggestions_0, description));
UnnecessaryCodeFormatDefinition.cs (1)
31this.DisplayName = EditorFeaturesResources.Unnecessary_Code;
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditorTestCompositions.cs (1)
64typeof(EditorFeaturesResources).Assembly,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
RenameTracking\RenameTrackingTestState.cs (1)
197Assert.Equal(string.Format(EditorFeaturesResources.Rename_0_to_1, expectedFromName, expectedToName), codeAction.Title);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (152)
BackgroundWorkIndicator\BackgroundWorkIndicatorContext.cs (1)
243_trackingSpan, new[] { string.Format(EditorFeaturesResources._0_Esc_to_cancel, data.description) });
BraceMatching\BraceMatchingTypeFormatDefinitions.cs (1)
30this.DisplayName = EditorFeaturesResources.Brace_Matching;
Classification\ClassificationTypeFormatDefinitions.cs (69)
34this.DisplayName = EditorFeaturesResources.Preprocessor_Text; 52this.DisplayName = EditorFeaturesResources.Punctuation; 71this.DisplayName = EditorFeaturesResources.String_Verbatim; 89this.DisplayName = EditorFeaturesResources.String_Escape_Character; 109=> this.DisplayName = EditorFeaturesResources.Keyword_Control; 126=> this.DisplayName = EditorFeaturesResources.Operator_Overloaded; 143this.DisplayName = EditorFeaturesResources.Reassigned_variable; 162this.DisplayName = EditorFeaturesResources.Symbol_Static; 202this.DisplayName = EditorFeaturesResources.User_Types_Classes; 222this.DisplayName = EditorFeaturesResources.User_Types_Records; 241this.DisplayName = EditorFeaturesResources.User_Types_Record_Structs; 260this.DisplayName = EditorFeaturesResources.User_Types_Delegates; 280this.DisplayName = EditorFeaturesResources.User_Types_Enums; 300this.DisplayName = EditorFeaturesResources.User_Types_Interfaces; 319this.DisplayName = EditorFeaturesResources.User_Types_Modules; 339this.DisplayName = EditorFeaturesResources.User_Types_Structures; 359this.DisplayName = EditorFeaturesResources.User_Types_Type_Parameters; 379=> this.DisplayName = EditorFeaturesResources.User_Members_Fields; 396=> this.DisplayName = EditorFeaturesResources.User_Members_Enum_Members; 413=> this.DisplayName = EditorFeaturesResources.User_Members_Constants; 430=> this.DisplayName = EditorFeaturesResources.User_Members_Locals; 447=> this.DisplayName = EditorFeaturesResources.User_Members_Parameters; 464=> this.DisplayName = EditorFeaturesResources.User_Members_Methods; 481=> this.DisplayName = EditorFeaturesResources.User_Members_Extension_Methods; 498=> this.DisplayName = EditorFeaturesResources.User_Members_Properties; 514=> this.DisplayName = EditorFeaturesResources.User_Members_Events; 530=> this.DisplayName = EditorFeaturesResources.User_Members_Namespaces; 547=> this.DisplayName = EditorFeaturesResources.User_Members_Labels; 564this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Attribute_Name; 582this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Attribute_Quotes; 602this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Attribute_Value; 620this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_CData_Section; 638this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Comment; 656this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Delimiter; 674this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Entity_Reference; 692this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Name; 710this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Processing_Instruction; 728this.DisplayName = EditorFeaturesResources.XML_Doc_Comments_Text; 749this.DisplayName = EditorFeaturesResources.Regex_Comment; 767this.DisplayName = EditorFeaturesResources.Regex_Character_Class; 785this.DisplayName = EditorFeaturesResources.Regex_Anchor; 803this.DisplayName = EditorFeaturesResources.Regex_Quantifier; 821this.DisplayName = EditorFeaturesResources.Regex_Grouping; 839this.DisplayName = EditorFeaturesResources.Regex_Alternation; 857this.DisplayName = EditorFeaturesResources.Regex_Text; 875this.DisplayName = EditorFeaturesResources.Regex_SelfEscapedCharacter; 897this.DisplayName = EditorFeaturesResources.Regex_OtherEscape; 917=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Comment; 931=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Number; 945=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_String; 959=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Keyword; 973=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Text; 987=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Operator; 1001=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Punctuation; 1015=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Object; 1029=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Array; 1043=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Property_Name; 1057=> this.DisplayName = EditorFeaturesResources.JSON_in_string_literal_Constructor_Name; 1073this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Attribute_Name; 1090this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Attribute_Quotes; 1107this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Attribute_Value; 1124this.DisplayName = EditorFeaturesResources.VB_XML_Literals_CData_Section; 1141this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Comment; 1158this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Delimiter; 1175this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Embedded_Expression; 1193this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Entity_Reference; 1210this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Name; 1227this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Processing_Instruction; 1244this.DisplayName = EditorFeaturesResources.VB_XML_Literals_Text;
ConflictTagDefinition.cs (1)
28this.DisplayName = EditorFeaturesResources.Conflict;
Diagnostics\UnnecessaryCodeFormatDefinition.cs (1)
31this.DisplayName = EditorFeaturesResources.Unnecessary_Code;
EditAndContinue\ActiveStatementTagFormatDefinition.cs (1)
34this.DisplayName = EditorFeaturesResources.Active_Statement;
EditAndContinue\EditAndContinueErrorTypeFormatDefinition.cs (1)
28this.DisplayName = EditorFeaturesResources.Rude_Edit;
InlineDiagnostics\InlineDiagnosticsFormatDefinition.cs (3)
36DisplayName = EditorFeaturesResources.Inline_Diagnostics_Error; 56DisplayName = EditorFeaturesResources.Inline_Diagnostics_Warning; 76DisplayName = EditorFeaturesResources.Inline_Diagnostics_Rude_Edit;
InlineHints\InlineHintsFormatDefinition.cs (1)
34this.DisplayName = EditorFeaturesResources.Inline_Hints;
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
113notificationService?.SendNotification(ex.Message, title: EditorFeaturesResources.Rename, severity: NotificationSeverity.Error);
InlineRename\HighlightTags\RenameConflictTagDefinition.cs (1)
29this.DisplayName = EditorFeaturesResources.Inline_Rename_Conflict;
InlineRename\HighlightTags\RenameFieldBackgroundAndBorderTagDefinition.cs (1)
33this.DisplayName = EditorFeaturesResources.Inline_Rename_Field_Background_and_Border;
InlineRename\HighlightTags\RenameFixupTagDefinition.cs (1)
29this.DisplayName = EditorFeaturesResources.Inline_Rename_Fixup;
InlineRename\Taggers\ClassificationFormatDefinitions.cs (1)
27this.DisplayName = EditorFeaturesResources.Inline_Rename_Field_Text;
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (6)
84public string RenameOverloads => EditorFeaturesResources.Include_overload_s; 85public string SearchInComments => EditorFeaturesResources.Include_comments; 86public string SearchInStrings => EditorFeaturesResources.Include_strings; 87public string ApplyRename => EditorFeaturesResources.Apply1; 88public string CancelRename => EditorFeaturesResources.Cancel; 89public string PreviewChanges => EditorFeaturesResources.Preview_changes1;
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (9)
73InlineRenameFileRenameInfo.TypeDoesNotMatchFileName => EditorFeaturesResources.Rename_file_name_doesnt_match, 74InlineRenameFileRenameInfo.TypeWithMultipleLocations => EditorFeaturesResources.Rename_file_partial_type, 75_ => EditorFeaturesResources.Rename_symbols_file 313StatusText = EditorFeaturesResources.The_new_name_is_not_a_valid_identifier; 337StatusText = string.Format(EditorFeaturesResources._0_unresolvable_conflict_s, unresolvedConflicts); 344StatusText = string.Format(EditorFeaturesResources._0_conflict_s_will_be_resolved, resolvableConflicts); 362SearchText = EditorFeaturesResources.Rename_will_update_1_reference_in_1_file; 366SearchText = string.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, referenceCount); 370SearchText = string.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_files, referenceCount, fileCount);
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (10)
279public string RenameOverloads => EditorFeaturesResources.Include_overload_s; 282public string SearchInComments => EditorFeaturesResources.Include_comments; 283public string SearchInStrings => EditorFeaturesResources.Include_strings; 284public string ApplyRename => EditorFeaturesResources.Apply1; 285public string CancelRename => EditorFeaturesResources.Cancel; 286public string PreviewChanges => EditorFeaturesResources.Preview_changes1; 287public string RenameInstructions => EditorFeaturesResources.Modify_any_highlighted_location_to_begin_renaming; 288public string ApplyToolTip { get { return EditorFeaturesResources.Apply3 + " (Enter)"; } } 289public string CancelToolTip { get { return EditorFeaturesResources.Cancel + " (Esc)"; } } 344notificationService.SendNotification(ex.Message, title: EditorFeaturesResources.Rename, severity: NotificationSeverity.Error);
InlineRename\UI\Dashboard\RenameDashboardAutomationPeer.cs (1)
29=> string.Format(EditorFeaturesResources.An_inline_rename_session_is_active_for_identifier_0, _identifier);
InlineRename\UI\Dashboard\RenameDashboardViewModel.cs (12)
32_searchText = EditorFeaturesResources.Searching; 90: EditorFeaturesResources.The_new_name_is_not_a_valid_identifier; 117_searchText = EditorFeaturesResources.Rename_will_update_1_reference_in_1_file; 121_searchText = string.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, referenceCount); 125_searchText = string.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_files, referenceCount, fileCount); 156InlineRenameFileRenameInfo.TypeDoesNotMatchFileName => EditorFeaturesResources.Rename_file_name_doesnt_match, 157InlineRenameFileRenameInfo.TypeWithMultipleLocations => EditorFeaturesResources.Rename_file_partial_type, 158_ => EditorFeaturesResources.Rename_symbols_file 165return string.Format(EditorFeaturesResources.Rename_colon_0, Session.OriginalSymbolName); 173return string.Format(EditorFeaturesResources.New_name_colon_0, Session.ReplacementText); 205? string.Format(EditorFeaturesResources._0_conflict_s_will_be_resolved, _resolvableConflictCount) 220? string.Format(EditorFeaturesResources._0_unresolvable_conflict_s, _unresolvableConflictCount)
InlineRename\UI\Dashboard\RenameShortcutKeys.cs (6)
22RenameOverloads = ExtractAccessKey(EditorFeaturesResources.Include_overload_s, "O"); 23SearchInStrings = ExtractAccessKey(EditorFeaturesResources.Include_strings, "S"); 24SearchInComments = ExtractAccessKey(EditorFeaturesResources.Include_comments, "C"); 25PreviewChanges = ExtractAccessKey(EditorFeaturesResources.Preview_changes1, "P"); 26Apply = ExtractAccessKey(EditorFeaturesResources.Apply1, "A"); 27RenameFile = ExtractAccessKey(EditorFeaturesResources.Rename_symbols_file, "F");
Interactive\InteractiveCommandHandler.cs (1)
48public string DisplayName => EditorFeaturesResources.Interactive;
Interactive\InteractiveEvaluator.cs (2)
156=> _lazyInteractiveWindow ?? throw new InvalidOperationException(EditorFeaturesResources.Engine_must_be_attached_to_an_Interactive_Window); 159=> _lazyInteractiveCommands ?? throw new InvalidOperationException(EditorFeaturesResources.Engine_must_be_attached_to_an_Interactive_Window);
Interactive\InteractiveGlobalUndoServiceFactory.cs (1)
50throw new ArgumentException(EditorFeaturesResources.Given_Workspace_doesn_t_support_Undo);
Interactive\InteractivePasteCommandHandler.cs (2)
59public string DisplayName => EditorFeaturesResources.Paste_in_Interactive; 110using var transaction = _textUndoHistoryRegistry.GetHistory(textView.TextBuffer).CreateTransaction(EditorFeaturesResources.Paste);
NavigableSymbols\NavigableSymbolService.NavigableSymbol.cs (1)
60EditorFeaturesResources.Navigating_to_definition,
Peek\DefinitionPeekableItem.cs (1)
65callback.ReportFailure(new Exception(EditorFeaturesResources.No_information_found));
Peek\PeekableItemSource.cs (2)
66_uiThreadOperationExecutor.Execute(EditorFeaturesResources.Peek, EditorFeaturesResources.Loading_Peek_information, allowCancellation: true, showProgress: false, action: context =>
PreviewWarningTagDefinition.cs (1)
28this.DisplayName = EditorFeaturesResources.Preview_Warning;
ReferenceHighlighting\DefinitionHighlightTagDefinition.cs (1)
29this.DisplayName = EditorFeaturesResources.Highlighted_Definition;
ReferenceHighlighting\WrittenReferenceHighlightTagDefinition.cs (1)
27this.DisplayName = EditorFeaturesResources.Highlighted_Written_Reference;
RenameTracking\RenameTrackingTagDefinition.cs (1)
28this.DisplayName = EditorFeaturesResources.Rename_Tracking;
SignatureHelp\Controller.cs (1)
38public string DisplayName => EditorFeaturesResources.Signature_Help;
SignatureHelp\SignatureHelpAfterCompletionCommandHandler.cs (1)
50public string DisplayName => EditorFeaturesResources.Signature_Help;
SignatureHelp\SignatureHelpBeforeCompletionCommandHandler.cs (1)
49public string DisplayName => EditorFeaturesResources.Signature_Help;
Suggestions\FixAll\FixAllGetFixesService.cs (1)
203string.Format(EditorFeaturesResources.Preview_Changes_0, fixAllPreviewChangesTitle),
Suggestions\PreviewChanges\PreviewChangesCodeAction.cs (3)
31public override string Title => EditorFeaturesResources.Preview_changes2; 44EditorFeaturesResources.Preview_Changes, 47EditorFeaturesResources.Changes,
Suggestions\SuggestedActions\SuggestedAction.cs (1)
117EditorFeaturesResources.Execute_Suggested_Action, CodeAction.Title, allowCancellation: true, showProgress: true);
Suggestions\SuggestedActionsSource.cs (2)
148using (operationContext?.AddScope(allowCancellation: true, description: EditorFeaturesResources.Gathering_Suggestions_Waiting_for_the_solution_to_fully_load)) 171description => operationContext?.AddScope(allowCancellation: true, string.Format(EditorFeaturesResources.Gathering_Suggestions_0, description));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (29)
Rename\InlineRenameTests.vb (3)
1110Assert.Equal(String.Format(EditorFeaturesResources.Preview_Changes_0, EditorFeaturesResources.Rename), previewService.Title) 1111Assert.Equal(String.Format(EditorFeaturesResources.Rename_0_to_1_colon, "Goo", "BarGoo"), previewService.Description)
Rename\RenameViewModelTests.vb (26)
42searchResultText:=EditorFeaturesResources.Rename_will_update_1_reference_in_1_file, 72searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 2), 99searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 2), 102unresolvableConflictText:=String.Format(EditorFeaturesResources._0_unresolvable_conflict_s, 1), 121searchResultText:=EditorFeaturesResources.Rename_will_update_1_reference_in_1_file, 122resolvableConflictText:=String.Format(EditorFeaturesResources._0_conflict_s_will_be_resolved, 1), 156searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 5), 197searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 6), 235searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 2), 273searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 7), 296searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 3)) 317searchResultText:=EditorFeaturesResources.Rename_will_update_1_reference_in_1_file) 339searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 2), 340resolvableConflictText:=String.Format(EditorFeaturesResources._0_conflict_s_will_be_resolved, 1), 364searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 2), 365resolvableConflictText:=String.Format(EditorFeaturesResources._0_conflict_s_will_be_resolved, 2), 387searchResultText:=EditorFeaturesResources.Rename_will_update_1_reference_in_1_file, 388unresolvableConflictText:=String.Format(EditorFeaturesResources._0_unresolvable_conflict_s, 1), 412searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 3), 413unresolvableConflictText:=String.Format(EditorFeaturesResources._0_unresolvable_conflict_s, 3), 449searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_files, 4, 2), 450resolvableConflictText:=String.Format(EditorFeaturesResources._0_conflict_s_will_be_resolved, 1), 473searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_1_reference_in_1_file), 497searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 3), 532searchResultText:=String.Format(EditorFeaturesResources.Rename_will_update_0_references_in_1_file, 5), 675searchResultText:=EditorFeaturesResources.Rename_will_update_1_reference_in_1_file,
Microsoft.CodeAnalysis.ExternalAccess.Debugger (1)
DebuggerFindReferencesService.cs (1)
43var (context, _) = streamingPresenter.StartSearch(EditorFeaturesResources.Find_References, supportsReferences: true);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpNavigationBarItemService.cs (1)
81notificationService.SendNotification(EditorFeaturesResources.The_definition_of_the_object_is_hidden, severity: NotificationSeverity.Error);
Microsoft.VisualStudio.LanguageServices (44)
CallHierarchy\CallHierarchyCommandHandler.cs (2)
43public string DisplayName => EditorFeaturesResources.Call_Hierarchy; 118notificationService.SendNotification(EditorFeaturesResources.Cursor_must_be_on_a_member_name, severity: NotificationSeverity.Information);
CallHierarchy\CallHierarchyProvider.cs (2)
98return new FieldInitializerItem(EditorFeaturesResources.Initializers, 99"__" + EditorFeaturesResources.Initializers,
CallHierarchy\Finders\AbstractCallFinder.cs (1)
72completionErrorMessage = EditorFeaturesResources.Canceled;
CallHierarchy\Finders\BaseMemberFinder.cs (1)
24_text = string.Format(EditorFeaturesResources.Calls_To_Base_Member_0, symbol.ToDisplayString());
CallHierarchy\Finders\CallToOverrideFinder.cs (1)
23public override string DisplayName => EditorFeaturesResources.Calls_To_Overrides;
CallHierarchy\Finders\FieldReferenceFinder.cs (1)
28return string.Format(EditorFeaturesResources.References_To_Field_0, SymbolName);
CallHierarchy\Finders\ImplementerFinder.cs (1)
31return string.Format(EditorFeaturesResources.Implements_0, SymbolName);
CallHierarchy\Finders\InterfaceImplementationCallFinder.cs (1)
25_text = string.Format(EditorFeaturesResources.Calls_To_Interface_Implementation_0, symbol.ToDisplayString());
CallHierarchy\Finders\MethodCallFinder.cs (1)
29return string.Format(EditorFeaturesResources.Calls_To_0, SymbolName);
CallHierarchy\Finders\OverridingMemberFinder.cs (1)
27public override string DisplayName => EditorFeaturesResources.Overrides_;
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
219using (var scope = context.OperationContext.AddScope(allowCancellation: true, EditorFeaturesResources.Waiting_for_background_work_to_finish)) 228using (var scope = context.OperationContext.AddScope(allowCancellation: true, description: EditorFeaturesResources.Applying_changes))
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsProvider.cs (10)
57var trueValueDescription = EditorFeaturesResources.Prefer_this_or_Me; 58var falseValueDescription = EditorFeaturesResources.Do_not_prefer_this_or_Me; 60yield return CodeStyleSetting.Create(CodeStyleOptions2.QualifyFieldAccess, EditorFeaturesResources.Qualify_field_access_with_this_or_Me, options, updater, trueValueDescription, falseValueDescription); 61yield return CodeStyleSetting.Create(CodeStyleOptions2.QualifyPropertyAccess, EditorFeaturesResources.Qualify_property_access_with_this_or_Me, options, updater, trueValueDescription, falseValueDescription); 62yield return CodeStyleSetting.Create(CodeStyleOptions2.QualifyMethodAccess, EditorFeaturesResources.Qualify_method_access_with_this_or_Me, options, updater, trueValueDescription, falseValueDescription); 63yield return CodeStyleSetting.Create(CodeStyleOptions2.QualifyEventAccess, EditorFeaturesResources.Qualify_event_access_with_this_or_Me, options, updater, trueValueDescription, falseValueDescription); 79yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferIsNullCheckOverReferenceEqualityMethod, EditorFeaturesResources.Prefer_is_null_for_reference_equality_checks, options, updater); 119yield return CodeStyleSetting.Create(CodeStyleOptions2.ArithmeticBinaryParentheses, EditorFeaturesResources.In_arithmetic_binary_operators, options, updater, enumValues, valueDescriptions); 120yield return CodeStyleSetting.Create(CodeStyleOptions2.OtherBinaryParentheses, EditorFeaturesResources.In_other_binary_operators, options, updater, enumValues, valueDescriptions); 121yield return CodeStyleSetting.Create(CodeStyleOptions2.RelationalBinaryParentheses, EditorFeaturesResources.In_relational_binary_operators, options, updater, enumValues, valueDescriptions);
EditorConfigSettings\DataProvider\Whitespace\CommonWhitespaceSettingsProvider.cs (5)
32yield return Setting.Create(FormattingOptions2.UseTabs, EditorFeaturesResources.Use_Tabs, options, updater); 33yield return Setting.Create(FormattingOptions2.TabSize, EditorFeaturesResources.Tab_Size, options, updater); 34yield return Setting.Create(FormattingOptions2.IndentationSize, EditorFeaturesResources.Indentation_Size, options, updater); 35yield return Setting.Create(FormattingOptions2.NewLine, EditorFeaturesResources.New_Line, options, updater); 36yield return Setting.Create(FormattingOptions2.InsertFinalNewLine, EditorFeaturesResources.Insert_Final_Newline, options, updater);
FindReferences\FindReferencesTableControlEventProcessorProvider.cs (1)
81EditorFeaturesResources.Navigating,
InheritanceMargin\MarginGlyph\InheritanceMarginContextMenu.xaml.cs (2)
61title: EditorFeaturesResources.Navigating, 74string.Format(CultureInfo.InvariantCulture, EditorFeaturesResources._0_declarations, viewModel.DisplayContent),
InlineRename\InlineRenameUndoManager.cs (2)
110var startRenameUndoPrimitive = new RenameUndoPrimitive(EditorFeaturesResources.Start_Rename); 141compoundAction.OpenCompoundAction(EditorFeaturesResources.Start_Rename);
Library\ObjectBrowser\AbstractObjectBrowserLibraryManager.cs (1)
515var (context, cancellationToken) = presenter.StartSearch(EditorFeaturesResources.Find_References, supportsReferences: true);
Library\ObjectBrowser\ObjectList.cs (1)
750using var context = operationExecutor.BeginExecute(ServicesVSResources.IntelliSense, EditorFeaturesResources.Navigating, allowCancellation: true, showProgress: false);
Preview\PreviewEngine.cs (2)
91pbstrConfirmation = EditorFeaturesResources.Apply2; 198pbstrTextViewDescription = EditorFeaturesResources.Preview_Code_Changes_colon;
PreviewPane\PreviewPaneService.cs (1)
109helpLinkToolTipText: (helpLinkUri != null) ? string.Format(EditorFeaturesResources.Get_help_for_0, data.Id) : null,
SyncNamespaces\SyncNamespacesCommandHandler.cs (1)
150title: EditorFeaturesResources.Preview_Changes,
TableDataSource\VisualStudioBaseDiagnosticListTable.LiveTableDataSource.cs (1)
380content = (data.GetValidHelpLinkUri() != null) ? string.Format(EditorFeaturesResources.Get_help_for_0, data.Id) : null;
TableDataSource\VisualStudioDiagnosticListTable.BuildTableDataSource.cs (1)
166content = (data.GetValidHelpLinkUri() != null) ? string.Format(EditorFeaturesResources.Get_help_for_0, data.Id) : null;
Venus\ContainedLanguageCodeSupport.cs (1)
338var undoTitle = string.Format(EditorFeaturesResources.Rename_0_to_1, symbol.Name, newName);
Workspace\VisualStudioSymbolRenamedCodeActionOperationFactoryWorkspaceService.cs (1)
84public override string Title => string.Format(EditorFeaturesResources.Rename_0_to_1, _symbol.Name, _newName);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (42)
CallHierarchy\CSharpCallHierarchyTests.cs (42)
101testState.VerifyRoot(root, "N.C.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo") }); 102testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), new[] { "N.G.Main()", "N.G.Main2()" }); 140testState.VerifyRoot(root, "N.C.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Calls_To_Interface_Implementation_0, "N.I.Goo()") }); 141testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), new[] { "N.G.Main2()" }); 142testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_Interface_Implementation_0, "N.I.Goo()"), new[] { "N.G.Main()" }); 175testState.VerifyRoot(root, "N.C.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), EditorFeaturesResources.Calls_To_Overrides }); 176testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), new[] { "N.D.Bar()" }); 177testState.VerifyResult(root, EditorFeaturesResources.Calls_To_Overrides, new[] { "N.D.Baz()" }); 210testState.VerifyRoot(root, "N.D.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Calls_To_Base_Member_0, "N.C.Goo()") }); 211testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), new[] { "N.D.Baz()" }); 212testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_Base_Member_0, "N.C.Goo()"), new[] { "N.D.Bar()" }); 230testState.VerifyRoot(root, "N.C.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo") }); 231testState.VerifyResultName(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), new[] { EditorFeaturesResources.Initializers }); 249testState.VerifyRoot(root, "N.C.goo", new[] { string.Format(EditorFeaturesResources.References_To_Field_0, "goo") }); 250testState.VerifyResult(root, string.Format(EditorFeaturesResources.References_To_Field_0, "goo"), new[] { "N.C.Goo()" }); 277testState.VerifyRoot(root, "N.C.val.get", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "get_val") }); 278testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "get_val"), new[] { "N.C.goo()" }); 303testState.VerifyRoot(root, "N.C.generic<T>(this string, ref T)", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "generic") }); 304testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "generic"), new[] { "N.C.goo()" }); 332testState.VerifyRoot(root, "ConsoleApplication10.Extensions.BarString(this string)", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "BarString") }); 333testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "BarString"), new[] { "ConsoleApplication10.Program.Main(string[])" }); 355testState.VerifyRoot(root, "System.Linq.Enumerable.Single<TSource>(this System.Collections.Generic.IEnumerable<TSource>)", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Single") }); 356testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Single"), new[] { "N.Program.Main(string[])" }); 394testState.VerifyRoot(root, "N.I.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), string.Format(EditorFeaturesResources.Implements_0, "Goo") }); 395testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), new[] { "N.G.Main()" }); 396testState.VerifyResult(root, string.Format(EditorFeaturesResources.Implements_0, "Goo"), new[] { "N.C.Goo()" }); 439testState.VerifyRoot(root, "N.C.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), EditorFeaturesResources.Overrides_ }); 440testState.VerifyResult(root, EditorFeaturesResources.Overrides_, new[] { "N.G.Goo()" }); 464testState.VerifyRoot(root, "Base.M()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "M"), EditorFeaturesResources.Overrides_, EditorFeaturesResources.Calls_To_Overrides }); 465testState.VerifyResult(root, EditorFeaturesResources.Overrides_, new[] { "Derived.M()" }); 491testState.VerifyRoot(root, "N.C.Goo()", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), }); 492testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "Goo"), expectedCallers: new[] { "N.C.M()" }); 513testState.VerifyRoot(root, "N.C.Property.set", new[] { string.Format(EditorFeaturesResources.Calls_To_0, "set_Property") }); 514testState.VerifyResult(root, string.Format(EditorFeaturesResources.Calls_To_0, "set_Property"), new[] { "N.C.M()" });
Microsoft.VisualStudio.LanguageServices.UnitTests (14)
CallHierarchy\CallHierarchyTests.vb (14)
76testState.VerifyResult(root, String.Format(EditorFeaturesResources.Calls_To_0, "GetFive"), {"DSSS.bar()", "D.bar()", "G.G.G()"}, CallHierarchySearchScope.EntireSolution) 78testState.VerifyResult(root, String.Format(EditorFeaturesResources.Calls_To_0, "GetFive"), {"DSSS.bar()", "D.bar()", "G.G.G()"}, CallHierarchySearchScope.CurrentProject) 80testState.VerifyResult(root, String.Format(EditorFeaturesResources.Calls_To_0, "GetFive"), {"D.bar()"}, CallHierarchySearchScope.CurrentDocument, documents) 101testState.VerifyResult(root, String.Format(EditorFeaturesResources.Calls_To_0, "Goo"), {"C.Goo()"}) 127testState.VerifyResult(root, String.Format(EditorFeaturesResources.Implements_0, "Goo"), {"C.Goo()"}) 180testState.VerifyResult(root, String.Format(EditorFeaturesResources.Implements_0, "goo"), {"D.goo()", "G.G.goo()", "C.C.goo()"}, CallHierarchySearchScope.EntireSolution) 182testState.VerifyResult(root, String.Format(EditorFeaturesResources.Implements_0, "goo"), {"G.G.goo()", "C.C.goo()"}, CallHierarchySearchScope.CurrentProject, documents) 184testState.VerifyResult(root, String.Format(EditorFeaturesResources.Implements_0, "goo"), {"C.C.goo()"}, CallHierarchySearchScope.CurrentDocument, documents) 220String.Format(EditorFeaturesResources.Implements_0, "GetChangeSignatureOptions"), 258String.Format(EditorFeaturesResources.Calls_To_0, "M"), 291testState.VerifyResult(root, EditorFeaturesResources.Overrides_, {"Derived.M()"}) 321testState.Navigate(root, EditorFeaturesResources.Overrides_, "D.goo()") 361testState.VerifyRoot(root, "N.C.Goo()", {String.Format(EditorFeaturesResources.Calls_To_0, "Goo")}) 362testState.Navigate(root, String.Format(EditorFeaturesResources.Calls_To_0, "Goo"), "N.G.Main()")