1367 references to ServicesVSResources
Microsoft.VisualStudio.LanguageServices (490)
AnalyzerDependency\AnalyzerDependencyCheckingService.cs (4)
54title: ServicesVSResources.MissingAnalyzerReference, 55messageFormat: ServicesVSResources.Analyzer_assembly_0_depends_on_1_but_it_was_not_found_Analyzers_may_not_run_correctly_unless_the_missing_assembly_is_added_as_an_analyzer_reference_as_well, 62title: ServicesVSResources.AnalyzerDependencyConflict, 63messageFormat: ServicesVSResources.Analyzer_assemblies_0_and_1_both_have_identity_2_but_different_contents_Only_one_will_be_loaded_and_analyzers_using_these_assemblies_may_not_run_correctly,
AnalyzerDependency\AnalyzerFileWatcherService.cs (2)
42title: ServicesVSResources.AnalyzerChangedOnDisk, 43messageFormat: ServicesVSResources.The_analyzer_assembly_0_has_changed_Diagnostics_may_be_incorrect_until_Visual_Studio_is_restarted,
CallHierarchy\CallHierarchyCommandHandler.cs (2)
78ServicesVSResources.Call_Hierarchy, ServicesVSResources.Navigating, allowCancellation: true, showProgress: false))
CallHierarchy\CallHierarchyDetail.cs (2)
74ServicesVSResources.Call_Hierarchy, ServicesVSResources.Navigating, allowCancellation: true, showProgress: false);
CallHierarchy\CallHierarchyItem.cs (2)
145ServicesVSResources.Call_Hierarchy, ServicesVSResources.Navigating, allowCancellation: true, showProgress: false);
ChangeSignature\AddParameterDialog.xaml.cs (16)
18public string OK { get { return ServicesVSResources.OK; } } 19public string Cancel { get { return ServicesVSResources.Cancel; } } 20public string ParameterInformation { get { return ServicesVSResources.Parameter_information; } } 21public string TypeNameLabel { get { return ServicesVSResources.Type_Name; } } 22public string ParameterNameLabel { get { return ServicesVSResources.Parameter_Name; } } 23public string CallSiteValueLabel { get { return ServicesVSResources.Call_site_value; } } 24public string AddParameterDialogTitle { get { return ServicesVSResources.Add_Parameter; } } 25public string ParameterKind { get { return ServicesVSResources.Parameter_kind; } } 26public string Required { get { return ServicesVSResources.Required; } } 27public string OptionalWithDefaultValue { get { return ServicesVSResources.Optional_with_default_value_colon; } } 28public string ValueToInjectAtCallsites { get { return ServicesVSResources.Value_to_inject_at_call_sites; } } 29public string Value { get { return ServicesVSResources.Value_colon; } } 30public string UseNamedArgument { get { return ServicesVSResources.Use_named_argument; } } 31public string IntroduceUndefinedTodoVariables { get { return ServicesVSResources.IntroduceUndefinedTodoVariables; } } 32public string OmitOnlyForOptionalParameters { get { return ServicesVSResources.Omit_only_for_optional_parameters; } } 33public string InferFromContext { get { return ServicesVSResources.Infer_from_context; } }
ChangeSignature\AddParameterDialogViewModel.cs (10)
35TypeBindsDynamicStatus = ServicesVSResources.Please_enter_a_type_name; 127message = ServicesVSResources.A_type_and_name_must_be_provided; 133message = ServicesVSResources.Parameter_type_contains_invalid_characters; 139message = ServicesVSResources.Parameter_name_contains_invalid_characters; 145message = ServicesVSResources.Enter_a_call_site_value_or_choose_a_different_value_injection_kind; 151message = ServicesVSResources.Optional_parameters_must_provide_a_default_value; 185TypeBindsDynamicStatus = ServicesVSResources.Please_enter_a_type_name; 202TypeBindsDynamicStatus = ServicesVSResources.Type_name_has_a_syntax_error; 212? ServicesVSResources.Type_name_is_recognized 213: ServicesVSResources.Type_name_is_not_recognized;
ChangeSignature\ChangeSignatureDialog.xaml.cs (18)
26public static string ChangeSignatureDialogTitle { get { return ServicesVSResources.Change_Signature; } } 27public static string CurrentParameter { get { return ServicesVSResources.Current_parameter; } } 28public static string Parameters { get { return ServicesVSResources.Parameters_colon2; } } 29public static string PreviewMethodSignature { get { return ServicesVSResources.Preview_method_signature_colon; } } 30public static string PreviewReferenceChanges { get { return ServicesVSResources.Preview_reference_changes; } } 31public static string Remove { get { return ServicesVSResources.Re_move; } } 32public static string Restore { get { return ServicesVSResources.Restore; } } 33public static string Add { get { return ServicesVSResources.Add; } } 34public static string OK { get { return ServicesVSResources.OK; } } 35public static string Cancel { get { return ServicesVSResources.Cancel; } } 36public static string WarningTypeDoesNotBind { get { return ServicesVSResources.Warning_colon_type_does_not_bind; } } 37public static string WarningDuplicateParameterName { get { return ServicesVSResources.Warning_colon_duplicate_parameter_name; } } 55modifierHeader.Header = ServicesVSResources.Modifier; 56defaultHeader.Header = ServicesVSResources.Default_; 57typeHeader.Header = ServicesVSResources.Type; 58parameterHeader.Header = ServicesVSResources.Parameter; 59callsiteHeader.Header = ServicesVSResources.Callsite; 60indexHeader.Header = ServicesVSResources.Index;
ChangeSignature\ChangeSignatureDialogViewModel.cs (5)
502message = ServicesVSResources.You_must_change_the_signature; 564return string.Format(ServicesVSResources.Move_0_above_1, AllParameters[SelectedIndex!.Value].ShortAutomationText, AllParameters[SelectedIndex!.Value - 1].ShortAutomationText); 577return string.Format(ServicesVSResources.Move_0_below_1, AllParameters[SelectedIndex!.Value].ShortAutomationText, AllParameters[SelectedIndex!.Value + 1].ShortAutomationText); 590return string.Format(ServicesVSResources.Remove_0, AllParameters[SelectedIndex!.Value].ShortAutomationText); 603return string.Format(ServicesVSResources.Restore_0, AllParameters[SelectedIndex!.Value].ShortAutomationText);
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (3)
47: ServicesVSResources.None; 126return ServicesVSResources.Added_Parameter + baseText + string.Format(ServicesVSResources.Inserting_call_site_value_0, CallSite);
CodeCleanup\CommonCodeCleanUpFixerDiagnosticIds.cs (6)
93[LocalizedName(typeof(ServicesVSResources), nameof(ServicesVSResources.Format_document))] 339[LocalizedName(typeof(ServicesVSResources), nameof(ServicesVSResources.Fix_analyzer_warnings_and_errors_set_in_EditorConfig))] 348[LocalizedName(typeof(ServicesVSResources), nameof(ServicesVSResources.Fix_all_warnings_and_errors_set_in_EditorConfig))]
CommonControls\MemberSelection.xaml.cs (6)
17public string SelectDependents => ServicesVSResources.Select_Dependents; 18public string SelectPublic => ServicesVSResources.Select_Public; 19public string MembersHeader => ServicesVSResources.Members; 20public string MakeAbstractHeader => ServicesVSResources.Make_abstract; 21public string SelectAll => ServicesVSResources.Select_All; 22public string DeselectAll => ServicesVSResources.Deselect_All;
CommonControls\MemberSelectionViewModel.cs (3)
113title: ServicesVSResources.Pull_Members_Up, 114defaultDescription: ServicesVSResources.Calculating_dependents, 153member.TooltipText = isInterface ? ServicesVSResources.Interface_cannot_have_field : string.Empty;
CommonControls\NewTypeDestinationSelection.xaml.cs (5)
37public string GeneratedName => ServicesVSResources.Generated_name_colon; 38public string SelectDestinationFile => ServicesVSResources.Select_destination; 39public string SelectCurrentFileAsDestination => ServicesVSResources.Add_to_current_file; 40public string SelectNewFileAsDestination => ServicesVSResources.New_file_name_colon; 41public string NewTypeName => ServicesVSResources.New_Type_Name_colon;
CommonControls\NewTypeDestinationSelectionViewModel.cs (4)
116message = ServicesVSResources.Name_conflicts_with_an_existing_type_name; 122message = string.Format(ServicesVSResources.Name_is_not_a_valid_0_identifier, _languageName); 129message = string.Format(ServicesVSResources.File_name_must_have_the_0_extension, _fileExtension); 135message = ServicesVSResources.Illegal_characters_in_path;
Diagnostics\DiagnosticProgressReporter.cs (3)
24Title = ServicesVSResources.Running_low_priority_background_processes, 179? ServicesVSResources.Paused_0_tasks_in_queue 180: ServicesVSResources.Evaluating_0_tasks_in_queue;
Diagnostics\VisualStudioDiagnosticAnalyzerService.cs (12)
193BackgroundAnalysisScope.ActiveFile => ServicesVSResources.Default_Current_Document, 194BackgroundAnalysisScope.OpenFiles => ServicesVSResources.Default_Open_Documents, 195BackgroundAnalysisScope.FullSolution => ServicesVSResources.Default_Entire_Solution, 196BackgroundAnalysisScope.None => ServicesVSResources.Default_None, 197_ => ServicesVSResources.Default_, 279command.Text = string.Format(ServicesVSResources.Run_Code_Analysis_on_0, project.Name); 447? string.Format(ServicesVSResources.Running_code_analysis_for_0, projectOrSolutionName) 448: ServicesVSResources.Running_code_analysis_for_Solution; 450? string.Format(ServicesVSResources.Code_analysis_completed_for_0, projectOrSolutionName) 451: ServicesVSResources.Code_analysis_completed_for_Solution; 453? string.Format(ServicesVSResources.Code_analysis_terminated_before_completion_for_0, projectOrSolutionName) 454: ServicesVSResources.Code_analysis_terminated_before_completion_for_Solution;
DocumentOutline\DocumentOutlineStrings.cs (6)
10=> ServicesVSResources.Document_Outline_Search; 13=> ServicesVSResources.Document_Outline_Expand_All; 16=> ServicesVSResources.Document_Outline_Collapse_All; 19=> ServicesVSResources.Document_Outline_Sort_Name; 22=> ServicesVSResources.Document_Outline_Sort_Order; 25=> ServicesVSResources.Document_Outline_Sort_Type;
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerCategoryColumnDefinition.cs (1)
39public override string DisplayName => ServicesVSResources.Category;
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerDescriptionColumnDefinition.cs (1)
25public override string DisplayName => ServicesVSResources.Description;
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerEnabledColumnDefinition.cs (1)
28public override string DisplayName => ServicesVSResources.Enabled;
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerIdColumnDefinition.cs (1)
25public override string DisplayName => ServicesVSResources.Id;
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerLocationColumnDefinition.cs (1)
25public override string DisplayName => ServicesVSResources.Location;
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerSeverityColumnDefinition.cs (5)
29public override string DisplayName => ServicesVSResources.Severity; 44CodeAnalysis.DiagnosticSeverity.Hidden => ServicesVSResources.Disabled, 45CodeAnalysis.DiagnosticSeverity.Info => ServicesVSResources.Suggestion, 46CodeAnalysis.DiagnosticSeverity.Warning => ServicesVSResources.Warning, 47CodeAnalysis.DiagnosticSeverity.Error => ServicesVSResources.Error,
EditorConfigSettings\Analyzers\View\ColumnDefinitions\AnalyzerTitleColumnDefinition.cs (1)
26public override string DisplayName => ServicesVSResources.Title;
EditorConfigSettings\Analyzers\ViewModel\AnalyzerSettingsViewModel.SettingsEntriesSnapshot.cs (1)
44_ => ServicesVSResources.Analyzer_Defaults
EditorConfigSettings\Analyzers\ViewModel\SeverityViewModel.cs (7)
15ServicesVSResources.Disabled, 16ServicesVSResources.Suggestion, 17ServicesVSResources.Warning, 18ServicesVSResources.Error 44public static string AutomationName => ServicesVSResources.Severity; 60? ServicesVSResources.Severity 61: ServicesVSResources.This_rule_is_not_configurable;
EditorConfigSettings\CodeStyle\View\ColumnDefinitions\CodeStyleCategoryColumnDefinition.cs (1)
38public override string DisplayName => ServicesVSResources.Category;
EditorConfigSettings\CodeStyle\View\ColumnDefinitions\CodeStyleDescriptionColumnDefinition.cs (1)
25public override string DisplayName => ServicesVSResources.Description;
EditorConfigSettings\CodeStyle\View\ColumnDefinitions\CodeStyleLocationColumnDefinition.cs (1)
25public override string DisplayName => ServicesVSResources.Location;
EditorConfigSettings\CodeStyle\View\ColumnDefinitions\CodeStyleSeverityColumnDefinition.cs (1)
29public override string DisplayName => ServicesVSResources.Severity;
EditorConfigSettings\CodeStyle\View\ColumnDefinitions\CodeStyleValueColumnDefinition.cs (1)
28public override string DisplayName => ServicesVSResources.Value;
EditorConfigSettings\CodeStyle\ViewModel\CodeStyleSettingsViewModel.SettingsEntriesSnapshot.cs (1)
38_ => ServicesVSResources.Visual_Studio_Settings
EditorConfigSettings\CodeStyle\ViewModel\CodeStyleSeverityViewModel.cs (6)
15ServicesVSResources.Disabled, 16ServicesVSResources.Suggestion, 17ServicesVSResources.Warning, 18ServicesVSResources.Error 40public string ToolTip => ServicesVSResources.Severity; 42public static string AutomationName => ServicesVSResources.Severity;
EditorConfigSettings\CodeStyle\ViewModel\CodeStyleValueViewModel.cs (2)
28public string ToolTip => ServicesVSResources.Value; 30public static string AutomationName => ServicesVSResources.Value;
EditorConfigSettings\Common\EnumSettingViewModel.cs (2)
18public string ToolTip => ServicesVSResources.Value; 19public string AutomationName => ServicesVSResources.Value;
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsProvider.cs (32)
68var trueValueDescription = ServicesVSResources.Prefer_predefined_type; 69var falseValueDescription = ServicesVSResources.Prefer_framework_type; 71yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, ServicesVSResources.For_locals_parameters_and_members, options, updater, trueValueDescription, falseValueDescription); 72yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, ServicesVSResources.For_member_access_expressions, options, updater, trueValueDescription, falseValueDescription); 77yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferCoalesceExpression, ServicesVSResources.Prefer_coalesce_expression, options, updater); 78yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferNullPropagation, ServicesVSResources.Prefer_null_propagation, options, updater); 86ServicesVSResources.Require_accessibility_modifiers, 90valueDescriptions: new[] { ServicesVSResources.Always, ServicesVSResources.For_non_interface_members, ServicesVSResources.Never, ServicesVSResources.Omit_if_default }); 92yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferReadonly, ServicesVSResources.Prefer_readonly_fields, options, updater); 97yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferAutoProperties, ServicesVSResources.analyzer_Prefer_auto_properties, options, updater); 102yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferObjectInitializer, description: ServicesVSResources.Prefer_object_initializer, options, updater); 103yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferCollectionInitializer, description: ServicesVSResources.Prefer_collection_initializer, options, updater); 104yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferSimplifiedBooleanExpressions, description: ServicesVSResources.Prefer_simplified_boolean_expressions, options, updater); 105yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferConditionalExpressionOverAssignment, description: ServicesVSResources.Prefer_conditional_expression_over_if_with_assignments, options, updater); 106yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferConditionalExpressionOverReturn, description: ServicesVSResources.Prefer_conditional_expression_over_if_with_returns, options, updater); 107yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferExplicitTupleNames, description: ServicesVSResources.Prefer_explicit_tuple_name, options, updater); 108yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferInferredTupleNames, description: ServicesVSResources.Prefer_inferred_tuple_names, options, updater); 109yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferInferredAnonymousTypeMemberNames, description: ServicesVSResources.Prefer_inferred_anonymous_type_member_names, options, updater); 110yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferCompoundAssignment, description: ServicesVSResources.Prefer_compound_assignments, options, updater); 111yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferSimplifiedInterpolation, description: ServicesVSResources.Prefer_simplified_interpolation, options, updater); 117var valueDescriptions = new[] { ServicesVSResources.Always_for_clarity, ServicesVSResources.Never_if_unnecessary }; 122yield return CodeStyleSetting.Create(CodeStyleOptions2.OtherParentheses, ServicesVSResources.In_other_operators, options, updater, enumValues, valueDescriptions); 128var valueDescriptions = new[] { ServicesVSResources.Non_public_methods, ServicesVSResources.All_methods }; 130yield return CodeStyleSetting.Create(CodeStyleOptions2.UnusedParameters, ServicesVSResources.Avoid_unused_parameters, options, updater, enumValues, valueDescriptions); 135yield return CodeStyleSetting.Create(CodeStyleOptions2.PreferNamespaceAndFolderMatchStructure, ServicesVSResources.Prefer_namespace_and_folder_match_structure, options, updater); 136yield return CodeStyleSetting.Create(CodeStyleOptions2.AllowMultipleBlankLines, ServicesVSResources.Allow_multiple_blank_lines, options, updater); 137yield return CodeStyleSetting.Create(CodeStyleOptions2.AllowStatementImmediatelyAfterBlock, ServicesVSResources.Allow_statement_immediately_after_block, options, updater);
EditorConfigSettings\DataProvider\Whitespace\CommonWhitespaceSettingsProvider.cs (1)
37yield return Setting.Create(CodeStyleOptions2.OperatorPlacementWhenWrapping, ServicesVSResources.Operator_placement_when_wrapping, options, updater);
EditorConfigSettings\NamingStyle\View\ColumnDefinitions\NamingStylesLocationColumnDefinition.cs (2)
31public override string DisplayName => ServicesVSResources.Location; 52_ => ServicesVSResources.Visual_Studio_Settings,
EditorConfigSettings\NamingStyle\View\ColumnDefinitions\NamingStylesSeverityColumnDefinition.cs (5)
31public override string DisplayName => ServicesVSResources.Severity; 50ReportDiagnostic.Hidden => ServicesVSResources.Disabled, 51ReportDiagnostic.Info => ServicesVSResources.Suggestion, 52ReportDiagnostic.Warn => ServicesVSResources.Warning, 53ReportDiagnostic.Error => ServicesVSResources.Error,
EditorConfigSettings\NamingStyle\View\ColumnDefinitions\NamingStylesStyleColumnDefinition.cs (1)
31public override string DisplayName => ServicesVSResources.Naming_Style;
EditorConfigSettings\NamingStyle\View\ColumnDefinitions\NamingStylesTypeColumnDefinition.cs (1)
30public override string DisplayName => ServicesVSResources.Type;
EditorConfigSettings\NamingStyle\ViewModel\ColumnViewModels\NamingStylesLocationViewModel.cs (3)
36public static string LocationToolTip { get; } = ServicesVSResources.Location; 37public static string LocationAutomationName { get; } = ServicesVSResources.Location; 46_ => ServicesVSResources.Visual_Studio_Settings,
EditorConfigSettings\NamingStyle\ViewModel\ColumnViewModels\NamingStylesSeverityViewModel.cs (6)
44public static string SeverityToolTip => ServicesVSResources.Severity; 46public static string SeverityAutomationName => ServicesVSResources.Severity; 52ServicesVSResources.Disabled, 53ServicesVSResources.Suggestion, 54ServicesVSResources.Warning, 55ServicesVSResources.Error
EditorConfigSettings\NamingStyle\ViewModel\ColumnViewModels\NamingStylesStyleViewModel.cs (2)
27public static string StyleToolTip => ServicesVSResources.Naming_Style; 29public static string StyleAutomationName => ServicesVSResources.Naming_Style;
EditorConfigSettings\NamingStyle\ViewModel\ColumnViewModels\NamingStylesTypeViewModel.cs (2)
35public static string TypeToolTip { get; } = ServicesVSResources.Type; 36public static string TypeAutomationName { get; } = ServicesVSResources.Type;
EditorConfigSettings\SettingsEditorControl.xaml.cs (4)
31public static string WhitespaceTabTitle => ServicesVSResources.Whitespace; 33public static string CodeStyleTabTitle => ServicesVSResources.Code_Style; 35public static string NamingStyleTabTitle => ServicesVSResources.Naming_Style; 37public static string AnalyzersTabTitle => ServicesVSResources.Analyzers;
EditorConfigSettings\SettingsEditorPane.SearchHandler.cs (1)
51dataSource.SearchWatermark = ServicesVSResources.Search_Settings;
EditorConfigSettings\Whitespace\View\ColumnDefnitions\WhitespaceCategoryColumnDefinition.cs (1)
39public override string DisplayName => ServicesVSResources.Category;
EditorConfigSettings\Whitespace\View\ColumnDefnitions\WhitespaceDescriptionColumnDefinition.cs (1)
25public override string DisplayName => ServicesVSResources.Description;
EditorConfigSettings\Whitespace\View\ColumnDefnitions\WhitespaceLocationColumnDefinition.cs (1)
25public override string DisplayName => ServicesVSResources.Location;
EditorConfigSettings\Whitespace\View\ColumnDefnitions\WhitespaceValueColumnDefinition.cs (1)
35public override string DisplayName => ServicesVSResources.Value;
EditorConfigSettings\Whitespace\ViewModel\NewLineViewModel.cs (3)
91yield return (ServicesVSResources.Newline_n, NewLineSetting.Newline); 92yield return (ServicesVSResources.Carriage_Return_r, NewLineSetting.CarriageReturn); 93yield return (ServicesVSResources.Carriage_Return_Newline_rn, NewLineSetting.CarriageReturnNewline);
EditorConfigSettings\Whitespace\ViewModel\OperatorPlacementWhenWrappingViewModel.cs (2)
76yield return (ServicesVSResources.Beginning_of_line, OperatorPlacementWhenWrappingPreference.BeginningOfLine); 77yield return (ServicesVSResources.End_of_line, OperatorPlacementWhenWrappingPreference.EndOfLine);
EditorConfigSettings\Whitespace\ViewModel\WhitespaceSettingBoolViewModel.cs (2)
27public string ToolTip => ServicesVSResources.Value; 29public string AutomationName => ServicesVSResources.Value;
EditorConfigSettings\Whitespace\ViewModel\WhitespaceViewModel.SettingsEntriesSnapshot.cs (1)
37_ => ServicesVSResources.Visual_Studio_Settings
ErrorReporting\DetailedErrorInfoDialog.xaml.cs (2)
22this.CopyButton.Content = ServicesVSResources.Copy_to_Clipboard; 23this.CloseButton.Content = ServicesVSResources.Close;
ErrorReporting\VisualStudioErrorReportingService.ExceptionFormatting.cs (2)
67" " + ServicesVSResources.End_of_inner_exception_stack; 117stringBuilder.Append(ServicesVSResources.Unknown_parameters);
ExternalAccess\LegacyCodeAnalysis\LegacyCodeAnalysisVisualStudioSuppressionFixServiceAccessor.cs (3)
47string.Format(ServicesVSResources.Error_updating_suppressions_0, ex.Message), 69message: string.Format(ServicesVSResources.Error_updating_suppressions_0, ex.Message), 91message: string.Format(ServicesVSResources.Error_updating_suppressions_0, ex.Message),
ExtractClass\ExtractClassDialog.xaml.cs (3)
19public string OK => ServicesVSResources.OK; 20public string Cancel => ServicesVSResources.Cancel; 21public string SelectMembers => ServicesVSResources.Select_members_colon;
ExtractClass\ExtractClassViewModel.cs (2)
69? ServicesVSResources.Extract_Base_Record 70: ServicesVSResources.Extract_Base_Class;
ExtractInterface\ExtractInterfaceDialog.xaml.cs (7)
25public string ExtractInterfaceDialogTitle { get { return ServicesVSResources.Extract_Interface; } } 26public string NewInterfaceName { get { return ServicesVSResources.New_interface_name_colon; } } 27public string SelectPublicMembersToFormInterface { get { return ServicesVSResources.Select_public_members_to_form_interface; } } 28public string SelectAll { get { return ServicesVSResources.Select_All; } } 29public string DeselectAll { get { return ServicesVSResources.Deselect_All; } } 30public string OK { get { return ServicesVSResources.OK; } } 31public string Cancel { get { return ServicesVSResources.Cancel; } }
ExtractInterface\ExtractInterfaceDialogViewModel.cs (1)
67SendFailureNotification(ServicesVSResources.You_must_select_at_least_one_member);
FindReferences\ContainingMemberColumnDefinition.cs (1)
34public override string DisplayName => ServicesVSResources.Containing_member;
FindReferences\ContainingTypeColumnDefinition.cs (1)
32public override string DisplayName => ServicesVSResources.Containing_type;
FindReferences\Contexts\AbstractTableDataSourceFindUsagesContext.cs (1)
80protected string NoDefinitionsFoundMessage = ServicesVSResources.Search_found_no_results;
FindReferences\Contexts\WithReferencesFindUsagesContext.cs (3)
200bucket => SimpleMessageEntry.CreateAsync(bucket, bucket, ServicesVSResources.External_reference_found)!, 217string.Format(ServicesVSResources.No_references_found_to_0, definition.NameDisplayParts.JoinText()))!, 291ServicesVSResources.Symbols_without_references)));
FindReferences\Filters\EntireSolutionAndExternalFilterFactory.cs (1)
41public override string FilterDisplayName => ServicesVSResources.Entire_solution_and_external_sources;
FindReferences\Filters\EntireSolutionWithoutMetadataFilterFactory.cs (1)
44public override string FilterDisplayName => ServicesVSResources.Entire_solution;
FindReferences\Filters\ExternalSourcesFilterFactory.cs (1)
40public override string FilterDisplayName => ServicesVSResources.External_sources;
FindReferences\FindReferencesTableControlEventProcessorProvider.cs (1)
80ServicesVSResources.IntelliSense,
FindReferences\VisualStudioDefinitionsAndReferencesFactory.cs (1)
83return ServicesVSResources.Preview_unavailable;
FindUsages\RichNavFilterScopes.cs (4)
50return new LoadedSolutionFilterHandler(ServicesVSResources.Loaded_items); 54return new LoadedSolutionFilterHandler(ServicesVSResources.Loaded_solution); 117: base(AllSourcesFilterHandlerFilterId, ServicesVSResources.All_sources, ItemOrigin.IndexedInThirdParty) 145: base(EntireRepositoryFilterHandlerFilterId, ServicesVSResources.Entire_repository, ItemOrigin.IndexedInRepo)
GenerateType\GenerateTypeDialog.xaml.cs (12)
23public string GenerateTypeDialogTitle { get { return ServicesVSResources.Generate_Type; } } 24public string TypeDetails { get { return ServicesVSResources.Type_Details_colon; } } 25public string Access { get { return ServicesVSResources.Access_colon; } } 26public string Kind { get { return ServicesVSResources.Kind_colon; } } 27public string NameLabel { get { return ServicesVSResources.Name_colon1; } } 28public string Location { get { return ServicesVSResources.Location_colon; } } 29public string Project { get { return ServicesVSResources.Project_colon; } } 30public string FileName { get { return ServicesVSResources.File_Name_colon; } } 31public string CreateNewFile { get { return ServicesVSResources.Create_new_file; } } 32public string AddToExistingFile { get { return ServicesVSResources.Add_to_existing_file; } } 33public string OK { get { return ServicesVSResources.OK; } } 34public string Cancel { get { return ServicesVSResources.Cancel; } }
GenerateType\GenerateTypeDialogViewModel.cs (10)
249SendFailureNotification(ServicesVSResources.Illegal_characters_in_path); 256SendFailureNotification(ServicesVSResources.Path_cannot_have_empty_filename); 262SendFailureNotification(ServicesVSResources.Illegal_characters_in_path); 272if (!TryGetImplicitFilePath(this.SelectedProject.FilePath ?? string.Empty, ServicesVSResources.Project_Path_is_illegal, out implicitFilePath)) 279if (!TryGetImplicitFilePath(_document.FilePath, ServicesVSResources.DocumentPath_is_illegal, out implicitFilePath)) 318else if (!TryGetImplicitFilePath(this.SelectedProject.FilePath, ServicesVSResources.Project_Path_is_illegal, out projectRootPath)) 349SendFailureNotification(ServicesVSResources.Illegal_characters_in_path); 361SendFailureNotification(ServicesVSResources.Illegal_characters_in_path); 371SendFailureNotification(ServicesVSResources.File_path_cannot_use_reserved_keywords); 382SendFailureNotification(ServicesVSResources.File_already_exists);
Implementation\AbstractVsTextViewFilter.cs (2)
97title: ServicesVSResources.Debugger, 98defaultDescription: ServicesVSResources.Getting_DataTip_text,
Implementation\VirtualMemoryNotificationListener.cs (3)
164message: ServicesVSResources.Visual_Studio_has_suspended_some_advanced_features_to_improve_performance, 167new InfoBarUI(ServicesVSResources.Re_enable, InfoBarUI.UIKind.Button, RenableBackgroundAnalysis), 168new InfoBarUI(ServicesVSResources.Learn_more, InfoBarUI.UIKind.HyperLink,
InheritanceMargin\InheritanceMarginHelpers.cs (10)
159InheritanceRelationship.ImplementedInterface => ServicesVSResources.Implemented_interfaces, 160InheritanceRelationship.BaseType => ServicesVSResources.Base_Types, 161InheritanceRelationship.DerivedType => ServicesVSResources.Derived_types, 162InheritanceRelationship.InheritedInterface => ServicesVSResources.Inherited_interfaces, 163InheritanceRelationship.ImplementingType => ServicesVSResources.Implementing_types, 164InheritanceRelationship.ImplementedMember => ServicesVSResources.Implemented_members, 165InheritanceRelationship.OverriddenMember => ServicesVSResources.Overridden_members, 166InheritanceRelationship.OverridingMember => ServicesVSResources.Overriding_members, 167InheritanceRelationship.ImplementingMember => ServicesVSResources.Implementing_members, 190target, string.Format(ServicesVSResources._0_1, target.DisplayName, target.ProjectName)));
InheritanceMargin\MarginGlyph\InheritanceMarginContextMenu.xaml.cs (1)
62defaultDescription: string.Format(ServicesVSResources.Navigate_to_0, viewModel.DisplayContent),
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (6)
56var startOfThePlaceholder = ServicesVSResources._0_is_inherited.IndexOf("{0}", StringComparison.Ordinal); 57var prefixString = ServicesVSResources._0_is_inherited[..startOfThePlaceholder]; 58var suffixString = ServicesVSResources._0_is_inherited[(startOfThePlaceholder + "{0}".Length)..]; 70Text = ServicesVSResources.Multiple_members_are_inherited 133var automationName = string.Format(ServicesVSResources._0_is_inherited, member.DisplayTexts.JoinText()); 140var automationName = string.Format(ServicesVSResources.Multiple_members_are_inherited_on_line_0, tag.LineNumber);
Interactive\VsInteractiveWindowProvider.cs (2)
103InteractiveHostPlatform.Desktop64 => " (.NET Framework " + ServicesVSResources.Bitness64 + ")", 104InteractiveHostPlatform.Desktop32 => " (.NET Framework " + ServicesVSResources.Bitness32 + ")",
KeybindingReset\KeybindingResetDetector.cs (5)
240var message = ServicesVSResources.We_notice_you_suspended_0_Reset_keymappings_to_continue_to_navigate_and_refactor; 244new InfoBarUI(title: ServicesVSResources.Reset_Visual_Studio_default_keymapping, 247new InfoBarUI(title: string.Format(ServicesVSResources.Apply_0_keymapping_scheme, ReSharperKeyboardMappingName), 250new InfoBarUI(title: string.Format(ServicesVSResources.Apply_0_keymapping_scheme, VSCodeKeyboardMappingName), 253new InfoBarUI(title: ServicesVSResources.Never_show_this_again,
LanguageService\AbstractLanguageService`2.IVsLanguageBlock.cs (2)
45ServicesVSResources.Current_block, 46ServicesVSResources.Determining_current_block,
LanguageService\AbstractLanguageService`2.VsCodeWindowManager.cs (1)
298pbstrCaption = ServicesVSResources.Document_Outline;
LanguageService\AbstractLanguageService`2.VsLanguageDebugInfo.cs (8)
84title: ServicesVSResources.Debugger, 85defaultDescription: ServicesVSResources.Determining_breakpoint_location, 146title: ServicesVSResources.Debugger, 147defaultDescription: ServicesVSResources.Determining_autos, 200title: ServicesVSResources.Debugger, 201defaultDescription: ServicesVSResources.Resolving_breakpoint_location, 256title: ServicesVSResources.Debugger, 257defaultDescription: ServicesVSResources.Validating_breakpoint_location,
Library\ClassView\AbstractSyncClassViewCommandHandler.cs (2)
29public string DisplayName => ServicesVSResources.Sync_Class_View; 53using var waitScope = context.OperationContext.AddScope(allowCancellation: true, string.Format(ServicesVSResources.Synchronizing_with_0, ClassView));
Library\ObjectBrowser\AbstractDescriptionBuilder.cs (10)
130AddText(ServicesVSResources.Project); 136AddText(ServicesVSResources.Assembly); 255var memberOfText = ServicesVSResources.Member_of_0; 307AddName(ServicesVSResources.Summary_colon); 322AddName(ServicesVSResources.Type_Parameters_colon); 348AddName(ServicesVSResources.Parameters_colon1); 374AddName(ServicesVSResources.Returns_colon); 389AddName(ServicesVSResources.Value_colon); 404AddName(ServicesVSResources.Remarks_colon); 419AddName(ServicesVSResources.Exceptions_colon);
Library\ObjectBrowser\AbstractListItemFactory.cs (2)
259builder.Add(new FolderListItem(parentListItem.ProjectId, ServicesVSResources.Project_References)); 283builder.Add(new FolderListItem(parentListItem.ProjectId, ServicesVSResources.Base_Types));
Library\ObjectBrowser\ObjectList.cs (1)
750using var context = operationExecutor.BeginExecute(ServicesVSResources.IntelliSense, EditorFeaturesResources.Navigating, allowCancellation: true, showProgress: false);
Library\VsNavInfo\NavInfo.cs (1)
75builder.Add(ServicesVSResources.Project_References, _LIB_LISTTYPE.LLT_HIERARCHY);
Microsoft.VisualStudio.LanguageServices.ServicesVSResources.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(ServicesVSResources)));
MoveStaticMembers\MoveStaticMembersDialog.xaml.cs (5)
17public string MoveStaticMembersDialogTitle => ServicesVSResources.Move_static_members_to_another_type_colon; 18public string DestinationLabelText => ServicesVSResources.Type_Name; 19public string OK => ServicesVSResources.OK; 20public string Cancel => ServicesVSResources.Cancel; 21public string SelectMembers => ServicesVSResources.Select_members_colon;
MoveStaticMembers\MoveStaticMembersDialogViewModel.cs (2)
81Message = ServicesVSResources.New_Type_Name_colon; 87Message = ServicesVSResources.Invalid_type_name;
MoveStaticMembers\StaticMemberSelection.xaml.cs (4)
16public string SelectDependents => ServicesVSResources.Select_Dependents; 17public string MembersHeader => ServicesVSResources.Members; 18public string SelectAll => ServicesVSResources.Select_All; 19public string DeselectAll => ServicesVSResources.Deselect_All;
MoveStaticMembers\StaticMemberSelectionViewModel.cs (2)
53title: ServicesVSResources.Move_static_members_to_another_type_colon, 54defaultDescription: ServicesVSResources.Calculating_dependents,
MoveToNamespace\MoveToNamespaceDialog.xaml.cs (4)
22public string MoveToNamespaceDialogTitle => ServicesVSResources.Move_to_namespace; 23public string NamespaceLabelText => ServicesVSResources.Target_Namespace_colon; 24public string OK => ServicesVSResources.OK; 25public string Cancel => ServicesVSResources.Cancel;
MoveToNamespace\MoveToNamespaceDialogViewModel.cs (2)
54Message = ServicesVSResources.A_new_namespace_will_be_created; 61Message = ServicesVSResources.This_is_an_invalid_namespace;
NavigationBar\NavigationBarClient.cs (3)
141pbstrText = string.Format(ServicesVSResources.Project_colon_0_1_Use_the_dropdown_to_view_and_switch_to_other_projects_this_file_may_belong_to, selectedItemPreviewText, keybindingString); 145pbstrText = string.Format(ServicesVSResources.Project_colon_0_Use_the_dropdown_to_view_and_switch_to_other_projects_this_file_may_belong_to, selectedItemPreviewText); 152pbstrText = string.Format(ServicesVSResources._0_Use_the_dropdown_to_view_and_navigate_to_other_items_in_this_file, selectedItemPreviewText);
Packaging\PackageInstallerServiceFactory.cs (10)
307var description = string.Format(ServicesVSResources.Installing_0, packageName); 339dte, string.Format(ServicesVSResources.Installing_0_completed, GetStatusBarText(packageName, installedVersion)), 347await UpdateStatusBarAsync(dte, ServicesVSResources.Package_install_canceled, cancellationToken).ConfigureAwait(false); 353dte.StatusBar.Text = string.Format(ServicesVSResources.Package_install_failed_colon_0, e.Message); 357string.Format(ServicesVSResources.Installing_0_failed_Additional_information_colon_1, packageName, e.Message), 379var description = string.Format(ServicesVSResources.Uninstalling_0, packageName); 401dte, string.Format(ServicesVSResources.Uninstalling_0_completed, GetStatusBarText(packageName, installedVersion)), cancellationToken).ConfigureAwait(false); 408await UpdateStatusBarAsync(dte, ServicesVSResources.Package_uninstall_canceled, cancellationToken).ConfigureAwait(false); 414dte.StatusBar.Text = string.Format(ServicesVSResources.Package_uninstall_failed_colon_0, e.Message); 418string.Format(ServicesVSResources.Uninstalling_0_failed_Additional_information_colon_1, packageName, e.Message),
Packaging\PackageInstallerServiceFactory_UndoRedo.cs (4)
145var description = string.Format(ServicesVSResources.Uninstalling_0, packageName); 157=> pBstr = string.Format(ServicesVSResources.Uninstall_0, packageName); 179=> pBstr = string.Format(ServicesVSResources.Install_0, packageName); 183var description = string.Format(ServicesVSResources.Installing_0, packageName);
PdbSourceDocument\PdbSourceDocumentOutputWindowLogger.cs (1)
107if (ErrorHandler.Succeeded(outputWindow.CreatePane(ref paneGuid, ServicesVSResources.Navigate_to_external_sources, fInitVisible: 1, fClearWithSolution: 1)) &&
PickMembers\PickMembersDialog.xaml.cs (5)
27public string PickMembersDialogTitle => ServicesVSResources.Pick_members; 30public string SelectAll => ServicesVSResources.Select_All; 31public string DeselectAll => ServicesVSResources.Deselect_All; 32public string OK => ServicesVSResources.OK; 33public string Cancel => ServicesVSResources.Cancel;
PickMembers\PickMembersDialogViewModel.cs (2)
109return string.Format(ServicesVSResources.Move_0_above_1, MemberContainers[SelectedIndex.Value].SymbolAutomationText, MemberContainers[SelectedIndex.Value - 1].SymbolAutomationText); 122return string.Format(ServicesVSResources.Move_0_below_1, MemberContainers[SelectedIndex.Value].SymbolAutomationText, MemberContainers[SelectedIndex.Value + 1].SymbolAutomationText);
Preview\FileChange.cs (2)
149pbstrText = ServicesVSResources.bracket_plus_bracket + _right.Name; 153pbstrText = ServicesVSResources.bracket_bracket + _left.Name;
Preview\PreviewEngine.cs (1)
307ppszText = ServicesVSResources.No_Changes;
Preview\ReferenceChange.AnalyzerReferenceChange.cs (2)
32var display = _reference.Display ?? ServicesVSResources.Unknown1; 33return string.Format(ServicesVSResources.Analyzer_reference_to_0_in_project_1, display, this.ProjectName);
Preview\ReferenceChange.cs (2)
88pbstrText = ServicesVSResources.bracket_plus_bracket + displayText; 92pbstrText = ServicesVSResources.bracket_bracket + displayText;
Preview\ReferenceChange.MetadataReferenceChange.cs (2)
31var display = _reference.Display ?? ServicesVSResources.Unknown1; 32return string.Format(ServicesVSResources.Reference_to_0_in_project_1, display, this.ProjectName);
Preview\ReferenceChange.ProjectReferenceChange.cs (1)
32=> string.Format(ServicesVSResources.Project_reference_to_0_in_project_1, _projectReferenceName, this.ProjectName);
PreviewPane\PreviewPane.xaml.cs (2)
113public string AutomationName => ServicesVSResources.Preview_pane; 243LearnMoreHyperlink.Inlines.Add(string.Format(ServicesVSResources.More_about_0, _id));
Progression\GraphNodeCreation.cs (1)
58throw new ArgumentException(string.Format(ServicesVSResources.Can_t_create_a_node_id_for_this_symbol_kind_colon_0, symbol));
Progression\GraphProvider.cs (4)
347new("Overrides", ServicesVSResources.Overrides_, GraphContextDirection.Target, 700); 350new("OverriddenBy", ServicesVSResources.Overridden_By, GraphContextDirection.Source, 700); 353new("Implements", ServicesVSResources.Implements_, GraphContextDirection.Target, 600); 356new("ImplementedBy", ServicesVSResources.Implemented_By, GraphContextDirection.Source, 600);
ProjectSystem\VisualStudioWorkspaceImpl.cs (6)
307throw new ArgumentException(ServicesVSResources.The_given_DocumentId_did_not_come_from_the_Visual_Studio_workspace, nameof(documentId)); 326throw new InvalidOperationException(ServicesVSResources.VisualStudioWorkspace_TryApplyChanges_cannot_be_called_from_a_background_thread); 460throw new ArgumentException(string.Format(ServicesVSResources.Could_not_find_project_0, projectId)); 890throw new Exception(ServicesVSResources.Could_not_find_location_of_folder_on_disk); 911throw new Exception(ServicesVSResources.Could_not_find_location_of_folder_on_disk); 1031throw new InvalidOperationException(ServicesVSResources.This_workspace_only_supports_opening_documents_on_the_UI_thread);
ProjectSystem\VisualStudioWorkspaceImpl.RenameDocumentUndoUnit.cs (1)
41=> pBstr = string.Format(ServicesVSResources.Rename_0_to_1, _fromName, _toName);
PullMemberUp\MainDialog\BaseTypeTreeNodeViewModel.cs (1)
34public string Namespace => string.Format(ServicesVSResources.Namespace_0, Symbol.ContainingNamespace?.ToDisplayString() ?? "global");
PullMemberUp\MainDialog\PullMemberUpDialog.xaml.cs (6)
24public string OK => ServicesVSResources.OK; 25public string Cancel => ServicesVSResources.Cancel; 26public string PullMembersUpTitle => ServicesVSResources.Pull_Members_Up; 27public string SelectMembers => ServicesVSResources.Select_members_colon; 28public string SelectDestination => ServicesVSResources.Select_destination_colon; 29public string Description => ServicesVSResources.Select_destination_and_members_to_pull_up;
PullMemberUp\MainDialog\PullMemberUpDialogViewModel.cs (3)
24public string SelectAllCheckBoxAutomationText => ServicesVSResources.Select_All; 25public string DestinationTreeViewAutomationText => ServicesVSResources.Select_destination; 26public string SelectMemberListViewAutomationText => ServicesVSResources.Select_member;
PullMemberUp\WarningDialog\PullMemberUpWarningDialog.xaml.cs (4)
18public string Back => ServicesVSResources.Back; 19public string Finish => ServicesVSResources.Finish; 20public string WarningDialogTitle => ServicesVSResources.Review_Changes; 21public string Description => ServicesVSResources.Additional_changes_are_needed_to_complete_the_refactoring_Review_changes_below;
PullMemberUp\WarningDialog\PullMemberUpWarningViewModel.cs (4)
18public string ProblemsListViewAutomationText => ServicesVSResources.Review_Changes; 31warningMessagesBuilder.Add(string.Format(ServicesVSResources._0_will_be_changed_to_abstract, options.Destination.Name)); 39warningMessagesBuilder.Add(string.Format(ServicesVSResources._0_will_be_changed_to_public, result.Member.Name)); 45warningMessagesBuilder.Add(string.Format(ServicesVSResources._0_will_be_changed_to_non_static, result.Member.Name));
Snippets\AbstractSnippetExpansionClient.cs (1)
1113string.Format(ServicesVSResources.The_following_references_were_not_found_0_Please_locate_and_add_them_manually, Environment.NewLine)
StackTraceExplorer\StackTraceExplorerRoot.xaml.cs (3)
28public string CloseTab => ServicesVSResources.Close_tab; 29public string Clear_Text => ServicesVSResources.Clear; 30public string StackTrace => ServicesVSResources.Stack_Trace;
StackTraceExplorer\StackTraceExplorerTab.cs (2)
19public string Header => string.Format(ServicesVSResources.Stack_trace_0, NameIndex); 20public string CloseTab => ServicesVSResources.Close_tab;
StackTraceExplorer\StackTraceExplorerToolWindow.cs (1)
42Caption = ServicesVSResources.Stack_Trace_Explorer;
StackTraceExplorer\StackTraceExplorerViewModel.cs (2)
52public string InstructionText => ServicesVSResources.Paste_valid_stack_trace; 53public string StackTrace => ServicesVSResources.Stack_Trace;
SyncNamespaces\SyncNamespacesCommandHandler.cs (6)
139var status = _threadOperationExecutor.Execute(ServicesVSResources.Sync_Namespaces, ServicesVSResources.Updating_namspaces, allowCancellation: true, showProgress: true, (operationContext) => 152description: ServicesVSResources.Sync_Namespaces, 153topLevelName: ServicesVSResources.Sync_namespaces_changes, 167MessageDialog.Show(ServicesVSResources.Sync_Namespaces, ServicesVSResources.No_namespaces_needed_updating, MessageDialogCommandSet.Ok);
TableDataSource\Suppression\VisualStudioDiagnosticListTableCommandHandler.cs (4)
199title: ServicesVSResources.Updating_severity, 200defaultDescription: ServicesVSResources.Updating_severity, 206using var scope = context.AddScope(allowCancellation: true, ServicesVSResources.Updating_severity); 212title: ServicesVSResources.Updating_severity,
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (6)
207=> isAddSuppression ? ServicesVSResources.Suppress_diagnostics : ServicesVSResources.Remove_suppressions; 210=> isAddSuppression ? ServicesVSResources.Computing_suppressions_fix : ServicesVSResources.Computing_remove_suppressions_fix; 390waitDialogMessage = isAddSuppression ? ServicesVSResources.Applying_suppressions_fix : ServicesVSResources.Applying_remove_suppressions_fix;
TableDataSource\TableItem.cs (1)
41projectName = (projectId == null) ? null : workspace.CurrentSolution.GetProject(projectId)?.Name ?? ServicesVSResources.Unknown2;
TableDataSource\TaskList\VisualStudioTaskListTable.cs (1)
92public override string DisplayName => ServicesVSResources.CSharp_VB_Todo_List_Table_Data_Source;
TableDataSource\VisualStudioBaseDiagnosticListTable.LiveTableDataSource.cs (1)
82public override string DisplayName => ServicesVSResources.CSharp_VB_Diagnostics_Table_Data_Source;
TableDataSource\VisualStudioDiagnosticListTable.BuildTableDataSource.cs (1)
80public override string DisplayName => ServicesVSResources.CSharp_VB_Build_Table_Data_Source;
TaskList\ProjectExternalErrorReporter.cs (2)
214throw new ArgumentException(ServicesVSResources.End_position_must_be_start_position); 222_ => throw new ArgumentException(ServicesVSResources.Not_a_valid_value, nameof(nPriority))
UnusedReferences\Dialog\RemoveUnusedReferencesDialog.xaml.cs (4)
20public string RemoveUnusedReferences => ServicesVSResources.Remove_Unused_References; 21public string HelpText => ServicesVSResources.Choose_which_action_you_would_like_to_perform_on_the_unused_references; 22public string Apply => ServicesVSResources.Apply; 23public string Cancel => ServicesVSResources.Cancel;
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (10)
239ReferenceType.Package => ServicesVSResources.Packages, 240ReferenceType.Project => ServicesVSResources.Projects, 241ReferenceType.Assembly => ServicesVSResources.Assemblies, 258public override string DisplayName => ServicesVSResources.Reference; 299public override string DisplayName => ServicesVSResources.Action; 309ItemsSource = new[] { ServicesVSResources.Keep, ServicesVSResources.Remove } 312combobox.SetValue(AutomationProperties.NameProperty, ServicesVSResources.Action); 318UpdateAction.Remove => ServicesVSResources.Remove, 319_ => ServicesVSResources.Keep
UnusedReferences\RemoveUnusedReferencesCommandHandler.cs (8)
115var status = _threadOperationExecutor.Execute(ServicesVSResources.Remove_Unused_References, ServicesVSResources.Analyzing_project_references, allowCancellation: true, showProgress: true, (operationContext) => 129MessageDialog.Show(ServicesVSResources.Remove_Unused_References, ServicesVSResources.No_unused_references_were_found, MessageDialogCommandSet.Ok); 152var result = MessageDialog.Show(ServicesVSResources.Remove_Unused_References, ServicesVSResources.This_action_cannot_be_undone_Do_you_wish_to_continue, MessageDialogCommandSet.YesNo); 158_threadOperationExecutor.Execute(ServicesVSResources.Remove_Unused_References, ServicesVSResources.Updating_project_references, allowCancellation: false, showProgress: true, (operationContext) =>
Utilities\MemberSymbolViewModel.cs (2)
20public string MakeAbstractCheckBoxAutomationText => string.Format(ServicesVSResources.Make_0_abstract, Symbol.Name); 21public string RowSelectionAutomationText => ServicesVSResources.Select_member;
ValueTracking\ComputingTreeViewItem.cs (1)
12public string Text => ServicesVSResources.Calculating;
ValueTracking\ValueTrackedTreeItemViewModel.cs (2)
177ServicesVSResources.Value_Tracking, ServicesVSResources.Navigating, allowCancellation: true, showProgress: false);
ValueTracking\ValueTrackingRoot.xaml.cs (1)
27public string EmptyText => ServicesVSResources.Select_an_appropriate_symbol_to_start_value_tracking;
ValueTracking\ValueTrackingToolWindow.cs (1)
61Caption = ServicesVSResources.Value_Tracking;
ValueTracking\ValueTrackingTreeViewModel.cs (1)
30public string AutomationName => ServicesVSResources.Value_Tracking;
Venus\ContainedLanguageCodeSupport.cs (6)
106throw new InvalidOperationException(ServicesVSResources.Event_type_is_invalid); 181throw new InvalidOperationException(ServicesVSResources.Event_type_is_invalid); 218throw new InvalidOperationException(ServicesVSResources.Can_t_find_where_to_insert_member); 444throw new NotSupportedException(ServicesVSResources.Can_t_rename_other_elements); 447throw new InvalidOperationException(ServicesVSResources.Unknown_rename_type); 463throw new NotSupportedException(ServicesVSResources.IDs_are_not_supported_for_this_symbol_type);
Workspace\GlobalUndoServiceFactory.cs (1)
69throw new ArgumentException(ServicesVSResources.given_workspace_doesn_t_support_undo);
Workspace\SourceGeneratedFileManager.cs (5)
334windowFrameMessageToShow = string.Format(ServicesVSResources.This_file_is_autogenerated_by_0_and_cannot_be_edited, GeneratorDisplayName); 343windowFrameMessageToShow = string.Format(ServicesVSResources.The_generator_0_that_generated_this_file_has_stopped_generating_this_file, GeneratorDisplayName); 348windowFrameMessageToShow = string.Format(ServicesVSResources.The_generator_0_that_generated_this_file_has_been_removed_from_the_project, GeneratorDisplayName); 450windowFrame.SetProperty((int)__VSFPROPID5.VSFPROPID_OverrideCaption, _documentIdentity.HintName + " " + ServicesVSResources.generated_suffix); 451windowFrame.SetProperty((int)__VSFPROPID5.VSFPROPID_OverrideToolTip, _documentIdentity.HintName + " " + string.Format(ServicesVSResources.generated_by_0_suffix, GeneratorDisplayName));
Workspace\VisualStudioAddMetadataReferenceCodeActionOperationFactoryWorkspaceService.cs (1)
82=> string.Format(ServicesVSResources.Add_a_reference_to_0, _assemblyIdentity.GetDisplayName());
Microsoft.VisualStudio.LanguageServices.CSharp (327)
EditorConfigSettings\DataProvider\CodeStyle\CSharpCodeStyleSettingsProvider.cs (28)
86yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferStaticLocalFunction, ServicesVSResources.Prefer_static_local_functions, options, updater); 87yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferReadOnlyStruct, ServicesVSResources.Prefer_read_only_struct, options, updater); 88yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferReadOnlyStructMember, ServicesVSResources.Prefer_read_only_struct_member, options, updater); 93yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferSimpleUsingStatement, ServicesVSResources.Prefer_simple_using_statement, options, updater); 94yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferBraces, ServicesVSResources.Prefer_braces, options, updater, 96valueDescriptions: new[] { ServicesVSResources.Yes, ServicesVSResources.No, CSharpVSResources.When_on_multiple_lines }); 98yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.NamespaceDeclarations, ServicesVSResources.Namespace_declarations, options, updater, 102yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferMethodGroupConversion, ServicesVSResources.Prefer_method_group_conversion, options, updater); 103yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferTopLevelStatements, ServicesVSResources.Prefer_top_level_statements, options, updater); 109yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferSimpleDefaultExpression, ServicesVSResources.Prefer_simple_default_expression, options, updater); 110yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferLocalOverAnonymousFunction, ServicesVSResources.Prefer_local_function_over_anonymous_function, options, updater); 111yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferIndexOperator, ServicesVSResources.Prefer_index_operator, options, updater); 112yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferRangeOperator, ServicesVSResources.Prefer_range_operator, options, updater); 114yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferTupleSwap, ServicesVSResources.Prefer_tuple_swap, options, updater); 115yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferUtf8StringLiterals, ServicesVSResources.Prefer_Utf8_string_literals, options, updater); 129yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferInlinedVariableDeclaration, ServicesVSResources.Prefer_inlined_variable_declaration, options, updater); 130yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferDeconstructedVariableDeclaration, ServicesVSResources.Prefer_deconstructed_variable_declaration, options, updater); 138yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedMethods, ServicesVSResources.Use_expression_body_for_methods, options, updater, enumValues, valueDescriptions); 139yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedConstructors, ServicesVSResources.Use_expression_body_for_constructors, options, updater, enumValues, valueDescriptions); 140yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedOperators, ServicesVSResources.Use_expression_body_for_operators, options, updater, enumValues, valueDescriptions); 141yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedProperties, ServicesVSResources.Use_expression_body_for_properties, options, updater, enumValues, valueDescriptions); 142yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedIndexers, ServicesVSResources.Use_expression_body_for_indexers, options, updater, enumValues, valueDescriptions); 143yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedAccessors, ServicesVSResources.Use_expression_body_for_accessors, options, updater, enumValues, valueDescriptions); 144yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedLambdas, ServicesVSResources.Use_expression_body_for_lambdas, options, updater, enumValues, valueDescriptions); 145yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.PreferExpressionBodiedLocalFunctions, ServicesVSResources.Use_expression_body_for_local_functions, options, updater, enumValues, valueDescriptions); 153yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.UnusedValueAssignment, ServicesVSResources.Avoid_unused_value_assignments, options, updater, enumValues, valueDescriptions); 154yield return CodeStyleSetting.Create(CSharpCodeStyleOptions.UnusedValueExpressionStatement, ServicesVSResources.Avoid_expression_statements_that_implicitly_ignore_value, options, updater, enumValues, valueDescriptions);
Options\AdvancedOptionPageStrings.cs (91)
13=> ServicesVSResources.Analysis; 16=> ServicesVSResources.Run_background_code_analysis_for_colon; 19=> ServicesVSResources.None; 22=> ServicesVSResources.Current_document; 25=> ServicesVSResources.Open_documents; 28=> ServicesVSResources.Entire_solution; 43=> ServicesVSResources.Show_compiler_errors_and_warnings_for_colon; 46=> ServicesVSResources.None; 49=> ServicesVSResources.Current_document; // We show "Current document" to users for consistency with term used elsewhere. 52=> ServicesVSResources.Open_documents; 55=> ServicesVSResources.Entire_solution; 70=> ServicesVSResources.Enable_navigation_to_decompiled_sources; 73=> ServicesVSResources.Enable_navigation_to_sourcelink_and_embedded_sources; 76=> ServicesVSResources.Always_use_default_symbol_servers_for_navigation; 79=> ServicesVSResources.Enable_pull_diagnostics_experimental_requires_restart; 82=> ServicesVSResources.Enable_Razor_pull_diagnostics_experimental_requires_restart; 85=> ServicesVSResources.Run_code_analysis_in_separate_process_requires_restart; 88=> ServicesVSResources.Analyze_source_generated_files; 91=> ServicesVSResources.Inline_Hints; 94=> ServicesVSResources.Display_all_hints_while_pressing_Alt_F1; 97=> ServicesVSResources.Color_hints; 100=> ServicesVSResources.Display_inline_parameter_name_hints; 103=> ServicesVSResources.Show_hints_for_literals; 109=> ServicesVSResources.Show_hints_for_everything_else; 112=> ServicesVSResources.Show_hints_for_indexers; 115=> ServicesVSResources.Suppress_hints_when_parameter_name_matches_the_method_s_intent; 118=> ServicesVSResources.Suppress_hints_when_parameter_names_differ_only_by_suffix; 121=> ServicesVSResources.Suppress_hints_when_argument_matches_parameter_name; 124=> ServicesVSResources.Display_inline_type_hints; 127=> ServicesVSResources.Show_hints_for_variables_with_inferred_types; 130=> ServicesVSResources.Show_hints_for_lambda_parameter_types; 133=> ServicesVSResources.Show_hints_for_implicit_object_creation; 136=> ServicesVSResources.Display_diagnostics_inline_experimental; 139=> ServicesVSResources.at_the_end_of_the_line_of_code; 142=> ServicesVSResources.on_the_right_edge_of_the_editor_window; 154=> ServicesVSResources.Underline_reassigned_variables; 175=> ServicesVSResources.Implement_Interface_or_Abstract_Class; 178=> ServicesVSResources.When_inserting_properties_events_and_methods_place_them; 181=> ServicesVSResources.with_other_members_of_the_same_kind; 184=> ServicesVSResources.at_the_end; 187=> ServicesVSResources.When_generating_properties; 190=> ServicesVSResources.codegen_prefer_auto_properties; 193=> ServicesVSResources.prefer_throwing_properties; 196=> ServicesVSResources.Comments; 226=> ServicesVSResources.Quick_Actions; 229=> ServicesVSResources.Compute_Quick_Actions_asynchronously_experimental; 232=> ServicesVSResources.Outlining; 235=> ServicesVSResources.Collapse_regions_on_file_open; 241=> ServicesVSResources.Collapse_sourcelink_embedded_decompiled_files_on_open; 244=> ServicesVSResources.Collapse_metadata_signature_files_on_open; 247=> ServicesVSResources.Show_outlining_for_declaration_level_constructs; 250=> ServicesVSResources.Show_outlining_for_code_level_constructs; 253=> ServicesVSResources.Show_outlining_for_comments_and_preprocessor_regions; 256=> ServicesVSResources.Collapse_regions_when_collapsing_to_definitions; 259=> ServicesVSResources.Block_Structure_Guides; 262=> ServicesVSResources.Show_guides_for_declaration_level_constructs; 265=> ServicesVSResources.Show_guides_for_code_level_constructs; 268=> ServicesVSResources.Fading; 274=> ServicesVSResources.Fade_out_unreachable_code; 301=> ServicesVSResources.Regular_Expressions; 304=> ServicesVSResources.Colorize_regular_expressions; 307=> ServicesVSResources.Report_invalid_regular_expressions; 310=> ServicesVSResources.Highlight_related_components_under_cursor; 313=> ServicesVSResources.Show_completion_list; 316=> ServicesVSResources.Editor_Color_Scheme; 319=> ServicesVSResources.Editor_color_scheme_options_are_only_available_when_using_a_color_theme_bundled_with_Visual_Studio_The_color_theme_can_be_configured_from_the_Environment_General_options_page; 322=> ServicesVSResources.Some_color_scheme_colors_are_being_overridden_by_changes_made_in_the_Environment_Fonts_and_Colors_options_page_Choose_Use_Defaults_in_the_Fonts_and_Colors_page_to_revert_all_customizations; 325=> ServicesVSResources.Editor_Color_Scheme; 328=> ServicesVSResources.Visual_Studio_2019; 331=> ServicesVSResources.Visual_Studio_2017; 340=> ServicesVSResources.Show_Remove_Unused_References_command_in_Solution_Explorer_experimental; 343=> ServicesVSResources.Enable_all_features_in_opened_files_from_source_generators_experimental; 346=> ServicesVSResources.Enable_file_logging_for_diagnostics; 349=> ServicesVSResources.Skip_analyzers_for_implicitly_triggered_builds; 352=> ServicesVSResources.Show_inheritance_margin; 355=> ServicesVSResources.Combine_inheritance_margin_with_indicator_margin; 358=> ServicesVSResources.Include_global_imports; 361=> ServicesVSResources.JSON_strings; 364=> ServicesVSResources.Colorize_JSON_strings; 367=> ServicesVSResources.Report_invalid_JSON_strings; 370=> ServicesVSResources.Inheritance_Margin; 373=> ServicesVSResources.Stack_Trace_Explorer; 376=> ServicesVSResources.Automatically_open_stack_trace_explorer_on_focus; 379=> ServicesVSResources.Fix_text_pasted_into_string_literals_experimental; 382=> ServicesVSResources.Go_To_Definition; 385=> ServicesVSResources.Navigate_asynchronously_exerimental; 388=> ServicesVSResources.Rename; 391=> ServicesVSResources.Rename_asynchronously_experimental; 394=> ServicesVSResources.Where_should_the_rename_UI_be_shown; 397=> ServicesVSResources.Show_UI_inline; 400=> ServicesVSResources.Show_UI_as_dashboard_in_top_right;
Options\Formatting\StyleViewModel.cs (206)
172int x = 5; // {ServicesVSResources.built_in_types} 183var x = 5; // {ServicesVSResources.built_in_types} 194C cobj = new C(); // {ServicesVSResources.type_is_apparent_from_assignment_expression} 205var cobj = new C(); // {ServicesVSResources.type_is_apparent_from_assignment_expression} 216Action f = this.Init(); // {ServicesVSResources.everywhere_else} 227var f = this.Init(); // {ServicesVSResources.everywhere_else} 242// {ServicesVSResources.Prefer_colon} 249// {ServicesVSResources.Over_colon} 271// {ServicesVSResources.Prefer_colon} 278// {ServicesVSResources.Over_colon} 279var v = x != null ? x : y; // {ServicesVSResources.or} 296// {ServicesVSResources.Prefer_colon} 303// {ServicesVSResources.Over_colon} 321// {ServicesVSResources.Prefer_colon} 328// {ServicesVSResources.Over_colon} 329var v = o == null ? null : o.ToString(); // {ServicesVSResources.or} 342// {ServicesVSResources.Prefer_colon} 353// {ServicesVSResources.Over_colon} 372// {ServicesVSResources.Prefer_colon} 379// {ServicesVSResources.Over_colon} 392// {ServicesVSResources.Prefer_colon} 401// {ServicesVSResources.Over_colon} 417// {ServicesVSResources.Prefer_colon} 426// {ServicesVSResources.Over_colon} 441// {ServicesVSResources.Prefer_colon} 444// {ServicesVSResources.Over_colon} 465// {ServicesVSResources.Prefer_colon} 468// {ServicesVSResources.Over_colon} 488// {ServicesVSResources.Prefer_colon} 497// {ServicesVSResources.Over_colon} 517// {ServicesVSResources.Prefer_colon} 527// {ServicesVSResources.Over_colon} 545// {ServicesVSResources.Prefer_colon} 557// {ServicesVSResources.Over_colon} 573// {ServicesVSResources.Prefer_colon} 582// {ServicesVSResources.Over_colon} 597// {ServicesVSResources.Prefer_colon} 604// {ServicesVSResources.Over_colon} 621// {ServicesVSResources.Prefer_colon} 629// {ServicesVSResources.Over_colon} 644// {ServicesVSResources.Prefer_colon} 651// {ServicesVSResources.Over_colon} 666// {ServicesVSResources.Prefer_colon} 673// {ServicesVSResources.Over_colon} 688// {ServicesVSResources.Prefer_colon} 697// {ServicesVSResources.Over_colon} 715// {ServicesVSResources.Prefer_colon} 726// {ServicesVSResources.Over_colon} 747// {ServicesVSResources.Allow_colon} 750// {ServicesVSResources.Allow_colon} 754// {ServicesVSResources.Allow_colon} 759// {ServicesVSResources.Allow_colon} 780// {ServicesVSResources.Allow_colon} 783// {ServicesVSResources.Allow_colon} 787// {ServicesVSResources.Prefer_colon} 798// {ServicesVSResources.Over_colon} 817// {ServicesVSResources.Prefer_colon} 827// {ServicesVSResources.Over_colon} 841// {ServicesVSResources.Prefer_colon} 848// {ServicesVSResources.Over_colon} 864// {ServicesVSResources.Prefer_colon} 872// {ServicesVSResources.Over_colon} 884// {ServicesVSResources.Prefer_colon} 893// {ServicesVSResources.Over_colon} 908// {ServicesVSResources.Prefer_colon} 919// {ServicesVSResources.Over_colon} 938// {ServicesVSResources.Prefer_colon} 939// {ServicesVSResources.Requires_System_HashCode_be_present_in_project} 950// {ServicesVSResources.Over_colon} 971// {ServicesVSResources.Prefer_colon} 981// {ServicesVSResources.Over_colon} 992// {ServicesVSResources.Prefer_colon} 997// {ServicesVSResources.Over_colon} 1012// {ServicesVSResources.Prefer_colon} 1023// {ServicesVSResources.Over_colon} 1036// {ServicesVSResources.Prefer_colon} 1046// {ServicesVSResources.Over_colon} 1064// {ServicesVSResources.Prefer_colon} 1071// {ServicesVSResources.Over_colon} 1085// {ServicesVSResources.Prefer_colon} 1088// {ServicesVSResources.Over_colon} 1102// {ServicesVSResources.Prefer_colon} 1109// {ServicesVSResources.Over_colon} 1124// {ServicesVSResources.Prefer_colon} 1131// {ServicesVSResources.Over_colon} 1146// {ServicesVSResources.Prefer_colon} 1153// {ServicesVSResources.Over_colon} 1170// {ServicesVSResources.Prefer_colon} 1181// {ServicesVSResources.Over_colon} 1200// {ServicesVSResources.Prefer_colon} 1211// {ServicesVSResources.Over_colon} 1463// {ServicesVSResources.Prefer_colon} 1471// {ServicesVSResources.Over_colon} 1507// {ServicesVSResources.Prefer_colon} 1514// {ServicesVSResources.Over_colon} 1528// {ServicesVSResources.Prefer_colon} 1541// {ServicesVSResources.Over_colon} 1561// {ServicesVSResources.Allow_colon} 1575// {ServicesVSResources.Require_colon} 1587// {ServicesVSResources.Over_colon} 1599// {ServicesVSResources.Allow_colon} 1616// {ServicesVSResources.Require_colon} 1629// {ServicesVSResources.Over_colon} 1648// {ServicesVSResources.Allow_colon} 1667// {ServicesVSResources.Require_colon} 1682// {ServicesVSResources.Over_colon} 1701// {ServicesVSResources.Allow_colon} 1718// {ServicesVSResources.Require_colon} 1733// {ServicesVSResources.Over_colon} 1748// {ServicesVSResources.Allow_colon} 1763// {ServicesVSResources.Require_colon} 1776// {ServicesVSResources.Over_colon} 1790// {ServicesVSResources.Allow_colon} 1807// {ServicesVSResources.Require_colon} 1822// {ServicesVSResources.Over_colon} 1838// {ServicesVSResources.Allow_colon} 1851// {ServicesVSResources.Require_colon} 1862// {ServicesVSResources.Over_colon} 1880// {ServicesVSResources.Prefer_colon} 1883// {ServicesVSResources.Over_colon} 1896// {ServicesVSResources.Prefer_colon} 1899// {ServicesVSResources.Over_colon} 1916// {ServicesVSResources.Prefer_colon} 1919// {ServicesVSResources.Over_colon} 1932// {ServicesVSResources.Prefer_colon} 1935// {ServicesVSResources.Over_colon} 1952// {ServicesVSResources.Prefer_colon} 1955// {ServicesVSResources.Over_colon} 1968// {ServicesVSResources.Prefer_colon} 1971// {ServicesVSResources.Over_colon} 1988// {ServicesVSResources.Keep_all_parentheses_in_colon} 2001// {ServicesVSResources.Prefer_colon} 2004// {ServicesVSResources.Over_colon} 2019// {ServicesVSResources.Prefer_colon} 2028// {ServicesVSResources.Over_colon} 2040// {ServicesVSResources.Prefer_colon} 2049// {ServicesVSResources.Over_colon} 2066// {ServicesVSResources.Prefer_colon} 2067int unused = Computation(); // {ServicesVSResources.Unused_value_is_explicitly_assigned_to_an_unused_local} 2080// {ServicesVSResources.Over_colon} 2081int x = Computation(); // {ServicesVSResources.Value_assigned_here_is_never_used} 2097// {ServicesVSResources.Prefer_colon} 2098_ = Computation(); // {ServicesVSResources.Unused_value_is_explicitly_assigned_to_discard} 2111// {ServicesVSResources.Over_colon} 2112int x = Computation(); // {ServicesVSResources.Value_assigned_here_is_never_used} 2128// {ServicesVSResources.Prefer_colon} 2129int unused = Computation(); // {ServicesVSResources.Unused_value_is_explicitly_assigned_to_an_unused_local} 2140// {ServicesVSResources.Over_colon} 2141Computation(); // {ServicesVSResources.Value_returned_by_invocation_is_implicitly_ignored} 2155// {ServicesVSResources.Prefer_colon} 2156_ = Computation(); // {ServicesVSResources.Unused_value_is_explicitly_assigned_to_discard} 2167// {ServicesVSResources.Over_colon} 2168Computation(); // {ServicesVSResources.Value_returned_by_invocation_is_implicitly_ignored} 2188var modifierGroupTitle = ServicesVSResources.Modifier_preferences_colon; 2189var codeBlockPreferencesGroupTitle = ServicesVSResources.Code_block_preferences_colon; 2190var expressionPreferencesGroupTitle = ServicesVSResources.Expression_preferences_colon; 2192var variablePreferencesGroupTitle = ServicesVSResources.Variable_preferences_colon; 2193var parameterPreferencesGroupTitle = ServicesVSResources.Parameter_preferences_colon; 2194var newLinePreferencesGroupTitle = ServicesVSResources.New_line_preferences_experimental_colon; 2210new CodeStylePreference(ServicesVSResources.Prefer_predefined_type, isChecked: true), 2211new CodeStylePreference(ServicesVSResources.Prefer_framework_type, isChecked: false), 2225CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, ServicesVSResources.For_locals_parameters_and_members, s_intrinsicPreviewDeclarationTrue, s_intrinsicPreviewDeclarationFalse, this, optionStore, predefinedTypesGroupTitle, predefinedTypesPreferences)); 2226CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, ServicesVSResources.For_member_access_expressions, s_intrinsicPreviewMemberAccessTrue, s_intrinsicPreviewMemberAccessFalse, this, optionStore, predefinedTypesGroupTitle, predefinedTypesPreferences)); 2236CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferAutoProperties, ServicesVSResources.analyzer_Prefer_auto_properties, s_preferAutoProperties, s_preferAutoProperties, this, optionStore, codeBlockPreferencesGroupTitle)); 2237CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferSimpleUsingStatement, ServicesVSResources.Prefer_simple_using_statement, s_preferSimpleUsingStatement, s_preferSimpleUsingStatement, this, optionStore, codeBlockPreferencesGroupTitle)); 2238CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferSystemHashCode, ServicesVSResources.Prefer_System_HashCode_in_GetHashCode, s_preferSystemHashCode, s_preferSystemHashCode, this, optionStore, codeBlockPreferencesGroupTitle)); 2239CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferMethodGroupConversion, ServicesVSResources.Prefer_method_group_conversion, s_preferMethodGroupConversion, s_preferMethodGroupConversion, this, optionStore, codeBlockPreferencesGroupTitle)); 2240CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferTopLevelStatements, ServicesVSResources.Prefer_top_level_statements, s_preferTopLevelStatements, s_preferProgramMain, this, optionStore, codeBlockPreferencesGroupTitle)); 2245CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferObjectInitializer, ServicesVSResources.Prefer_object_initializer, s_preferObjectInitializer, s_preferObjectInitializer, this, optionStore, expressionPreferencesGroupTitle)); 2246CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferCollectionInitializer, ServicesVSResources.Prefer_collection_initializer, s_preferCollectionInitializer, s_preferCollectionInitializer, this, optionStore, expressionPreferencesGroupTitle)); 2247CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferSimplifiedBooleanExpressions, ServicesVSResources.Prefer_simplified_boolean_expressions, s_preferSimplifiedConditionalExpression, s_preferSimplifiedConditionalExpression, this, optionStore, expressionPreferencesGroupTitle)); 2249CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferConditionalExpressionOverAssignment, ServicesVSResources.Prefer_conditional_expression_over_if_with_assignments, s_preferConditionalExpressionOverIfWithAssignments, s_preferConditionalExpressionOverIfWithAssignments, this, optionStore, expressionPreferencesGroupTitle)); 2250CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferConditionalExpressionOverReturn, ServicesVSResources.Prefer_conditional_expression_over_if_with_returns, s_preferConditionalExpressionOverIfWithReturns, s_preferConditionalExpressionOverIfWithReturns, this, optionStore, expressionPreferencesGroupTitle)); 2251CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferExplicitTupleNames, ServicesVSResources.Prefer_explicit_tuple_name, s_preferExplicitTupleName, s_preferExplicitTupleName, this, optionStore, expressionPreferencesGroupTitle)); 2252CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferSimpleDefaultExpression, ServicesVSResources.Prefer_simple_default_expression, s_preferSimpleDefaultExpression, s_preferSimpleDefaultExpression, this, optionStore, expressionPreferencesGroupTitle)); 2253CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferInferredTupleNames, ServicesVSResources.Prefer_inferred_tuple_names, s_preferInferredTupleName, s_preferInferredTupleName, this, optionStore, expressionPreferencesGroupTitle)); 2254CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferInferredAnonymousTypeMemberNames, ServicesVSResources.Prefer_inferred_anonymous_type_member_names, s_preferInferredAnonymousTypeMemberName, s_preferInferredAnonymousTypeMemberName, this, optionStore, expressionPreferencesGroupTitle)); 2255CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferLocalOverAnonymousFunction, ServicesVSResources.Prefer_local_function_over_anonymous_function, s_preferLocalFunctionOverAnonymousFunction, s_preferLocalFunctionOverAnonymousFunction, this, optionStore, expressionPreferencesGroupTitle)); 2256CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferCompoundAssignment, ServicesVSResources.Prefer_compound_assignments, s_preferCompoundAssignments, s_preferCompoundAssignments, this, optionStore, expressionPreferencesGroupTitle)); 2259CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferIndexOperator, ServicesVSResources.Prefer_index_operator, s_preferIndexOperator, s_preferIndexOperator, this, optionStore, expressionPreferencesGroupTitle)); 2260CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferRangeOperator, ServicesVSResources.Prefer_range_operator, s_preferRangeOperator, s_preferRangeOperator, this, optionStore, expressionPreferencesGroupTitle)); 2262CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferTupleSwap, ServicesVSResources.Prefer_tuple_swap, s_preferTupleSwap, s_preferTupleSwap, this, optionStore, expressionPreferencesGroupTitle)); 2274CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferInlinedVariableDeclaration, ServicesVSResources.Prefer_inlined_variable_declaration, s_preferInlinedVariableDeclaration, s_preferInlinedVariableDeclaration, this, optionStore, variablePreferencesGroupTitle)); 2275CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferDeconstructedVariableDeclaration, ServicesVSResources.Prefer_deconstructed_variable_declaration, s_preferDeconstructedVariableDeclaration, s_preferDeconstructedVariableDeclaration, this, optionStore, variablePreferencesGroupTitle)); 2280CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferCoalesceExpression, ServicesVSResources.Prefer_coalesce_expression, s_preferCoalesceExpression, s_preferCoalesceExpression, this, optionStore, nullCheckingGroupTitle)); 2281CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferNullPropagation, ServicesVSResources.Prefer_null_propagation, s_preferNullPropagation, s_preferNullPropagation, this, optionStore, nullCheckingGroupTitle)); 2292CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferReadonly, ServicesVSResources.Prefer_readonly_fields, s_preferReadonly, s_preferReadonly, this, optionStore, modifierGroupTitle)); 2293CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferReadOnlyStruct, ServicesVSResources.Prefer_read_only_struct, s_preferReadOnlyStruct, s_preferReadOnlyStruct, this, optionStore, modifierGroupTitle)); 2294CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CSharpCodeStyleOptions.PreferStaticLocalFunction, ServicesVSResources.Prefer_static_local_functions, s_preferStaticLocalFunction, s_preferStaticLocalFunction, this, optionStore, modifierGroupTitle)); 2300CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.AllowMultipleBlankLines, ServicesVSResources.Allow_multiple_blank_lines, s_allow_multiple_blank_lines_true, s_allow_multiple_blank_lines_false, this, optionStore, newLinePreferencesGroupTitle)); 2303CodeStyleItems.Add(new BooleanCodeStyleOptionViewModel(CodeStyleOptions2.AllowStatementImmediatelyAfterBlock, ServicesVSResources.Allow_statement_immediately_after_block, s_allow_statement_immediately_after_block_true, s_allow_statement_immediately_after_block_false, this, optionStore, newLinePreferencesGroupTitle)); 2331ServicesVSResources.In_other_operators, 2340new CodeStylePreference(ServicesVSResources.Yes, isChecked: false), 2341new CodeStylePreference(ServicesVSResources.No, isChecked: false), 2349ServicesVSResources.Prefer_braces, 2367ServicesVSResources.Namespace_declarations, 2386ServicesVSResources.Use_expression_body_for_methods, 2393ServicesVSResources.Use_expression_body_for_constructors, 2400ServicesVSResources.Use_expression_body_for_operators, 2407ServicesVSResources.Use_expression_body_for_properties, 2414ServicesVSResources.Use_expression_body_for_indexers, 2421ServicesVSResources.Use_expression_body_for_accessors, 2428ServicesVSResources.Use_expression_body_for_lambdas, 2435ServicesVSResources.Use_expression_body_for_local_functions, 2457ServicesVSResources.Avoid_unused_value_assignments, 2467ServicesVSResources.Avoid_expression_statements_that_implicitly_ignore_value,
Options\IntelliSenseOptionPageStrings.cs (1)
76=> ServicesVSResources.Tab_twice_to_insert_arguments;
Options\NamingStylesOptionPage.cs (1)
39_notificationService.SendNotification(ServicesVSResources.Some_naming_rules_are_incomplete_Please_complete_or_remove_them);
Microsoft.VisualStudio.LanguageServices.Implementation (105)
CodeModel\AbstractCodeModelService.cs (1)
778throw new ArgumentException(ServicesVSResources.Invalid_access, nameof(access));
CodeModel\FileCodeModel.cs (1)
654throw new ArgumentException(ServicesVSResources.Element_is_not_valid, nameof(element));
CodeModel\InternalElements\AbstractCodeMember.cs (1)
197throw new ArgumentException(ServicesVSResources.Element_is_not_valid, nameof(element));
CodeModel\InternalElements\AbstractCodeType.cs (1)
189throw new ArgumentException(ServicesVSResources.Element_is_not_valid, nameof(element));
CodeModel\InternalElements\CodeNamespace.cs (1)
182throw new ArgumentException(ServicesVSResources.Element_is_not_valid, nameof(element));
Options\AbstractOptionPreviewViewModel.cs (6)
219codeStylePreferences.Add(new CodeStylePreference(ServicesVSResources.Always_for_clarity, isChecked: defaultAddForClarity)); 223ServicesVSResources.Never_if_unnecessary, 228examples, this, optionStore, ServicesVSResources.Parentheses_preferences_colon, 236new CodeStylePreference(ServicesVSResources.Non_public_methods, isChecked: false), 237new CodeStylePreference(ServicesVSResources.All_methods, isChecked: true), 248ServicesVSResources.Avoid_unused_parameters, enumValues,
Options\CodeStyleNoticeTextBlock.xaml.cs (2)
22public static string CodeStylePageHeader => ServicesVSResources.Code_style_header_use_editor_config; 23public static string CodeStylePageHeaderLearnMoreText => ServicesVSResources.Learn_more;
Options\GridOptionPreviewControl.xaml.cs (7)
37public static string CodeStylePageHeader => ServicesVSResources.Code_style_header_use_editor_config; 38public static string CodeStylePageHeaderLearnMoreText => ServicesVSResources.Learn_more; 39public static string DescriptionHeader => ServicesVSResources.Description; 40public static string PreferenceHeader => ServicesVSResources.Preference; 41public static string SeverityHeader => ServicesVSResources.Severity; 42public static string GenerateEditorConfigFileFromSettingsText => ServicesVSResources.Generate_dot_editorconfig_file_from_settings; 123Title = ServicesVSResources.Save_dot_editorconfig_file,
Options\OptionPreviewControl.xaml.cs (1)
41AutomationProperties.SetName(listview, ServicesVSResources.Options);
Options\Style\AbstractCodeStyleOptionViewModel.cs (2)
81new CodeStylePreference(ServicesVSResources.Yes, isChecked: true), 82new CodeStylePreference(ServicesVSResources.No, isChecked: false),
Options\Style\NamingPreferences\ManageNamingStylesInfoDialog.xaml.cs (6)
21public string OK => ServicesVSResources.OK; 22public string Cancel => ServicesVSResources.Cancel; 23public string CannotBeDeletedExplanation => ServicesVSResources.This_item_cannot_be_deleted_because_it_is_used_by_an_existing_Naming_Rule; 24public string AddItemAutomationText => ServicesVSResources.Add_item; 25public string EditButtonAutomationText => ServicesVSResources.Edit_item; 26public string RemoveButtonAutomationText => ServicesVSResources.Remove_item;
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (10)
27public static string ReorderHeader => ServicesVSResources.Reorder; 28public static string SpecificationHeader => ServicesVSResources.Specification; 29public static string RequiredStyleHeader => ServicesVSResources.Required_Style; 30public static string SeverityHeader => ServicesVSResources.Severity; 31public static string ExplanatoryText => ServicesVSResources.For_a_given_symbol_only_the_topmost_rule_with_a_matching_Specification_will_be_applied_Violation_of_that_rules_Required_Style_will_be_reported_at_the_chosen_Severity_level; 32public static string AddRuleAutomationText => ServicesVSResources.Add_a_naming_rule; 33public static string RemoveAutomationText => ServicesVSResources.Remove_naming_rule; 34public static string SymbolSpecificationAutomationText => ServicesVSResources.Symbol_Specification; 35public static string NamingStyleAutomationText => ServicesVSResources.Naming_Style; 36public static string SeverityAutomationText => ServicesVSResources.Severity;
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (7)
22public string ManageSpecificationsButtonText => ServicesVSResources.Manage_specifications; 23public string ManageStylesButtonText => ServicesVSResources.Manage_naming_styles; 33public string CodeStyleMembersAutomationText => ServicesVSResources.Naming_rules; 284public string MoveUpAutomationText => ServicesVSResources.Move_up; 285public string MoveDownAutomationText => ServicesVSResources.Move_down; 287public string RemoveAutomationText => ServicesVSResources.Remove; 293public override string ToString() => ServicesVSResources.Naming_Rule;
Options\Style\NamingPreferences\NamingStyles\ManageNamingStylesDialogViewModel.cs (1)
22public string DialogTitle => ServicesVSResources.Manage_naming_styles;
Options\Style\NamingPreferences\NamingStyles\NamingStyleDialog.xaml.cs (9)
19public string DialogTitle => ServicesVSResources.Naming_Style; 20public string NamingStyleTitleLabelText => ServicesVSResources.Naming_Style_Title_colon; 21public string RequiredPrefixLabelText => ServicesVSResources.Required_Prefix_colon; 22public string RequiredSuffixLabelText => ServicesVSResources.Required_Suffix_colon; 23public string WordSeparatorLabelText => ServicesVSResources.Word_Separator_colon; 24public string CapitalizationLabelText => ServicesVSResources.Capitalization_colon; 25public string SampleIdentifierLabelText => ServicesVSResources.Sample_Identifier_colon; 26public string OK => ServicesVSResources.OK; 27public string Cancel => ServicesVSResources.Cancel;
Options\Style\NamingPreferences\NamingStyles\NamingStyleViewModel.cs (8)
35new CapitalizationDisplay(Capitalization.PascalCase, ServicesVSResources.Pascal_Case_Name), 36new CapitalizationDisplay(Capitalization.CamelCase, ServicesVSResources.camel_Case_Name), 37new CapitalizationDisplay(Capitalization.FirstUpper, ServicesVSResources.First_word_upper), 38new CapitalizationDisplay(Capitalization.AllUpper, ServicesVSResources.ALL_UPPER), 39new CapitalizationDisplay(Capitalization.AllLower, ServicesVSResources.all_lower) 77return _style.NamingStyle.CreateName(ImmutableArray.Create(ServicesVSResources.example, ServicesVSResources.identifier)); 142_notificationService.SendNotification(ServicesVSResources.Enter_a_title_for_this_Naming_Style);
Options\Style\NamingPreferences\SymbolSpecification\ManageSymbolSpecificationsDialogViewModel.cs (1)
23public string DialogTitle => ServicesVSResources.Manage_specifications;
Options\Style\NamingPreferences\SymbolSpecification\SymbolSpecificationDialog.xaml.cs (9)
23public string DialogTitle => ServicesVSResources.Symbol_Specification; 24public string SymbolSpecificationTitleLabelText => ServicesVSResources.Symbol_Specification_Title_colon; 25public string SymbolKindsLabelText => ServicesVSResources.Symbol_Kinds_can_match_any; 26public string AccessibilitiesLabelText => ServicesVSResources.Accessibilities_can_match_any; 27public string ModifiersLabelText => ServicesVSResources.Modifiers_must_match_all; 28public string SelectAllButtonText => ServicesVSResources.Select_All; 29public string DeselectAllButtonText => ServicesVSResources.Deselect_All; 30public string OK => ServicesVSResources.OK; 31public string Cancel => ServicesVSResources.Cancel;
Options\Style\NamingPreferences\SymbolSpecification\SymbolSpecificationViewModel.cs (29)
51new SymbolKindViewModel(SymbolKind.Namespace, ServicesVSResources.NamingSpecification_CSharp_Namespace, specification), 52new SymbolKindViewModel(TypeKind.Class, ServicesVSResources.NamingSpecification_CSharp_Class, specification), 53new SymbolKindViewModel(TypeKind.Struct, ServicesVSResources.NamingSpecification_CSharp_Struct, specification), 54new SymbolKindViewModel(TypeKind.Interface, ServicesVSResources.NamingSpecification_CSharp_Interface, specification), 55new SymbolKindViewModel(TypeKind.Enum, ServicesVSResources.NamingSpecification_CSharp_Enum, specification), 56new SymbolKindViewModel(SymbolKind.Property, ServicesVSResources.NamingSpecification_CSharp_Property, specification), 57new SymbolKindViewModel(MethodKind.Ordinary, ServicesVSResources.NamingSpecification_CSharp_Method, specification), 58new SymbolKindViewModel(MethodKind.LocalFunction, ServicesVSResources.NamingSpecification_CSharp_LocalFunction, specification), 59new SymbolKindViewModel(SymbolKind.Field, ServicesVSResources.NamingSpecification_CSharp_Field, specification), 60new SymbolKindViewModel(SymbolKind.Event, ServicesVSResources.NamingSpecification_CSharp_Event, specification), 61new SymbolKindViewModel(TypeKind.Delegate, ServicesVSResources.NamingSpecification_CSharp_Delegate, specification), 62new SymbolKindViewModel(SymbolKind.Parameter, ServicesVSResources.NamingSpecification_CSharp_Parameter, specification), 63new SymbolKindViewModel(SymbolKind.TypeParameter, ServicesVSResources.NamingSpecification_CSharp_TypeParameter, specification), 64new SymbolKindViewModel(SymbolKind.Local, ServicesVSResources.NamingSpecification_CSharp_Local, specification) 93new SymbolKindViewModel(SymbolKind.Namespace, ServicesVSResources.NamingSpecification_VisualBasic_Namespace, specification), 94new SymbolKindViewModel(TypeKind.Class, ServicesVSResources.NamingSpecification_VisualBasic_Class, specification), 95new SymbolKindViewModel(TypeKind.Struct, ServicesVSResources.NamingSpecification_VisualBasic_Structure, specification), 96new SymbolKindViewModel(TypeKind.Interface, ServicesVSResources.NamingSpecification_VisualBasic_Interface, specification), 97new SymbolKindViewModel(TypeKind.Enum, ServicesVSResources.NamingSpecification_VisualBasic_Enum, specification), 98new SymbolKindViewModel(TypeKind.Module, ServicesVSResources.NamingSpecification_VisualBasic_Module, specification), 99new SymbolKindViewModel(SymbolKind.Property, ServicesVSResources.NamingSpecification_VisualBasic_Property, specification), 100new SymbolKindViewModel(SymbolKind.Method, ServicesVSResources.NamingSpecification_VisualBasic_Method, specification), 101new SymbolKindViewModel(SymbolKind.Field, ServicesVSResources.NamingSpecification_VisualBasic_Field, specification), 102new SymbolKindViewModel(SymbolKind.Event, ServicesVSResources.NamingSpecification_VisualBasic_Event, specification), 103new SymbolKindViewModel(TypeKind.Delegate, ServicesVSResources.NamingSpecification_VisualBasic_Delegate, specification), 104new SymbolKindViewModel(SymbolKind.Parameter, ServicesVSResources.NamingSpecification_VisualBasic_Parameter, specification), 105new SymbolKindViewModel(SymbolKind.TypeParameter, ServicesVSResources.NamingSpecification_VisualBasic_TypeParameter, specification), 106new SymbolKindViewModel(SymbolKind.Local, ServicesVSResources.NamingSpecification_VisualBasic_Local, specification) 157_notificationService.SendNotification(ServicesVSResources.Enter_a_title_for_this_Naming_Style);
SolutionExplorer\AnalyzersCommandHandler.cs (2)
429title: ServicesVSResources.Updating_severity, 472title: ServicesVSResources.Updating_severity,
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (3)
CSharp\CSharpSourceGenerators.cs (3)
61Assert.Equal($"{HelloWorldGenerator.GeneratedEnglishClassName}.cs {ServicesVSResources.generated_suffix}", await TestServices.Shell.GetActiveWindowCaptionAsync(HangMitigatingCancellationToken)); 92Assert.Equal($"{HelloWorldGenerator.GeneratedEnglishClassName}.cs {ServicesVSResources.generated_suffix}", await TestServices.Shell.GetActiveWindowCaptionAsync(HangMitigatingCancellationToken)); 144Assert.Equal($"{HelloWorldGenerator.GeneratedEnglishClassName}.cs {ServicesVSResources.generated_suffix}", await TestServices.Shell.GetActiveWindowCaptionAsync(HangMitigatingCancellationToken));
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
VisualStudioTestCompositions.vb (1)
20GetType(ServicesVSResources).Assembly,
Microsoft.VisualStudio.LanguageServices.UnitTests (263)
ChangeSignature\AddParameterViewModelTests.vb (17)
33Assert.Equal(ServicesVSResources.A_type_and_name_must_be_provided, message) 38Assert.Equal(ServicesVSResources.A_type_and_name_must_be_provided, message) 42Assert.Equal(ServicesVSResources.Enter_a_call_site_value_or_choose_a_different_value_injection_kind, message) 73AssertTypeBindingIconAndTextIs(viewModel, NameOf(viewModel.TypeDoesNotBindImage), ServicesVSResources.Type_name_is_not_recognized) 87AssertTypeBindingIconAndTextIs(viewModel, NameOf(viewModel.TypeDoesNotBindImage), ServicesVSResources.Type_name_is_not_recognized) 101AssertTypeBindingIconAndTextIs(viewModel, NameOf(viewModel.TypeDoesNotParseImage), ServicesVSResources.Type_name_has_a_syntax_error) 115AssertTypeBindingIconAndTextIs(viewModel, NameOf(viewModel.TypeBindsImage), ServicesVSResources.Type_name_is_recognized) 129AssertTypeBindingIconAndTextIs(viewModel, NameOf(viewModel.TypeIsEmptyImage), ServicesVSResources.Please_enter_a_type_name) 171AssertTypeBindingIconAndTextIs(viewModel, NameOf(viewModel.TypeBindsImage), ServicesVSResources.Type_name_is_recognized) 248AssertTypeBindingIconAndTextIs(viewModel, NameOf(viewModel.TypeBindsImage), ServicesVSResources.Type_name_is_recognized) 266Assert.True(viewModel.TypeBindsDynamicStatus = ServicesVSResources.Please_enter_a_type_name) 285Assert.Equal(ServicesVSResources.A_type_and_name_must_be_provided, message) 333Assert.Equal(ServicesVSResources.Parameter_type_contains_invalid_characters, message) 337Assert.Equal(ServicesVSResources.Parameter_type_contains_invalid_characters, message) 341Assert.Equal(ServicesVSResources.Parameter_type_contains_invalid_characters, message) 345Assert.Equal(ServicesVSResources.Parameter_type_contains_invalid_characters, message) 349Assert.Equal(ServicesVSResources.Parameter_type_contains_invalid_characters, message)
ChangeSignature\ChangeSignatureViewModelTests.vb (2)
75Assert.Equal(ServicesVSResources.You_must_change_the_signature, message) 406Assert.Equal(ServicesVSResources.You_must_change_the_signature, message)
Diagnostics\DiagnosticTableDataSourceTests.vb (1)
47Assert.Equal(ServicesVSResources.CSharp_VB_Diagnostics_Table_Data_Source, source.DisplayName)
InheritanceMargin\InheritanceMarginViewModelTests.vb (62)
164Dim tooltipTextForIBar = String.Format(ServicesVSResources._0_is_inherited, "interface IBar") 165Dim tooltipTextForBar = String.Format(ServicesVSResources._0_is_inherited, "class Bar") 172New MenuItemViewModelData(ServicesVSResources.Implementing_types, ServicesVSResources.Implementing_types, KnownMonikers.Implemented, GetType(HeaderMenuItemViewModel)), 179New MenuItemViewModelData(ServicesVSResources.Implemented_interfaces, ServicesVSResources.Implemented_interfaces, KnownMonikers.Implementing, GetType(HeaderMenuItemViewModel)), 196Dim tooltipTextForAbsBar = String.Format(ServicesVSResources._0_is_inherited, "class AbsBar") 197Dim tooltipTextForAbstractFoo = String.Format(ServicesVSResources._0_is_inherited, "abstract void AbsBar.Foo()") 198Dim tooltipTextForBar = String.Format(ServicesVSResources._0_is_inherited, "class Bar") 199Dim tooltipTextForOverrideFoo = String.Format(ServicesVSResources._0_is_inherited, "override void Bar.Foo()") 206New MenuItemViewModelData(ServicesVSResources.Derived_types, ServicesVSResources.Derived_types, KnownMonikers.Overridden, GetType(HeaderMenuItemViewModel)), 213New MenuItemViewModelData(ServicesVSResources.Overriding_members, ServicesVSResources.Overriding_members, KnownMonikers.Overridden, GetType(HeaderMenuItemViewModel)), 220New MenuItemViewModelData(ServicesVSResources.Base_Types, ServicesVSResources.Base_Types, KnownMonikers.Overriding, GetType(HeaderMenuItemViewModel)), 227New MenuItemViewModelData(ServicesVSResources.Overridden_members, ServicesVSResources.Overridden_members, KnownMonikers.Overriding, GetType(HeaderMenuItemViewModel)), 238Dim tooltipTextForIBar1 = String.Format(ServicesVSResources._0_is_inherited, "interface IBar1") 239Dim tooltipTextForIBar2 = String.Format(ServicesVSResources._0_is_inherited, "interface IBar2") 240Dim tooltipTextForIBar3 = String.Format(ServicesVSResources._0_is_inherited, "interface IBar3") 247New MenuItemViewModelData(ServicesVSResources.Implementing_types, ServicesVSResources.Implementing_types, KnownMonikers.Implemented, GetType(HeaderMenuItemViewModel)), 255New MenuItemViewModelData(ServicesVSResources.Inherited_interfaces, ServicesVSResources.Inherited_interfaces, KnownMonikers.Implementing, GetType(HeaderMenuItemViewModel)), 257New MenuItemViewModelData(ServicesVSResources.Implementing_types, ServicesVSResources.Implementing_types, KnownMonikers.Implemented, GetType(HeaderMenuItemViewModel)), 264New MenuItemViewModelData(ServicesVSResources.Inherited_interfaces, ServicesVSResources.Inherited_interfaces, KnownMonikers.Implementing, GetType(HeaderMenuItemViewModel)), 276Dim tooltipTextForBar1 = String.Format(ServicesVSResources._0_is_inherited, "class Bar1") 277Dim targetForBar1 = ImmutableArray.Create(Of MenuItemViewModel)(New HeaderMenuItemViewModel(ServicesVSResources.Derived_types, KnownMonikers.Overridden)). 280Dim tooltipTextForBar2 = String.Format(ServicesVSResources._0_is_inherited, "class Bar2") 283New HeaderMenuItemViewModel(ServicesVSResources.Base_Types, KnownMonikers.Overriding)). 285Add(New HeaderMenuItemViewModel(ServicesVSResources.Derived_types, KnownMonikers.Overridden)). 288Dim tooltipTextForBar3 = String.Format(ServicesVSResources._0_is_inherited, "class Bar3") 289Dim targetForBar3 = ImmutableArray.Create(Of MenuItemViewModel)(New HeaderMenuItemViewModel(ServicesVSResources.Base_Types, KnownMonikers.Overriding)). 299New MenuItemViewModelData(ServicesVSResources.Derived_types, ServicesVSResources.Derived_types, KnownMonikers.Overridden, GetType(HeaderMenuItemViewModel)), 307New MenuItemViewModelData(ServicesVSResources.Base_Types, ServicesVSResources.Base_Types, KnownMonikers.Overriding, GetType(HeaderMenuItemViewModel)), 309New MenuItemViewModelData(ServicesVSResources.Derived_types, ServicesVSResources.Derived_types, KnownMonikers.Overridden, GetType(HeaderMenuItemViewModel)), 316New MenuItemViewModelData(ServicesVSResources.Base_Types, ServicesVSResources.Base_Types, KnownMonikers.Overriding, GetType(HeaderMenuItemViewModel)), 336Dim tooltipTextForIBar1 = String.Format(ServicesVSResources._0_is_inherited, "interface IBar1") 337Dim tooltipTextForE1AndE2InInterface = ServicesVSResources.Multiple_members_are_inherited 338Dim tooltipTextForBarSample = String.Format(ServicesVSResources._0_is_inherited, "class BarSample") 339Dim tooltipTextForE1AndE2InBarSample = ServicesVSResources.Multiple_members_are_inherited 346New MenuItemViewModelData(ServicesVSResources.Implementing_types, ServicesVSResources.Implementing_types, KnownMonikers.Implemented, GetType(HeaderMenuItemViewModel)), 351String.Format(ServicesVSResources.Multiple_members_are_inherited_on_line_0, 5), 354New MenuItemViewModelData(ServicesVSResources.Implementing_members, ServicesVSResources.Implementing_members, KnownMonikers.Implemented, GetType(HeaderMenuItemViewModel)), 357New MenuItemViewModelData(ServicesVSResources.Implementing_members, ServicesVSResources.Implementing_members, KnownMonikers.Implemented, GetType(HeaderMenuItemViewModel)), 364New MenuItemViewModelData(ServicesVSResources.Implemented_interfaces, ServicesVSResources.Implemented_interfaces, KnownMonikers.Implementing, GetType(HeaderMenuItemViewModel)), 369String.Format(ServicesVSResources.Multiple_members_are_inherited_on_line_0, 10), 372New MenuItemViewModelData(ServicesVSResources.Implemented_members, ServicesVSResources.Implemented_members, KnownMonikers.Implementing, GetType(HeaderMenuItemViewModel)), 375New MenuItemViewModelData(ServicesVSResources.Implemented_members, ServicesVSResources.Implemented_members, KnownMonikers.Implementing, GetType(HeaderMenuItemViewModel)),
MoveStaticMembers\MoveStaticMembersViewModelTest.vb (17)
185Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 192Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 198Assert.Equal(ServicesVSResources.Invalid_type_name, viewModel.Message) 204Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 209Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 215Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 220Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 395Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 526Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 537Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 543Assert.Equal(ServicesVSResources.Invalid_type_name, viewModel.Message) 549Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 554Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 560Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 565Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 598Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message) 747Assert.Equal(ServicesVSResources.New_Type_Name_colon, viewModel.Message)
ObjectBrowser\CSharp\ObjectBrowerTests.vb (57)
349list.VerifyDescriptions($"{ServicesVSResources.Project}CSharpAssembly1") 370$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 389$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}", 391$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 409$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 436$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 456$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}", 458$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}", 460$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 478$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 502$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 527$" {String.Format(ServicesVSResources.Member_of_0, "I")}") 551$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 578$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 602$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 628$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 652$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 676$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 700$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 725$" {String.Format(ServicesVSResources.Member_of_0, "UnsafeC")}") 757$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 779$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 801$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 827$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 852$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 877$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 899$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 921$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 943$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 969$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 994$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1019$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1040$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 1061$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 1082$" {String.Format(ServicesVSResources.Member_of_0, "CSharpAssembly1")}") 1104$" {String.Format(ServicesVSResources.Member_of_0, "E")}") 1127$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1154$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1186$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 1188ServicesVSResources.Summary_colon & vbCrLf & 1191ServicesVSResources.Returns_colon & vbCrLf & 1223$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 1225ServicesVSResources.Summary_colon & vbCrLf & 1228ServicesVSResources.Returns_colon & vbCrLf & 1257$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 1259ServicesVSResources.Summary_colon & vbCrLf & 1262ServicesVSResources.Returns_colon & vbCrLf & 1291$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 1293ServicesVSResources.Summary_colon & vbCrLf & 1296ServicesVSResources.Value_colon & vbCrLf & 1322$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1347$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1372$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1397$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1422$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1447$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1471$" {String.Format(ServicesVSResources.Member_of_0, "C")}")
ObjectBrowser\VisualBasic\ObjectBrowerTests.vb (102)
348list.VerifyDescriptions($"{ServicesVSResources.Project}VisualBasicAssembly1") 369$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 387$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 405$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 423$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 443$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 463$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 483$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 503$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 527$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}", 530$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 554$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}", 557$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 576$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 595$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 614$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 633$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 655$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 677$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 705$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}", 707$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}", 709$" {String.Format(ServicesVSResources.Member_of_0, "VisualBasicAssembly1")}") 734$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 759$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 784$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 809$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 836$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 861$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 886$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 911$" {String.Format(ServicesVSResources.Member_of_0, "N.I")}") 936$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 961$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 985$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 1009$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 1033$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 1059$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 1085$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 1111$" {String.Format(ServicesVSResources.Member_of_0, "N.C")}") 1132$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1153$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1174$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1195$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1220$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1245$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1269$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1295$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1321$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1346$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1367$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1388$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1409$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1430$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1451$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1472$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1495$" {String.Format(ServicesVSResources.Member_of_0, "E")}", 1497$" {String.Format(ServicesVSResources.Member_of_0, "E")}", 1499$" {String.Format(ServicesVSResources.Member_of_0, "E")}") 1531$" {String.Format(ServicesVSResources.Member_of_0, "C")}", 1533$" {String.Format(ServicesVSResources.Member_of_0, "C")}", 1535$" {String.Format(ServicesVSResources.Member_of_0, "C")}", 1537$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1559$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1581$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1603$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1625$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1647$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1669$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1691$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1713$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1735$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1757$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1779$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1801$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1823$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1845$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1867$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1889$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1911$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1933$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1955$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1977$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 1999$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 2021$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 2043$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 2065$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 2087$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 2118$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 2139$" {String.Format(ServicesVSResources.Member_of_0, "C")}") 2171$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 2173ServicesVSResources.Summary_colon & vbCrLf & 2176ServicesVSResources.Type_Parameters_colon & vbCrLf & 2179ServicesVSResources.Parameters_colon1 & vbCrLf & 2183ServicesVSResources.Remarks_colon & vbCrLf & 2213$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 2215ServicesVSResources.Summary_colon & vbCrLf & 2218ServicesVSResources.Returns_colon & vbCrLf & 2246$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 2248ServicesVSResources.Summary_colon & vbCrLf & 2251ServicesVSResources.Returns_colon & vbCrLf & 2279$" {String.Format(ServicesVSResources.Member_of_0, "C")}" & vbCrLf & 2281ServicesVSResources.Summary_colon & vbCrLf & 2284ServicesVSResources.Value_colon & vbCrLf &
Preview\PreviewChangesTests.vb (4)
86Tuple.Create(ServicesVSResources.bracket_plus_bracket + "test3.cs", 1), 88Tuple.Create(ServicesVSResources.bracket_bracket + "test2.cs", 1), 229ServicesVSResources.bracket_plus_bracket + "test4.cs", 230ServicesVSResources.bracket_bracket + "test2.cs"
TaskList\TaskListTableDataSourceTests.vb (1)
39Assert.Equal(ServicesVSResources.CSharp_VB_Todo_List_Table_Data_Source, source.DisplayName)
Microsoft.VisualStudio.LanguageServices.VisualBasic (178)
Options\AdvancedOptionPageStrings.vb (77)
17ServicesVSResources.Analysis 20ServicesVSResources.Run_background_code_analysis_for_colon 23ServicesVSResources.Analyze_source_generated_files 26ServicesVSResources.None 29ServicesVSResources.Current_document 32ServicesVSResources.Open_documents 35ServicesVSResources.Entire_solution 50ServicesVSResources.Show_compiler_errors_and_warnings_for_colon 53ServicesVSResources.None 56ServicesVSResources.Current_document ' We show "Current document" to users for consistency with term used elsewhere. 59ServicesVSResources.Open_documents 62ServicesVSResources.Entire_solution 77ServicesVSResources.Run_code_analysis_in_separate_process_requires_restart 83ServicesVSResources.Underline_reassigned_variables 86ServicesVSResources.Display_all_hints_while_pressing_Alt_F1 89ServicesVSResources.Color_hints 92ServicesVSResources.Inline_Hints 95ServicesVSResources.Display_inline_parameter_name_hints 98ServicesVSResources.Show_hints_for_literals 104ServicesVSResources.Show_hints_for_everything_else 107ServicesVSResources.Show_hints_for_indexers 110ServicesVSResources.Suppress_hints_when_parameter_name_matches_the_method_s_intent 113ServicesVSResources.Suppress_hints_when_parameter_names_differ_only_by_suffix 116ServicesVSResources.Suppress_hints_when_argument_matches_parameter_name 119ServicesVSResources.Display_diagnostics_inline_experimental 122ServicesVSResources.at_the_end_of_the_line_of_code 125ServicesVSResources.on_the_right_edge_of_the_editor_window 146ServicesVSResources.Quick_Actions 149ServicesVSResources.Compute_Quick_Actions_asynchronously_experimental 155ServicesVSResources.Collapse_regions_on_file_open 161ServicesVSResources.Collapse_sourcelink_embedded_decompiled_files_on_open 164ServicesVSResources.Collapse_metadata_signature_files_on_open 170ServicesVSResources.Implement_Interface_or_Abstract_Class 173ServicesVSResources.When_inserting_properties_events_and_methods_place_them 176ServicesVSResources.with_other_members_of_the_same_kind 179ServicesVSResources.When_generating_properties 182ServicesVSResources.codegen_prefer_auto_properties 185ServicesVSResources.prefer_throwing_properties 188ServicesVSResources.at_the_end 235Public ReadOnly Property Option_Outlining As String = ServicesVSResources.Outlining 238ServicesVSResources.Show_outlining_for_declaration_level_constructs 241ServicesVSResources.Show_outlining_for_code_level_constructs 244ServicesVSResources.Show_outlining_for_comments_and_preprocessor_regions 247ServicesVSResources.Collapse_regions_when_collapsing_to_definitions 250ServicesVSResources.Block_Structure_Guides 253ServicesVSResources.Comments 256ServicesVSResources.Show_guides_for_declaration_level_constructs 259ServicesVSResources.Show_guides_for_code_level_constructs 262ServicesVSResources.Fading 295ServicesVSResources.Regular_Expressions 298ServicesVSResources.Colorize_regular_expressions 301ServicesVSResources.Report_invalid_regular_expressions 304ServicesVSResources.Highlight_related_components_under_cursor 307ServicesVSResources.JSON_strings 310ServicesVSResources.Colorize_JSON_strings 313ServicesVSResources.Report_invalid_JSON_strings 316ServicesVSResources.Show_completion_list 319ServicesVSResources.Editor_Color_Scheme 322ServicesVSResources.Editor_color_scheme_options_are_only_available_when_using_a_color_theme_bundled_with_Visual_Studio_The_color_theme_can_be_configured_from_the_Environment_General_options_page 325ServicesVSResources.Some_color_scheme_colors_are_being_overridden_by_changes_made_in_the_Environment_Fonts_and_Colors_options_page_Choose_Use_Defaults_in_the_Fonts_and_Colors_page_to_revert_all_customizations 328ServicesVSResources.Visual_Studio_2019 331ServicesVSResources.Visual_Studio_2017 340ServicesVSResources.Show_Remove_Unused_References_command_in_Solution_Explorer_experimental 343ServicesVSResources.Enable_all_features_in_opened_files_from_source_generators_experimental 346ServicesVSResources.Enable_file_logging_for_diagnostics 349ServicesVSResources.Skip_analyzers_for_implicitly_triggered_builds 352ServicesVSResources.Show_inheritance_margin 355ServicesVSResources.Combine_inheritance_margin_with_indicator_margin 358ServicesVSResources.Include_global_imports 361ServicesVSResources.Inheritance_Margin 364ServicesVSResources.Go_To_Definition 367ServicesVSResources.Navigate_asynchronously_exerimental 370ServicesVSResources.Rename 373ServicesVSResources.Rename_asynchronously_experimental 376ServicesVSResources.Where_should_the_rename_UI_be_shown 379ServicesVSResources.Show_UI_inline 382ServicesVSResources.Show_UI_as_dashboard_in_top_right
Options\IntelliSenseOptionPageStrings.vb (1)
50ServicesVSResources.Tab_twice_to_insert_arguments
Options\NamingStylesOptionPage.vb (1)
32_notificationService.SendNotification(ServicesVSResources.Some_naming_rules_are_incomplete_Please_complete_or_remove_them)
Options\StyleViewModel.vb (97)
158' {ServicesVSResources.Prefer_colon} 166' {ServicesVSResources.Over_colon} 180' {ServicesVSResources.Prefer_colon} 190' {ServicesVSResources.Over_colon} 204' {ServicesVSResources.Prefer_colon} 211' {ServicesVSResources.Over_colon} 229' {ServicesVSResources.Prefer_colon} 237' {ServicesVSResources.Over_colon} 250' {ServicesVSResources.Prefer_colon} 256' {ServicesVSResources.Over_colon} 267' {ServicesVSResources.Prefer_colon} 273' {ServicesVSResources.Over_colon} 284' {ServicesVSResources.Prefer_colon} 287' {ServicesVSResources.Over_colon} 303' {ServicesVSResources.Prefer_colon} 306' {ServicesVSResources.Over_colon} 325' {ServicesVSResources.Prefer_colon} 331' {ServicesVSResources.Over_colon} 332Dim v = If(x Is Nothing, y, x) ' {ServicesVSResources.or} 346' {ServicesVSResources.Prefer_colon} 352' {ServicesVSResources.Over_colon} 353Dim v = If(o Is Nothing, Nothing, o.ToString()) ' {ServicesVSResources.or} 364' {ServicesVSResources.Prefer_colon} 370' {ServicesVSResources.Over_colon} 388' {ServicesVSResources.Prefer_colon} 389' {ServicesVSResources.Requires_System_HashCode_be_present_in_project} 398' {ServicesVSResources.Over_colon} 416' {ServicesVSResources.Prefer_colon} 424' {ServicesVSResources.Over_colon} 438' {ServicesVSResources.Prefer_colon} 444' {ServicesVSResources.Over_colon} 456' {ServicesVSResources.Prefer_colon} 462' {ServicesVSResources.Over_colon} 474' {ServicesVSResources.Prefer_colon} 480' {ServicesVSResources.Over_colon} 492' {ServicesVSResources.Prefer_colon} 495' {ServicesVSResources.Over_colon} 506' {ServicesVSResources.Prefer_colon} 509' {ServicesVSResources.Over_colon} 524' {ServicesVSResources.Keep_all_parentheses_in_colon} 535' {ServicesVSResources.Prefer_colon} 538' {ServicesVSResources.Over_colon} 553// {ServicesVSResources.Prefer_colon} 556// {ServicesVSResources.Over_colon} 567// {ServicesVSResources.Prefer_colon} 570// {ServicesVSResources.Over_colon} 585' {ServicesVSResources.Keep_all_parentheses_in_colon} 596' {ServicesVSResources.Prefer_colon} 599' {ServicesVSResources.Over_colon} 611' {ServicesVSResources.Prefer_colon} 618' {ServicesVSResources.Over_colon} 628' {ServicesVSResources.Allow_colon} 643' {ServicesVSResources.Require_colon} 655' {ServicesVSResources.Over_colon} 670' {ServicesVSResources.Allow_colon} 683' {ServicesVSResources.Require_colon} 695' {ServicesVSResources.Over_colon} 709' {ServicesVSResources.Prefer_colon} 717' {ServicesVSResources.Over_colon} 727' {ServicesVSResources.Prefer_colon} 735' {ServicesVSResources.Over_colon} 750' {ServicesVSResources.Prefer_colon} 751Dim unused = Computation() ' {ServicesVSResources.Unused_value_is_explicitly_assigned_to_an_unused_local} 761' {ServicesVSResources.Over_colon} 762Dim x = Computation() ' {ServicesVSResources.Value_assigned_here_is_never_used} 774' {ServicesVSResources.Prefer_colon} 775Dim unused = Computation() ' {ServicesVSResources.Unused_value_is_explicitly_assigned_to_an_unused_local} 783' {ServicesVSResources.Over_colon} 784Computation() ' {ServicesVSResources.Value_returned_by_invocation_is_implicitly_ignored} 808New CodeStylePreference(ServicesVSResources.Prefer_predefined_type, isChecked:=True), 809New CodeStylePreference(ServicesVSResources.Prefer_framework_type, isChecked:=False) 812Dim codeBlockPreferencesGroupTitle = ServicesVSResources.Code_block_preferences_colon 813Dim expressionPreferencesGroupTitle = ServicesVSResources.Expression_preferences_colon 815Dim fieldPreferencesGroupTitle = ServicesVSResources.Modifier_preferences_colon 816Dim parameterPreferencesGroupTitle = ServicesVSResources.Parameter_preferences_colon 817Dim newLinePreferencesGroupTitle = ServicesVSResources.New_line_preferences_experimental_colon 826Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, ServicesVSResources.For_locals_parameters_and_members, _intrinsicDeclarationPreviewTrue, _intrinsicDeclarationPreviewFalse, Me, optionStore, predefinedTypesGroupTitle, predefinedTypesPreferences)) 827Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, ServicesVSResources.For_member_access_expressions, _intrinsicMemberAccessPreviewTrue, _intrinsicMemberAccessPreviewFalse, Me, optionStore, predefinedTypesGroupTitle, predefinedTypesPreferences)) 832Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferAutoProperties, ServicesVSResources.analyzer_Prefer_auto_properties, s_preferAutoProperties, s_preferAutoProperties, Me, optionStore, codeBlockPreferencesGroupTitle)) 833Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferSystemHashCode, ServicesVSResources.Prefer_System_HashCode_in_GetHashCode, s_preferSystemHashCode, s_preferSystemHashCode, Me, optionStore, codeBlockPreferencesGroupTitle)) 836Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferObjectInitializer, ServicesVSResources.Prefer_object_initializer, s_preferObjectInitializer, s_preferObjectInitializer, Me, optionStore, expressionPreferencesGroupTitle)) 837Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferCollectionInitializer, ServicesVSResources.Prefer_collection_initializer, s_preferCollectionInitializer, s_preferCollectionInitializer, Me, optionStore, expressionPreferencesGroupTitle)) 838Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferSimplifiedBooleanExpressions, ServicesVSResources.Prefer_simplified_boolean_expressions, s_preferSimplifiedConditionalExpressions, s_preferSimplifiedConditionalExpressions, Me, optionStore, expressionPreferencesGroupTitle)) 839Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferExplicitTupleNames, ServicesVSResources.Prefer_explicit_tuple_name, s_preferExplicitTupleName, s_preferExplicitTupleName, Me, optionStore, expressionPreferencesGroupTitle)) 840Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferInferredTupleNames, ServicesVSResources.Prefer_inferred_tuple_names, s_preferInferredTupleName, s_preferInferredTupleName, Me, optionStore, expressionPreferencesGroupTitle)) 841Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferInferredAnonymousTypeMemberNames, ServicesVSResources.Prefer_inferred_anonymous_type_member_names, s_preferInferredAnonymousTypeMemberName, s_preferInferredAnonymousTypeMemberName, Me, optionStore, expressionPreferencesGroupTitle)) 842Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferConditionalExpressionOverAssignment, ServicesVSResources.Prefer_conditional_expression_over_if_with_assignments, s_preferConditionalExpressionOverIfWithAssignments, s_preferConditionalExpressionOverIfWithAssignments, Me, optionStore, expressionPreferencesGroupTitle)) 843Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferConditionalExpressionOverReturn, ServicesVSResources.Prefer_conditional_expression_over_if_with_returns, s_preferConditionalExpressionOverIfWithReturns, s_preferConditionalExpressionOverIfWithReturns, Me, optionStore, expressionPreferencesGroupTitle)) 844Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferCompoundAssignment, ServicesVSResources.Prefer_compound_assignments, s_preferCompoundAssignments, s_preferCompoundAssignments, Me, optionStore, expressionPreferencesGroupTitle)) 851Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferCoalesceExpression, ServicesVSResources.Prefer_coalesce_expression, s_preferCoalesceExpression, s_preferCoalesceExpression, Me, optionStore, nothingPreferencesGroupTitle)) 852Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferNullPropagation, ServicesVSResources.Prefer_null_propagation, s_preferNullPropagation, s_preferNullPropagation, Me, optionStore, nothingPreferencesGroupTitle)) 856Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.PreferReadonly, ServicesVSResources.Prefer_readonly_fields, s_preferReadonly, s_preferReadonly, Me, optionStore, fieldPreferencesGroupTitle)) 862Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.AllowMultipleBlankLines, ServicesVSResources.Allow_multiple_blank_lines, s_allow_multiple_blank_lines_true, s_allow_multiple_blank_lines_false, Me, optionStore, newLinePreferencesGroupTitle)) 863Me.CodeStyleItems.Add(New BooleanCodeStyleOptionViewModel(CodeStyleOptions2.AllowStatementImmediatelyAfterBlock, ServicesVSResources.Allow_statement_immediately_after_block, s_allow_statement_immediately_after_block_true, s_allow_statement_immediately_after_block_true, Me, optionStore, newLinePreferencesGroupTitle)) 887ServicesVSResources.In_other_operators, 905ServicesVSResources.Avoid_unused_value_assignments, 915ServicesVSResources.Avoid_expression_statements_that_implicitly_ignore_value,
Utilities\VisualBasicCompilationOptionsChangingService.vb (1)
25Throw New InvalidOperationException(ServicesVSResources.This_workspace_does_not_support_updating_Visual_Basic_compilation_options)
Utilities\VisualBasicParseOptionsChangingService.vb (1)
25Throw New InvalidOperationException(ServicesVSResources.This_workspace_does_not_support_updating_Visual_Basic_parse_options)