919 references to FeaturesResources
Microsoft.CodeAnalysis.CSharp.Features (105)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (1)
188var justificationExpr = LiteralExpression(SyntaxKind.StringLiteralExpression, Literal(FeaturesResources.Pending));
CodeLens\CSharpCodeLensDisplayInfoService.cs (2)
87return FeaturesResources.paren_Unknown_paren; 176return symbol != null ? symbol.ToDisplayString(Format) : FeaturesResources.paren_Unknown_paren;
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (3)
94FeaturesResources.Inline_temporary_variable, 96nameof(FeaturesResources.Inline_temporary_variable)), 134=> ConflictAnnotation.Create(FeaturesResources.Conflict_s_detected);
Completion\CompletionProviders\CSharpSuggestionModeCompletionProvider.cs (3)
68return CreateSuggestionModeItem(FeaturesResources.namespace_name, CSharpFeaturesResources.Autoselect_disabled_due_to_namespace_declaration); 75return CreateSuggestionModeItem(FeaturesResources.class_name, CSharpFeaturesResources.Autoselect_disabled_due_to_type_declaration); 81return CreateSuggestionModeItem(FeaturesResources.interface_name, CSharpFeaturesResources.Autoselect_disabled_due_to_type_declaration);
Copilot\CSharpCopilotCodeFixProvider.DismissChangesCodeAction.cs (1)
23public override string Title => FeaturesResources.Dismiss;
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (29)
1965TypeKind.Struct => symbol.IsRecord ? CSharpFeaturesResources.record_struct : FeaturesResources.struct_, 1966TypeKind.Class => symbol.IsRecord ? CSharpFeaturesResources.record_ : FeaturesResources.class_, 1981MethodKind.StaticConstructor => FeaturesResources.static_constructor, 1984MethodKind.LocalFunction => FeaturesResources.local_function, 2018return FeaturesResources.namespace_; 2021return FeaturesResources.class_; 2024return FeaturesResources.struct_; 2027return FeaturesResources.interface_; 2036return FeaturesResources.enum_; 2039return FeaturesResources.delegate_; 2043return declaration.Modifiers.Any(SyntaxKind.ConstKeyword) ? FeaturesResources.const_field : FeaturesResources.field; 2053return FeaturesResources.method; 2059return FeaturesResources.operator_; 2063return ctor.Modifiers.Any(SyntaxKind.StaticKeyword) ? FeaturesResources.static_constructor : FeaturesResources.constructor; 2069return SyntaxUtilities.HasBackingField((PropertyDeclarationSyntax)node) ? FeaturesResources.auto_property : FeaturesResources.property_; 2075return FeaturesResources.event_; 2078return FeaturesResources.enum_value; 2105return FeaturesResources.event_accessor; 2116return FeaturesResources.type_constraint; 2120return FeaturesResources.type_parameter; 2123return FeaturesResources.parameter; 2126return node.Parent is TypeDeclarationSyntax ? FeaturesResources.constructor : null; 2129return FeaturesResources.attribute; 2132return FeaturesResources.attribute; 2235return FeaturesResources.local_function; 2256return FeaturesResources.extension_block;
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
747var annotation = ConflictAnnotation.Create(FeaturesResources.Conflict_s_detected);
ExtractMethod\CSharpSelectionValidator.cs (6)
37return InitialSelectionInfo.Failure(FeaturesResources.Invalid_selection); 52return FeaturesResources.Selection_does_not_contain_a_valid_token; 55return FeaturesResources.No_valid_selection_to_perform_extraction; 58return FeaturesResources.No_common_root_node_for_extraction; 61return FeaturesResources.Selection_not_contained_inside_a_type; 64return FeaturesResources.No_valid_selection_to_perform_extraction;
ImplementInterface\CSharpImplementExplicitlyCodeRefactoringProvider.cs (3)
27protected override string Implement_0 => FeaturesResources.Implement_0_explicitly; 28protected override string Implement_all_interfaces => FeaturesResources.Implement_all_interfaces_explicitly; 29protected override string Implement => FeaturesResources.Implement_explicitly;
ImplementInterface\CSharpImplementImplicitlyCodeRefactoringProvider.cs (3)
23protected override string Implement_0 => FeaturesResources.Implement_0_implicitly; 24protected override string Implement_all_interfaces => FeaturesResources.Implement_all_interfaces_implicitly; 25protected override string Implement => FeaturesResources.Implement_implicitly;
InitializeParameter\CSharpInitializeMemberFromPrimaryConstructorParameterCodeRefactoringProvider.cs (6)
80string.Format(fieldOrProperty.Kind == SymbolKind.Field ? FeaturesResources.Initialize_field_0 : FeaturesResources.Initialize_property_0, fieldOrProperty.Name), 154string.Format(FeaturesResources.Create_and_assign_field_0, field.Name), 157string.Format(FeaturesResources.Create_and_assign_property_0, property.Name), 167FeaturesResources.Create_and_assign_remaining_as_fields, 170FeaturesResources.Create_and_assign_remaining_as_properties,
LanguageServices\CSharpSymbolDisplayService.SymbolDescriptionBuilder.cs (1)
217additionalParts = PlainText(string.Format(FeaturesResources.Represents_the_character_0_as_a_UTF_16_code_unit, character));
QuickInfo\CSharpSemanticQuickInfoProvider.cs (3)
245(NullableAnnotation.None, _) => string.Format(FeaturesResources._0_is_not_nullable_aware, symbol.ToDisplayString(s_nullableDisplayFormat)), 246(_, NullableFlowState.MaybeNull) => string.Format(FeaturesResources._0_may_be_null_here, symbol.ToDisplayString(s_nullableDisplayFormat)), 247(_, NullableFlowState.NotNull) => string.Format(FeaturesResources._0_is_not_null_here, symbol.ToDisplayString(s_nullableDisplayFormat)),
Rename\CSharpRenameIssuesService.cs (2)
30langError = FeaturesResources.You_cannot_rename_this_element; 47langError = FeaturesResources.You_cannot_rename_this_element;
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
324var annotation = ConflictAnnotation.Create(FeaturesResources.Only_methods_with_a_single_argument_which_is_not_an_out_variable_declaration_can_be_replaced_with_a_property); 383var annotation = ConflictAnnotation.Create(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property);
SignatureHelp\AttributeSignatureHelpProvider.cs (1)
205new SymbolDisplayPart(SymbolDisplayPartKind.Text, null, FeaturesResources.Properties),
SimplifyTypeNames\SimplifyTypeNamesCodeFixProvider.cs (2)
33return string.Format(FeaturesResources.Simplify_name_0, nodeText); 36return string.Format(FeaturesResources.Simplify_member_access_0, nodeText);
Snippets\CSharpClassSnippetProvider.cs (1)
38public override string Description => FeaturesResources.class_;
Snippets\CSharpElseSnippetProvider.cs (1)
25public override string Description => FeaturesResources.else_statement;
Snippets\CSharpEnumSnippetProvider.cs (1)
32public override string Description => FeaturesResources.enum_;
Snippets\CSharpForEachLoopSnippetProvider.cs (1)
37public override string Description => FeaturesResources.foreach_loop;
Snippets\CSharpIfSnippetProvider.cs (1)
25public override string Description => FeaturesResources.if_statement;
Snippets\CSharpInterfaceSnippetProvider.cs (1)
33public override string Description => FeaturesResources.interface_;
Snippets\CSharpPropgSnippetProvider.cs (1)
24public override string Description => FeaturesResources.get_only_property;
Snippets\CSharpPropSnippetProvider.cs (1)
24public override string Description => FeaturesResources.property_;
Snippets\CSharpStructSnippetProvider.cs (1)
35public override string Description => FeaturesResources.struct_;
Snippets\CSharpWhileLoopSnippetProvider.cs (1)
25public override string Description => FeaturesResources.while_loop;
Wrapping\SeparatedSyntaxList\CSharpArgumentWrapper.cs (8)
19protected override string Align_wrapped_items => FeaturesResources.Align_wrapped_arguments; 20protected override string Indent_all_items => FeaturesResources.Indent_all_arguments; 21protected override string Indent_wrapped_items => FeaturesResources.Indent_wrapped_arguments; 22protected override string Unwrap_all_items => FeaturesResources.Unwrap_all_arguments; 23protected override string Unwrap_and_indent_all_items => FeaturesResources.Unwrap_and_indent_all_arguments; 24protected override string Unwrap_list => FeaturesResources.Unwrap_argument_list; 25protected override string Wrap_every_item => FeaturesResources.Wrap_every_argument; 26protected override string Wrap_long_list => FeaturesResources.Wrap_long_argument_list;
Wrapping\SeparatedSyntaxList\CSharpCollectionExpressionWrapper.cs (5)
13protected override string Indent_all_items => FeaturesResources.Indent_all_elements; 14protected override string Unwrap_all_items => FeaturesResources.Unwrap_all_elements; 15protected override string Unwrap_list => FeaturesResources.Unwrap_collection; 16protected override string Wrap_every_item => FeaturesResources.Wrap_collection; 17protected override string Wrap_long_list => FeaturesResources.Wrap_long_collection;
Wrapping\SeparatedSyntaxList\CSharpInitializerExpressionWrapper.cs (5)
13protected override string Indent_all_items => FeaturesResources.Indent_all_elements; 14protected override string Unwrap_all_items => FeaturesResources.Unwrap_all_elements; 15protected override string Unwrap_list => FeaturesResources.Unwrap_initializer; 16protected override string Wrap_every_item => FeaturesResources.Wrap_initializer; 17protected override string Wrap_long_list => FeaturesResources.Wrap_long_initializer;
Wrapping\SeparatedSyntaxList\CSharpParameterWrapper.cs (8)
18protected override string Align_wrapped_items => FeaturesResources.Align_wrapped_parameters; 19protected override string Indent_all_items => FeaturesResources.Indent_all_parameters; 20protected override string Indent_wrapped_items => FeaturesResources.Indent_wrapped_parameters; 21protected override string Unwrap_all_items => FeaturesResources.Unwrap_all_parameters; 22protected override string Unwrap_and_indent_all_items => FeaturesResources.Unwrap_and_indent_all_parameters; 23protected override string Unwrap_list => FeaturesResources.Unwrap_parameter_list; 24protected override string Wrap_every_item => FeaturesResources.Wrap_every_parameter; 25protected override string Wrap_long_list => FeaturesResources.Wrap_long_parameter_list;
Microsoft.CodeAnalysis.Features (813)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.AddConstructorParametersCodeAction.cs (4)
183? string.Format(FeaturesResources.Add_optional_parameters_to_0, signature) 184: string.Format(FeaturesResources.Add_parameters_to_0, signature); 195? nameof(FeaturesResources.Add_optional_parameters_to_0) 196: nameof(FeaturesResources.Add_parameters_to_0);
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.cs (2)
82FeaturesResources.Add_parameter_to_constructor, 88FeaturesResources.Add_optional_parameter_to_constructor,
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (2)
60FeaturesResources.Add_DebuggerDisplay_attribute, 62nameof(FeaturesResources.Add_DebuggerDisplay_attribute),
AddImport\CodeActions\InstallWithPackageManagerCodeAction.cs (2)
23public override string Title => FeaturesResources.Install_with_package_manager; 39public override string Title => FeaturesResources.Install_with_package_manager;
AddImport\References\AssemblyReference.cs (1)
31var title = $"{provider.GetDescription(SearchResult.NameParts)} ({string.Format(FeaturesResources.from_0, _referenceAssemblyWithType.AssemblyName)})";
AddImport\References\MetadataSymbolReference.cs (1)
46return (string.Format(FeaturesResources.Add_reference_to_0, Path.GetFileName(_reference.FilePath)),
AddImport\References\ProjectSymbolReference.cs (1)
95: string.Format(FeaturesResources.Add_reference_to_0, _project.Name);
AddMissingReference\AddMissingReferenceCodeAction.cs (2)
62string.Format(FeaturesResources.Add_project_reference_to_0, candidateProject.Name), 69var description = string.Format(FeaturesResources.Add_reference_to_0, missingAssemblyIdentity.GetDisplayName());
AddPackage\InstallPackageDirectlyCodeAction.cs (3)
28? FeaturesResources.Find_and_install_latest_version 30? string.Format(FeaturesResources.Use_local_version_0, versionOpt) 31: string.Format(FeaturesResources.Install_version_0, versionOpt);
AddPackage\InstallPackageDirectlyCodeActionOperation.cs (3)
60? string.Format(FeaturesResources.Find_and_install_latest_version_of_0, _packageName) 62? string.Format(FeaturesResources.Use_locally_installed_0_version_1_This_version_used_in_colon_2, _packageName, _versionOpt, string.Join(", ", _projectsWithMatchingVersion)) 63: string.Format(FeaturesResources.Install_0_1, _packageName, _versionOpt);
AddPackage\InstallPackageParentCodeAction.cs (1)
30Document document) : CodeAction.CodeActionWithNestedActions(string.Format(FeaturesResources.Install_package_0, packageName),
AddPackage\InstallWithPackageManagerCodeAction.cs (2)
20public override string Title => FeaturesResources.Install_with_package_manager; 34public override string Title => FeaturesResources.Install_with_package_manager;
AddPackage\ParentInstallPackageCodeAction.cs (4)
59: base(string.Format(FeaturesResources.Install_package_0, fixData.PackageName), 115? FeaturesResources.Find_and_install_latest_version 117? string.Format(FeaturesResources.Use_local_version_0, version) 118: string.Format(FeaturesResources.Install_version_0, version);
ChangeSignature\AbstractChangeSignatureService.cs (2)
283confirmationMessage = FeaturesResources.This_symbol_has_related_definitions_or_references_in_metadata_Changing_its_signature_may_result_in_build_errors_Do_you_want_to_continue; 356confirmationMessage = FeaturesResources.This_symbol_has_related_definitions_or_references_in_metadata_Changing_its_signature_may_result_in_build_errors_Do_you_want_to_continue;
ChangeSignature\ChangeSignatureCodeAction.cs (1)
25public override string Title => FeaturesResources.Change_signature;
ChangeSignature\Parameter.cs (3)
55CallSiteValue = FeaturesResources.ChangeSignature_NewParameterIntroduceTODOVariable; 58CallSiteValue = FeaturesResources.ChangeSignature_NewParameterOmitValue; 61CallSiteValue = FeaturesResources.ChangeSignature_NewParameterInferValue;
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.TopLevelConfigureCodeStyleOptionCodeAction.cs (1)
15: base(nestedActions, string.Format(FeaturesResources.Configure_0_code_style, diagnostic.Id))
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
27(EditorConfigSeverityStrings.Silent, FeaturesResources.Silent),
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.TopLevelBulkConfigureSeverityCodeAction.cs (2)
14? string.Format(FeaturesResources.Configure_severity_for_all_0_analyzers, category) 15: FeaturesResources.Configure_severity_for_all_analyzers)
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.TopLevelConfigureSeverityCodeAction.cs (1)
12private sealed class TopLevelConfigureSeverityCodeAction(Diagnostic diagnostic, ImmutableArray<CodeAction> nestedActions) : AbstractConfigurationActionWithNestedActions(nestedActions, string.Format(FeaturesResources.Configure_0_severity, diagnostic.Id))
CodeFixes\Service\CodeFixService.cs (3)
356return solution.GetDocument(document.Id) ?? throw new NotSupportedException(FeaturesResources.Removal_of_document_not_supported); 412? string.Format(FeaturesResources.Error_creating_instance_of_CodeFixProvider_0, lazyFixer.Metadata.Name) 413: FeaturesResources.Error_creating_instance_of_CodeFixProvider;
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.AbstractGlobalSuppressMessageCodeAction.cs (1)
28: base(fixer, title: FeaturesResources.in_Suppression_File)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.LocalSuppressMessageCodeAction.cs (1)
20Diagnostic diagnostic) : AbstractSuppressionCodeAction(fixer, FeaturesResources.in_Source_attribute)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.PragmaWarningCodeAction.cs (1)
42: base(fixer, title: FeaturesResources.in_Source)
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.cs (2)
52: base(fixer, title: string.Format(FeaturesResources.Remove_Suppression_0, diagnostic.Id)) 61public override string EquivalenceKey => FeaturesResources.Remove_Suppression + DiagnosticIdForEquivalenceKey;
CodeFixes\Suppression\NestedSuppressionCodeAction.cs (4)
22=> equivalenceKey.StartsWith(FeaturesResources.in_Suppression_File); 24=> equivalenceKey.StartsWith(FeaturesResources.in_Source); 26=> equivalenceKey.StartsWith(FeaturesResources.Remove_Suppression); 28=> equivalenceKey.StartsWith(FeaturesResources.in_Source_attribute);
CodeFixes\Suppression\TopLevelSuppressionCodeAction.cs (1)
10internal sealed class TopLevelSuppressionCodeAction(Diagnostic diagnostic, ImmutableArray<NestedSuppressionCodeAction> nestedActions) : AbstractConfigurationActionWithNestedActions(ImmutableArray<CodeAction>.CastUp(nestedActions), string.Format(FeaturesResources.Suppress_0, diagnostic.Id))
CodeFixesAndRefactorings\AbstractFixAllCodeAction.cs (6)
58FixAllScope.Document => FeaturesResources.Document, 59FixAllScope.Project => FeaturesResources.Project, 60FixAllScope.Solution => FeaturesResources.Solution, 61FixAllScope.ContainingMember => FeaturesResources.Containing_Member, 62FixAllScope.ContainingType => FeaturesResources.Containing_Type, 66internal override string Message => message ?? FeaturesResources.Computing_fix_all_occurrences_code_fix;
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (1)
87FeaturesResources.Fix_all_occurrences,
CodeLens\ReferenceCount.cs (3)
23? FeaturesResources._0_reference_unquoted 24: FeaturesResources._0_references_unquoted; 31=> string.Format(FeaturesResources.This_0_has_1_references, codeElementKind, GetCappedReferenceCountString());
CodeRefactorings\CodeRefactoring.cs (1)
42throw new ArgumentException(FeaturesResources.Actions_can_not_be_empty, nameof(actions));
CodeRefactorings\ExtractMethod\AbstractExtractMethodCodeRefactoringProvider.cs (4)
85FeaturesResources.Extract_method, 91nameof(FeaturesResources.Extract_method)); 116FeaturesResources.Extract_local_function, 122nameof(FeaturesResources.Extract_local_function));
CodeRefactorings\MoveType\AbstractMoveTypeService.MoveTypeCodeAction.cs (3)
41MoveTypeOperationKind.MoveType => string.Format(FeaturesResources.Move_type_to_0, _fileName), 42MoveTypeOperationKind.RenameType => string.Format(FeaturesResources.Rename_type_to_0, GetDocumentNameWithoutExtension(_document)), 43MoveTypeOperationKind.RenameFile => string.Format(FeaturesResources.Rename_file_to_0, _fileName),
CodeRefactorings\SyncNamespace\AbstractChangeNamespaceService.cs (1)
87FeaturesResources.Warning_colon_changing_namespace_may_produce_invalid_code_and_change_code_meaning);
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.cs (2)
82? FeaturesResources.Change_to_global_namespace 83: string.Format(FeaturesResources.Change_namespace_to_0, state.TargetNamespace);
CodeRefactorings\SyncNamespace\AbstractSyncNamespaceCodeRefactoringProvider.MoveFileCodeAction.cs (2)
33? string.Format(FeaturesResources.Move_file_to_0, string.Join(PathUtilities.DirectorySeparatorStr, _newfolders)) 34: FeaturesResources.Move_file_to_project_root_folder;
Completion\CommonCompletionProvider.cs (1)
88var note = string.Format(FeaturesResources.Note_colon_Tab_twice_to_insert_the_0_snippet, insertionText);
Completion\CommonCompletionUtilities.cs (4)
164? FeaturesResources.generic_overload 165: FeaturesResources.generic_overloads 167? FeaturesResources.overload 168: FeaturesResources.overloads_;
Completion\Providers\AbstractAwaitCompletionProvider.cs (3)
119FeaturesResources.Asynchronously_waits_for_the_task_to_finish, 132FeaturesResources.Await_the_preceding_expression, 142string.Format(FeaturesResources.Await_the_preceding_expression_and_add_ConfigureAwait_0, _falseKeyword),
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
81inlineDescription: isObjectInitializer && uninitializedMember.IsRequired() ? FeaturesResources.Required : null,
Completion\Providers\RecommendedKeyword.cs (1)
35textContentBuilder.AddText(string.Format(FeaturesResources._0_Keyword, keyword));
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (1)
95description: (snippetData.Description + Environment.NewLine + string.Format(FeaturesResources.Code_snippet_for_0, snippetData.Description)).ToSymbolDisplayParts(),
ConvertAnonymousType\AbstractConvertAnonymousTypeToClassCodeRefactoringProvider.cs (4)
65FeaturesResources.Convert_to_record, 67nameof(FeaturesResources.Convert_to_record)), 73FeaturesResources.Convert_to_class, 75nameof(FeaturesResources.Convert_to_class)),
ConvertAnonymousType\AbstractConvertAnonymousTypeToTupleCodeRefactoringProvider.cs (7)
58FeaturesResources.Convert_to_tuple, 60CodeAction.Create(FeaturesResources.just_this_anonymous_type, c => FixInCurrentMemberAsync(document, anonymousNode, anonymousType, allAnonymousTypes: false, c), nameof(FeaturesResources.just_this_anonymous_type)), 61CodeAction.Create(FeaturesResources.all_anonymous_types_in_container, c => FixInCurrentMemberAsync(document, anonymousNode, anonymousType, allAnonymousTypes: true, c), nameof(FeaturesResources.all_anonymous_types_in_container)), 70CodeAction.Create(FeaturesResources.Convert_to_tuple, c => FixInCurrentMemberAsync(document, anonymousNode, anonymousType, allAnonymousTypes: false, c), nameof(FeaturesResources.Convert_to_tuple)),
ConvertAutoPropertyToFullProperty\AbstractConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (4)
51FeaturesResources.Convert_to_full_property, 53nameof(FeaturesResources.Convert_to_full_property)), 62FeaturesResources.Convert_to_field_property, 64nameof(FeaturesResources.Convert_to_field_property)),
ConvertForEachToFor\AbstractConvertForEachToForCodeRefactoringProvider.cs (1)
57=> WarningAnnotation.Create(FeaturesResources.Warning_colon_semantics_may_change_when_converting_statement);
ConvertForToForEach\AbstractConvertForToForEachCodeRefactoringProvider.cs (3)
454WarningAnnotation.Create(FeaturesResources.Warning_colon_Iteration_variable_crossed_function_boundary))); 486WarningAnnotation.Create(FeaturesResources.Warning_colon_Collection_was_modified_during_iteration)); 492WarningAnnotation.Create(FeaturesResources.Warning_colon_Iteration_variable_crossed_function_boundary));
ConvertLinq\ConvertForEachToLinqQuery\AbstractConvertForEachToLinqQueryProvider.cs (4)
115FeaturesResources.Convert_to_linq, 117nameof(FeaturesResources.Convert_to_linq)), 138FeaturesResources.Convert_to_linq_call_form, 140nameof(FeaturesResources.Convert_to_linq_call_form)),
ConvertNumericLiteral\AbstractConvertNumericLiteralCodeRefactoringProvider.cs (8)
75result.Add(CreateCodeAction(value.ToString(), FeaturesResources.Convert_to_decimal)); 78result.Add(CreateCodeAction(binaryPrefix + Convert.ToString(value, toBase: 2), FeaturesResources.Convert_to_binary)); 81result.Add(CreateCodeAction(hexPrefix + value.ToString("X"), FeaturesResources.Convert_to_hex)); 86result.Add(CreateCodeAction(prefix + number.Replace(DigitSeparator, string.Empty), FeaturesResources.Remove_separators)); 92NumericKind.Decimal when number.Length > 3 => CreateCodeAction(AddSeparators(number, interval: 3), FeaturesResources.Separate_thousands), 93NumericKind.Hexadecimal when number.Length > 4 => CreateCodeAction(hexPrefix + AddSeparators(number, interval: 4), FeaturesResources.Separate_words), 94NumericKind.Binary when number.Length > 4 => CreateCodeAction(binaryPrefix + AddSeparators(number, interval: 4), FeaturesResources.Separate_nibbles), 106FeaturesResources.Convert_number,
ConvertToInterpolatedString\AbstractConvertConcatenationToInterpolatedStringRefactoringProvider.cs (2)
111FeaturesResources.Convert_to_interpolated_string, 113nameof(FeaturesResources.Convert_to_interpolated_string)),
ConvertToInterpolatedString\AbstractConvertPlaceholderToInterpolatedStringRefactoringProvider.cs (2)
148FeaturesResources.Convert_to_interpolated_string, 150nameof(FeaturesResources.Convert_to_interpolated_string)),
ConvertToInterpolatedString\ConvertRegularStringToInterpolatedStringRefactoringProvider.cs (2)
76FeaturesResources.Convert_to_interpolated_string, 78nameof(FeaturesResources.Convert_to_interpolated_string),
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (6)
98FeaturesResources.Convert_to_record_struct, 110FeaturesResources.Convert_to_struct, 176Scope.ContainingMember => FeaturesResources.updating_usages_in_containing_member, 177Scope.ContainingType => FeaturesResources.updating_usages_in_containing_type, 178Scope.ContainingProject => FeaturesResources.updating_usages_in_containing_project, 179Scope.DependentProjects => FeaturesResources.updating_usages_in_dependent_projects,
Diagnostics\Service\DocumentAnalysisExecutor_Helpers.cs (6)
36title: FeaturesResources.User_Diagnostic_Analyzer_Failure, 37messageFormat: FeaturesResources.Analyzer_0_threw_an_exception_of_type_1_with_message_2, 38description: string.Format(FeaturesResources.Analyzer_0_threw_the_following_exception_colon_1, analyzerName, e.CreateDiagnosticDescription()), 154throw new ArgumentException(string.Format(FeaturesResources.Reported_diagnostic_0_has_a_source_location_in_file_1_which_is_not_part_of_the_compilation_being_analyzed, id, location.SourceTree.FilePath), "diagnostic"); 160throw new ArgumentException(string.Format(FeaturesResources.Reported_diagnostic_0_has_a_source_location_1_in_file_2_which_is_outside_of_the_given_file, id, location.SourceSpan, location.SourceTree.FilePath), "diagnostic"); 183throw new ArgumentException(string.Format(FeaturesResources.Reported_diagnostic_0_has_a_source_location_1_in_file_2_which_is_outside_of_the_given_file, id, location.SourceSpan, filePath), "diagnostic");
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (30)
299FeaturesResources.symbol_kind_and_name_of_member_kind_and_name, 305FeaturesResources.member_kind_and_name, 320SymbolKind.Parameter => FeaturesResources.parameter, 321SymbolKind.Local => FeaturesResources.local_variable, 323SymbolKind.TypeParameter => FeaturesResources.type_parameter, 328=> FeaturesResources.event_; 331=> symbol.IsAutoProperty() ? FeaturesResources.auto_property : FeaturesResources.property_; 336TypeKind.Class => FeaturesResources.class_, 337TypeKind.Interface => FeaturesResources.interface_, 338TypeKind.Delegate => FeaturesResources.delegate_, 339TypeKind.Enum => FeaturesResources.enum_, 340TypeKind.TypeParameter => FeaturesResources.type_parameter, 341_ => FeaturesResources.type, 345=> symbol.IsConst ? ((symbol.ContainingType.TypeKind == TypeKind.Enum) ? FeaturesResources.enum_value : FeaturesResources.const_field) : 346FeaturesResources.field; 351MethodKind.Constructor => FeaturesResources.constructor, 352MethodKind.PropertyGet or MethodKind.PropertySet => FeaturesResources.property_accessor, 353MethodKind.EventAdd or MethodKind.EventRaise or MethodKind.EventRemove => FeaturesResources.event_accessor, 354MethodKind.BuiltinOperator or MethodKind.UserDefinedOperator or MethodKind.Conversion => FeaturesResources.operator_, 355_ => FeaturesResources.method, 874=> $"<{FeaturesResources.@default}>"; 1422arguments: [FeaturesResources.code])); 1527arguments: [string.Format(FeaturesResources._0_directive, LineDirectiveKeyword)])); 2960[FeaturesResources.extension_block]); 3126[FeaturesResources.extension_block]); 4331diagnosticContext.Report(RudeEditKind.Update, cancellationToken, arguments: [FeaturesResources.extension_block]); 6362=> (parameter.ContainingType.TypeKind == TypeKind.Struct) ? FeaturesResources.struct_ : FeaturesResources.class_with_explicit_or_sequential_layout;
EditAndContinue\EditAndContinueDiagnosticDescriptors.cs (112)
41s_rudeEditLocString = new LocalizableResourceString(nameof(FeaturesResources.RudeEdit), FeaturesResources.ResourceManager, typeof(FeaturesResources)); 42s_encLocString = new LocalizableResourceString(nameof(FeaturesResources.EditAndContinue), FeaturesResources.ResourceManager, typeof(FeaturesResources)); 43s_encDisallowedByProjectLocString = new LocalizableResourceString(nameof(FeaturesResources.EditAndContinueDisallowedByProject), FeaturesResources.ResourceManager, typeof(FeaturesResources)); 63messageFormat: new LocalizableResourceString(resourceName, FeaturesResources.ResourceManager, typeof(FeaturesResources)), 84var resourceName = nameof(FeaturesResources.Changing_project_setting_0_from_1_to_2_requires_restarting_the_application); 95AddRudeEdit(RudeEditKind.InsertAroundActiveStatement, nameof(FeaturesResources.Adding_0_around_an_active_statement_requires_restarting_the_application)); 96AddRudeEdit(RudeEditKind.DeleteAroundActiveStatement, nameof(FeaturesResources.Deleting_0_around_an_active_statement_requires_restarting_the_application)); 97AddRudeEdit(RudeEditKind.DeleteActiveStatement, nameof(FeaturesResources.Removing_0_that_contains_an_active_statement_requires_restarting_the_application)); 98AddRudeEdit(RudeEditKind.UpdateAroundActiveStatement, nameof(FeaturesResources.Updating_a_0_around_an_active_statement_requires_restarting_the_application)); 99AddRudeEdit(RudeEditKind.UpdateExceptionHandlerOfActiveTry, nameof(FeaturesResources.Modifying_a_catch_finally_handler_with_an_active_statement_in_the_try_block_requires_restarting_the_application)); 100AddRudeEdit(RudeEditKind.UpdateTryOrCatchWithActiveFinally, nameof(FeaturesResources.Modifying_a_try_catch_finally_statement_when_the_finally_block_is_active_requires_restarting_the_application)); 101AddRudeEdit(RudeEditKind.UpdateCatchHandlerAroundActiveStatement, nameof(FeaturesResources.Modifying_a_catch_handler_around_an_active_statement_requires_restarting_the_application)); 102AddRudeEdit(RudeEditKind.Update, nameof(FeaturesResources.Updating_0_requires_restarting_the_application)); 103AddRudeEdit(RudeEditKind.ModifiersUpdate, nameof(FeaturesResources.Updating_the_modifiers_of_0_requires_restarting_the_application)); 104AddRudeEdit(RudeEditKind.VarianceUpdate, nameof(FeaturesResources.Updating_the_variance_of_0_requires_restarting_the_application)); 105AddRudeEdit(RudeEditKind.TypeUpdate, nameof(FeaturesResources.Updating_the_type_of_0_requires_restarting_the_application)); 106AddRudeEdit(RudeEditKind.InitializerUpdate, nameof(FeaturesResources.Updating_the_initializer_of_0_requires_restarting_the_application)); 107AddRudeEdit(RudeEditKind.FixedSizeFieldUpdate, nameof(FeaturesResources.Updating_the_size_of_a_0_requires_restarting_the_application)); 108AddRudeEdit(RudeEditKind.EnumUnderlyingTypeUpdate, nameof(FeaturesResources.Updating_the_underlying_type_of_0_requires_restarting_the_application)); 109AddRudeEdit(RudeEditKind.BaseTypeOrInterfaceUpdate, nameof(FeaturesResources.Updating_the_base_class_and_or_base_interface_s_of_0_requires_restarting_the_application)); 110AddRudeEdit(RudeEditKind.TypeKindUpdate, nameof(FeaturesResources.Updating_the_kind_of_a_type_requires_restarting_the_application)); 111AddRudeEdit(RudeEditKind.AccessorKindUpdate, nameof(FeaturesResources.Updating_the_kind_of_a_property_event_accessor_requires_restarting_the_application)); 112AddRudeEdit(RudeEditKind.DeclareAliasUpdate, nameof(FeaturesResources.Updating_the_alias_of_Declare_statement_requires_restarting_the_application)); 113AddRudeEdit(RudeEditKind.DeclareLibraryUpdate, nameof(FeaturesResources.Updating_the_library_name_of_Declare_statement_requires_restarting_the_application)); 114AddRudeEdit(RudeEditKind.FieldKindUpdate, nameof(FeaturesResources.Changing_a_field_to_an_event_or_vice_versa_requires_restarting_the_application)); 115AddRudeEdit(RudeEditKind.Renamed, nameof(FeaturesResources.Renaming_0_requires_restarting_the_application)); 116AddRudeEdit(RudeEditKind.Insert, nameof(FeaturesResources.Adding_0_requires_restarting_the_application)); 117AddRudeEdit(RudeEditKind.InsertVirtual, nameof(FeaturesResources.Adding_an_abstract_0_or_overriding_an_inherited_0_requires_restarting_the_application)); 118AddRudeEdit(RudeEditKind.InsertOverridable, nameof(FeaturesResources.Adding_a_MustOverride_0_or_overriding_an_inherited_0_requires_restarting_the_application)); 119AddRudeEdit(RudeEditKind.InsertExtern, nameof(FeaturesResources.Adding_an_extern_0_requires_restarting_the_application)); 120AddRudeEdit(RudeEditKind.InsertDllImport, nameof(FeaturesResources.Adding_an_imported_method_requires_restarting_the_application)); 121AddRudeEdit(RudeEditKind.InsertOperator, nameof(FeaturesResources.Adding_a_user_defined_0_requires_restarting_the_application)); 122AddRudeEdit(RudeEditKind.InsertOrMoveStructMember, nameof(FeaturesResources.Adding_or_moving_0_of_1_requires_restarting_the_application)); 123AddRudeEdit(RudeEditKind.InsertOrMoveTypeWithLayoutMember, nameof(FeaturesResources.Adding_or_moving_0_of_1_with_explicit_or_sequential_layout_requires_restarting_the_application)); 124AddRudeEdit(RudeEditKind.Move, nameof(FeaturesResources.Moving_0_requires_restarting_the_application)); 125AddRudeEdit(RudeEditKind.Delete, nameof(FeaturesResources.Deleting_0_requires_restarting_the_application)); 126AddRudeEdit(RudeEditKind.GenericMethodUpdate, nameof(FeaturesResources.Modifying_a_generic_method_requires_restarting_the_application)); 127AddRudeEdit(RudeEditKind.GenericTypeUpdate, nameof(FeaturesResources.Modifying_a_method_inside_the_context_of_a_generic_type_requires_restarting_the_application)); 128AddRudeEdit(RudeEditKind.InsertConstructorToTypeWithInitializersWithLambdas, nameof(FeaturesResources.Adding_a_constructor_to_a_type_with_a_field_or_property_initializer_that_contains_an_anonymous_function_requires_restarting_the_application)); 129AddRudeEdit(RudeEditKind.RenamingCapturedVariable, nameof(FeaturesResources.Renaming_a_captured_variable_from_0_to_1_requires_restarting_the_application)); 130AddRudeEdit(RudeEditKind.StackAllocUpdate, nameof(FeaturesResources.Modifying_0_which_contains_the_stackalloc_operator_requires_restarting_the_application)); 131AddRudeEdit(RudeEditKind.ExperimentalFeaturesEnabled, nameof(FeaturesResources.Modifying_source_with_experimental_language_features_enabled_requires_restarting_the_application)); 132AddRudeEdit(RudeEditKind.AwaitStatementUpdate, nameof(FeaturesResources.Updating_a_complex_statement_containing_an_await_expression_requires_restarting_the_application)); 133AddRudeEdit(RudeEditKind.ChangingAccessibility, nameof(FeaturesResources.Changing_visibility_of_0_requires_restarting_the_application)); 134AddRudeEdit(RudeEditKind.ChangingCapturedVariableType, nameof(FeaturesResources.Changing_the_type_of_a_captured_variable_0_previously_of_type_1_requires_restarting_the_application)); 135AddRudeEdit(RudeEditKind.ChangingCapturedVariableScope, nameof(FeaturesResources.Changing_the_declaration_scope_of_a_captured_variable_0_requires_restarting_the_application)); 136AddRudeEdit(RudeEditKind.ChangingLambdaParameters, nameof(FeaturesResources.Changing_the_parameters_of_0_requires_restarting_the_application)); 137AddRudeEdit(RudeEditKind.ChangingLambdaReturnType, nameof(FeaturesResources.Changing_the_return_type_of_0_requires_restarting_the_application)); 138AddRudeEdit(RudeEditKind.ChangingQueryLambdaType, nameof(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application)); 139AddRudeEdit(RudeEditKind.ActiveStatementUpdate, nameof(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)); 140AddRudeEdit(RudeEditKind.ActiveStatementLambdaRemoved, nameof(FeaturesResources.Removing_0_that_contains_an_active_statement_requires_restarting_the_application)); 141AddRudeEdit(RudeEditKind.PartiallyExecutedActiveStatementUpdate, nameof(FeaturesResources.Updating_an_active_statement_requires_restarting_the_application)); 142AddRudeEdit(RudeEditKind.PartiallyExecutedActiveStatementDelete, nameof(FeaturesResources.Removing_0_that_contains_an_active_statement_requires_restarting_the_application)); 143AddRudeEdit(RudeEditKind.InsertFile, nameof(FeaturesResources.Adding_a_new_file_requires_restarting_the_application)); 144AddRudeEdit(RudeEditKind.UpdatingStateMachineMethodAroundActiveStatement, nameof(FeaturesResources.Updating_async_or_iterator_modifier_around_an_active_statement_requires_restarting_the_application)); 145AddRudeEdit(RudeEditKind.UpdatingStateMachineMethodMissingAttribute, nameof(FeaturesResources.Attribute_0_is_missing_Updating_an_async_method_or_an_iterator_requires_restarting_the_application)); 146AddRudeEdit(RudeEditKind.SwitchBetweenLambdaAndLocalFunction, nameof(FeaturesResources.Switching_between_lambda_and_local_function_requires_restarting_the_application)); 147AddRudeEdit(RudeEditKind.InsertMethodWithExplicitInterfaceSpecifier, nameof(FeaturesResources.Adding_a_method_with_an_explicit_interface_specifier_requires_restarting_the_application)); 148AddRudeEdit(RudeEditKind.InsertIntoInterface, nameof(FeaturesResources.Adding_0_into_an_interface_requires_restarting_the_application)); 149AddRudeEdit(RudeEditKind.InsertLocalFunctionIntoInterfaceMethod, nameof(FeaturesResources.Adding_0_into_an_interface_method_requires_restarting_the_application)); 150AddRudeEdit(RudeEditKind.InternalError, nameof(FeaturesResources.Modifying_source_file_0_requires_restarting_the_application_due_to_internal_error_1)); 151AddRudeEdit(RudeEditKind.ChangingFromAsynchronousToSynchronous, nameof(FeaturesResources.Changing_0_from_asynchronous_to_synchronous_requires_restarting_the_application)); 152AddRudeEdit(RudeEditKind.ChangingStateMachineShape, nameof(FeaturesResources.Changing_0_to_1_requires_restarting_the_application_because_it_changes_the_shape_of_the_state_machine)); 153AddRudeEdit(RudeEditKind.ComplexQueryExpression, nameof(FeaturesResources.Modifying_0_which_contains_an_Aggregate_Group_By_or_Join_query_clauses_requires_restarting_the_application)); 154AddRudeEdit(RudeEditKind.MemberBodyInternalError, nameof(FeaturesResources.Modifying_body_of_0_requires_restarting_the_application_due_to_internal_error_1)); 155AddRudeEdit(RudeEditKind.MemberBodyTooBig, nameof(FeaturesResources.Modifying_body_of_0_requires_restarting_the_application_because_the_body_has_too_many_statements)); 156AddRudeEdit(RudeEditKind.SourceFileTooBig, nameof(FeaturesResources.Modifying_source_file_0_requires_restarting_the_application_because_the_file_is_too_big)); 157AddRudeEdit(RudeEditKind.NotSupportedByRuntime, nameof(FeaturesResources.Applying_source_changes_while_the_application_is_running_is_not_supported_by_the_runtime)); 158AddRudeEdit(RudeEditKind.MakeMethodAsyncNotSupportedByRuntime, nameof(FeaturesResources.Making_a_method_asynchronous_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime)); 159AddRudeEdit(RudeEditKind.MakeMethodIteratorNotSupportedByRuntime, nameof(FeaturesResources.Making_a_method_an_iterator_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime)); 160AddRudeEdit(RudeEditKind.InsertNotSupportedByRuntime, nameof(FeaturesResources.Adding_0_requires_restarting_the_application)); 161AddRudeEdit(RudeEditKind.ChangingAttributesNotSupportedByRuntime, nameof(FeaturesResources.Updating_the_attributes_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime)); 162AddRudeEdit(RudeEditKind.ChangingReloadableTypeNotSupportedByRuntime, nameof(FeaturesResources.Updating_reloadable_type_marked_by_0_attribute_or_its_member_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime)); 163AddRudeEdit(RudeEditKind.ChangingParameterTypes, nameof(FeaturesResources.Changing_parameter_types_of_0_requires_restarting_the_application)); 164AddRudeEdit(RudeEditKind.ChangingTypeParameters, nameof(FeaturesResources.Changing_type_parameters_of_0_requires_restarting_the_application)); 165AddRudeEdit(RudeEditKind.ChangingConstraints, nameof(FeaturesResources.Changing_constraints_of_0_requires_restarting_the_application)); 166AddRudeEdit(RudeEditKind.ChangeImplicitMainReturnType, nameof(FeaturesResources.An_update_that_causes_the_return_type_of_implicit_main_to_change_requires_restarting_the_application)); 167AddRudeEdit(RudeEditKind.RenamingNotSupportedByRuntime, nameof(FeaturesResources.Renaming_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime)); 168AddRudeEdit(RudeEditKind.ChangingNonCustomAttribute, nameof(FeaturesResources.Changing_pseudo_custom_attribute_0_of_1_requires_restarting_the_application)); 169AddRudeEdit(RudeEditKind.ChangingNamespace, nameof(FeaturesResources.Changing_the_containing_namespace_of_0_from_1_to_2_requires_restarting_the_application)); 170AddRudeEdit(RudeEditKind.ChangingSignatureNotSupportedByRuntime, nameof(FeaturesResources.Changing_the_signature_of_0_requires_restarting_the_application_because_it_is_not_supported_by_the_runtime)); 171AddRudeEdit(RudeEditKind.DeleteNotSupportedByRuntime, nameof(FeaturesResources.Deleting_0_requires_restarting_the_application_because_is_not_supported_by_the_runtime)); 172AddRudeEdit(RudeEditKind.UpdatingStateMachineMethodNotSupportedByRuntime, nameof(FeaturesResources.Updating_async_or_iterator_requires_restarting_the_application_because_is_not_supported_by_the_runtime)); 173AddRudeEdit(RudeEditKind.UpdatingGenericNotSupportedByRuntime, nameof(FeaturesResources.Updating_0_within_generic_type_or_method_requires_restarting_the_application_because_is_not_supported_by_the_runtime)); 174AddRudeEdit(RudeEditKind.CapturingPrimaryConstructorParameter, nameof(FeaturesResources.Capturing_primary_constructor_parameter_0_that_hasn_t_been_captured_before_requires_restarting_the_application)); 175AddRudeEdit(RudeEditKind.NotCapturingPrimaryConstructorParameter, nameof(FeaturesResources.Ceasing_to_capture_primary_constructor_parameter_0_of_1_requires_restarting_the_application)); 176AddRudeEdit(RudeEditKind.ChangingAttribute, nameof(FeaturesResources.Changing_attribute_0_requires_restarting_the_application)); 177AddRudeEdit(RudeEditKind.ChangingNameOrSignatureOfActiveMember, nameof(FeaturesResources.Changing_name_or_signature_of_0_that_contains_an_active_statement_requires_restarting_the_application)); 178AddRudeEdit(RudeEditKind.UpdateMightNotHaveAnyEffect, nameof(FeaturesResources.Changing_0_might_not_have_any_effect_until_the_application_is_restarted), DiagnosticSeverity.Warning, noEffect: true); 179AddRudeEdit(RudeEditKind.TypeUpdateAroundActiveStatement, nameof(FeaturesResources.Updating_a_0_around_an_active_statement_requires_restarting_the_application)); 180AddRudeEdit(RudeEditKind.InsertOrMoveComInterfaceMember, nameof(FeaturesResources.Adding_or_moving_0_of_a_COM_interface_requires_restarting_the_application)); 183AddRudeEdit(RudeEditKind.HandlesClauseUpdate, nameof(FeaturesResources.Updating_the_Handles_clause_of_0_requires_restarting_the_application)); 184AddRudeEdit(RudeEditKind.ImplementsClauseUpdate, nameof(FeaturesResources.Updating_the_Implements_clause_of_a_0_requires_restarting_the_application)); 185AddRudeEdit(RudeEditKind.InsertHandlesClause, nameof(FeaturesResources.Adding_0_with_the_Handles_clause_requires_restarting_the_application)); 186AddRudeEdit(RudeEditKind.UpdateStaticLocal, nameof(FeaturesResources.Modifying_0_which_contains_a_static_variable_requires_restarting_the_application)); 194AddGeneralDiagnostic(EditAndContinueErrorCode.ErrorReadingFile, nameof(FeaturesResources.ErrorReadingFile)); 195AddGeneralDiagnostic(EditAndContinueErrorCode.CannotApplyChangesUnexpectedError, nameof(FeaturesResources.CannotApplyChangesUnexpectedError)); 196AddGeneralDiagnostic(EditAndContinueErrorCode.ChangesDisallowedWhileStoppedAtException, nameof(FeaturesResources.ChangesDisallowedWhileStoppedAtException)); 197AddGeneralDiagnostic(EditAndContinueErrorCode.DocumentIsOutOfSyncWithDebuggee, nameof(FeaturesResources.DocumentIsOutOfSyncWithDebuggee), DiagnosticSeverity.Warning); 198AddGeneralDiagnostic(EditAndContinueErrorCode.UnableToReadSourceFileOrPdb, nameof(FeaturesResources.UnableToReadSourceFileOrPdb)); 199AddGeneralDiagnostic(EditAndContinueErrorCode.AddingTypeRuntimeCapabilityRequired, nameof(FeaturesResources.ChangesRequiredSynthesizedType)); 200AddGeneralDiagnostic(EditAndContinueErrorCode.UpdatingDocumentInStaleProject, nameof(FeaturesResources.Changing_source_file_0_in_a_stale_project_1_has_no_effect_until_the_project_is_rebuilt_2), DiagnosticSeverity.Warning, noEffect: true); 201AddGeneralDiagnostic(EditAndContinueErrorCode.UpdatingUnsupportedProject, nameof(FeaturesResources.Changing_source_file_0_in_a_project_1_that_does_not_support_hot_reload_requires_restarting_the_application_2)); 205AddGeneralDiagnostic(EditAndContinueErrorCode.ChangingMultiVersionReferences, nameof(FeaturesResources.Project_references_mutliple_assemblies_of_the_same_simple_name_0_1_Changing_a_reference_to_such_an_assembly_requires_restarting_the_application)); 206AddGeneralDiagnostic(EditAndContinueErrorCode.ChangingReference, nameof(FeaturesResources.Changing_project_or_package_reference_caused_the_identity_of_referenced_assembly_to_change_from_0_to_1_which_requires_restarting_the_application));
EditAndContinue\EditSession.cs (4)
680reason ??= string.Format(FeaturesResources._0_does_not_support_Hot_Reload, document.Project.Language); 1537? FeaturesResources.the_project_has_not_been_built 1539? FeaturesResources.the_content_of_the_document_is_stale 1540: string.Format(FeaturesResources.the_project_contains_stale_document_0, staleDocumentPath)
EditAndContinue\Utilities\Extensions.cs (1)
170data.Message ?? FeaturesResources.Unknown_error_occurred,
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (118)
137context.AddStandard("d", FeaturesResources.short_date, FeaturesResources.short_date_description); 138context.AddStandard("D", FeaturesResources.long_date, FeaturesResources.long_date_description); 139context.AddStandard("f", FeaturesResources.full_short_date_time, FeaturesResources.full_short_date_time_description); 140context.AddStandard("F", FeaturesResources.full_long_date_time, FeaturesResources.full_long_date_time_description); 141context.AddStandard("g", FeaturesResources.general_short_date_time, FeaturesResources.general_short_date_time_description); 142context.AddStandard("G", FeaturesResources.general_long_date_time, FeaturesResources.general_long_date_time_description, isDefault: true); // This is what DateTime.ToString() uses 143context.AddStandard("M", FeaturesResources.month_day, FeaturesResources.month_day_description); 144context.AddStandard("O", FeaturesResources.round_trip_date_time, FeaturesResources.round_trip_date_time_description); 145context.AddStandard("R", FeaturesResources.rfc1123_date_time, FeaturesResources.rfc1123_date_time_description); 146context.AddStandard("s", FeaturesResources.sortable_date_time, FeaturesResources.sortable_date_time_description); 147context.AddStandard("t", FeaturesResources.short_time, FeaturesResources.short_time_description); 148context.AddStandard("T", FeaturesResources.long_time, FeaturesResources.long_time_description); 149context.AddStandard("u", FeaturesResources.universal_sortable_date_time, FeaturesResources.universal_sortable_date_time_description); 150context.AddStandard("U", FeaturesResources.universal_full_date_time, FeaturesResources.universal_full_date_time_description); 151context.AddStandard("Y", FeaturesResources.year_month, FeaturesResources.year_month_description); 156context.AddCustom("d", FeaturesResources.day_of_the_month_1_2_digits, FeaturesResources.day_of_the_month_1_2_digits_description); 157context.AddCustom("dd", FeaturesResources.day_of_the_month_2_digits, FeaturesResources.day_of_the_month_2_digits_description); 158context.AddCustom("ddd", FeaturesResources.day_of_the_week_abbreviated, FeaturesResources.day_of_the_week_abbreviated_description); 159context.AddCustom("dddd", FeaturesResources.day_of_the_week_full, FeaturesResources.day_of_the_week_full_description); 161context.AddCustom("f", FeaturesResources._10ths_of_a_second, FeaturesResources._10ths_of_a_second_description); 162context.AddCustom("ff", FeaturesResources._100ths_of_a_second, FeaturesResources._100ths_of_a_second_description); 163context.AddCustom("fff", FeaturesResources._1000ths_of_a_second, FeaturesResources._1000ths_of_a_second_description); 164context.AddCustom("ffff", FeaturesResources._10000ths_of_a_second, FeaturesResources._10000ths_of_a_second_description); 165context.AddCustom("fffff", FeaturesResources._100000ths_of_a_second, FeaturesResources._100000ths_of_a_second_description); 166context.AddCustom("ffffff", FeaturesResources._1000000ths_of_a_second, FeaturesResources._1000000ths_of_a_second_description); 167context.AddCustom("fffffff", FeaturesResources._10000000ths_of_a_second, FeaturesResources._10000000ths_of_a_second_description); 169context.AddCustom("F", FeaturesResources._10ths_of_a_second_non_zero, FeaturesResources._10ths_of_a_second_non_zero_description); 170context.AddCustom("FF", FeaturesResources._100ths_of_a_second_non_zero, FeaturesResources._100ths_of_a_second_non_zero_description); 171context.AddCustom("FFF", FeaturesResources._1000ths_of_a_second_non_zero, FeaturesResources._1000ths_of_a_second_non_zero_description); 172context.AddCustom("FFFF", FeaturesResources._10000ths_of_a_second_non_zero, FeaturesResources._10000ths_of_a_second_non_zero_description); 173context.AddCustom("FFFFF", FeaturesResources._100000ths_of_a_second_non_zero, FeaturesResources._100000ths_of_a_second_non_zero_description); 174context.AddCustom("FFFFFF", FeaturesResources._1000000ths_of_a_second_non_zero, FeaturesResources._1000000ths_of_a_second_non_zero_description); 175context.AddCustom("FFFFFFF", FeaturesResources._10000000ths_of_a_second_non_zero, FeaturesResources._10000000ths_of_a_second_non_zero_description); 177context.AddCustom("gg", FeaturesResources.period_era, FeaturesResources.period_era_description); 179context.AddCustom("h", FeaturesResources._12_hour_clock_1_2_digits, FeaturesResources._12_hour_clock_1_2_digits_description); 180context.AddCustom("hh", FeaturesResources._12_hour_clock_2_digits, FeaturesResources._12_hour_clock_2_digits_description); 182context.AddCustom("H", FeaturesResources._24_hour_clock_1_2_digits, FeaturesResources._24_hour_clock_1_2_digits_description); 183context.AddCustom("HH", FeaturesResources._24_hour_clock_2_digits, FeaturesResources._24_hour_clock_2_digits_description); 185context.AddCustom("K", FeaturesResources.time_zone, FeaturesResources.time_zone_description); 187context.AddCustom("m", FeaturesResources.minute_1_2_digits, FeaturesResources.minute_1_2_digits_description); 188context.AddCustom("mm", FeaturesResources.minute_2_digits, FeaturesResources.minute_2_digits_description); 190context.AddCustom("M", FeaturesResources.month_1_2_digits, FeaturesResources.month_1_2_digits_description); 191context.AddCustom("MM", FeaturesResources.month_2_digits, FeaturesResources.month_2_digits_description); 192context.AddCustom("MMM", FeaturesResources.month_abbreviated, FeaturesResources.month_abbreviated_description); 193context.AddCustom("MMMM", FeaturesResources.month_full, FeaturesResources.month_full_description); 195context.AddCustom("s", FeaturesResources.second_1_2_digits, FeaturesResources.second_1_2_digits_description); 196context.AddCustom("ss", FeaturesResources.second_2_digits, FeaturesResources.second_2_digits_description); 198context.AddCustom("t", FeaturesResources.AM_PM_abbreviated, FeaturesResources.AM_PM_abbreviated_description); 199context.AddCustom("tt", FeaturesResources.AM_PM_full, FeaturesResources.AM_PM_full_description); 201context.AddCustom("y", FeaturesResources.year_1_2_digits, FeaturesResources.year_1_2_digits_description); 202context.AddCustom("yy", FeaturesResources.year_2_digits, FeaturesResources.year_2_digits_description); 203context.AddCustom("yyy", FeaturesResources.year_3_4_digits, FeaturesResources.year_3_4_digits_description); 204context.AddCustom("yyyy", FeaturesResources.year_4_digits, FeaturesResources.year_4_digits_description); 205context.AddCustom("yyyyy", FeaturesResources.year_5_digits, FeaturesResources.year_5_digits_description); 207context.AddCustom("z", FeaturesResources.utc_hour_offset_1_2_digits, FeaturesResources.utc_hour_offset_1_2_digits_description); 208context.AddCustom("zz", FeaturesResources.utc_hour_offset_2_digits, FeaturesResources.utc_hour_offset_2_digits_description); 209context.AddCustom("zzz", FeaturesResources.utc_hour_and_minute_offset, FeaturesResources.utc_hour_and_minute_offset_description); 211context.AddCustom(":", FeaturesResources.time_separator, FeaturesResources.time_separator_description); 212context.AddCustom("/", FeaturesResources.date_separator, FeaturesResources.date_separator_description);
EmbeddedLanguages\DateAndTime\EmbeddedCompletionContext.cs (2)
135examples.Count == 1 ? FeaturesResources.Example : FeaturesResources.Examples);
EmbeddedLanguages\Json\JsonLexer.cs (7)
114FeaturesResources.Unterminated_string, GetSpan(chars)); 127return new EmbeddedDiagnostic(FeaturesResources.Unterminated_string, GetSpan(chars)); 137_ => new EmbeddedDiagnostic(FeaturesResources.Invalid_escape_sequence, GetSpan(GetCharsToCurrentPosition(escapeStart))), 155return new EmbeddedDiagnostic(FeaturesResources.Invalid_escape_sequence, GetSpan(chars)); 269new EmbeddedDiagnostic(FeaturesResources.Error_parsing_comment, GetSpan(chars))); 290new EmbeddedDiagnostic(FeaturesResources.Unterminated_comment, GetSpan(chars))); 313new EmbeddedDiagnostic(FeaturesResources.Unterminated_comment, GetTextSpan(start, Position)));
EmbeddedLanguages\Json\JsonParser.cs (15)
55private static readonly string s_closeBracketExpected = string.Format(FeaturesResources._0_expected, ']'); 56private static readonly string s_closeBraceExpected = string.Format(FeaturesResources._0_expected, '}'); 57private static readonly string s_openParenExpected = string.Format(FeaturesResources._0_expected, '('); 58private static readonly string s_closeParenExpected = string.Format(FeaturesResources._0_expected, ')'); 59private static readonly string s_commaExpected = string.Format(FeaturesResources._0_expected, ','); 174return new EmbeddedDiagnostic(FeaturesResources.Syntax_error, GetSpan(text)); 184string.Format(FeaturesResources._0_unexpected, firstToken.VirtualChars[0]), 196string.Format(FeaturesResources._0_unexpected, ','), 203string.Format(FeaturesResources._0_unexpected, ':'), 244FeaturesResources.Properties_not_allowed_in_an_array, 259FeaturesResources.Property_name_must_be_followed_by_a_colon, 431FeaturesResources.Missing_property_value, 443FeaturesResources.Nested_properties_not_allowed, 496string.Format(FeaturesResources._0_unexpected, firstChar.ToString()), 507ConsumeToken(JsonKind.TextToken, FeaturesResources.Name_expected),
EmbeddedLanguages\Json\JsonParser.JsonNetSyntaxChecks.cs (7)
92return new EmbeddedDiagnostic(FeaturesResources.Invalid_number, GetSpan(chars)); 98return new EmbeddedDiagnostic(FeaturesResources.Invalid_number, GetSpan(chars)); 103return new EmbeddedDiagnostic(FeaturesResources.Invalid_number, GetSpan(chars)); 145? new EmbeddedDiagnostic(FeaturesResources.Invalid_constructor_name, node.NameToken.GetSpan()) 168return new EmbeddedDiagnostic(string.Format(FeaturesResources._0_expected, ','), GetFirstToken(nextChild).GetSpan()); 179return new EmbeddedDiagnostic(FeaturesResources.Only_properties_allowed_in_an_object, GetFirstToken(child).GetSpan()); 187? new EmbeddedDiagnostic(FeaturesResources.Invalid_property_name, node.NameToken.GetSpan())
EmbeddedLanguages\Json\JsonParser.StrictSyntaxChecker.cs (16)
85=> new EmbeddedDiagnostic(FeaturesResources.Comments_not_allowed, GetSpan(trivia.VirtualChars)), 103return new EmbeddedDiagnostic(FeaturesResources.Illegal_whitespace_character, ch.Span); 115return new EmbeddedDiagnostic(FeaturesResources.Only_properties_allowed_in_an_object, GetFirstToken(child).GetSpan()); 119return new EmbeddedDiagnostic(FeaturesResources.Trailing_comma_not_allowed, node.Sequence.NodesAndTokens[^1].Token.GetSpan()); 138return new EmbeddedDiagnostic(string.Format(FeaturesResources._0_unexpected, ","), child.GetSpan()); 143return new EmbeddedDiagnostic(string.Format(FeaturesResources._0_expected, ","), GetFirstToken(child).GetSpan()); 148return new EmbeddedDiagnostic(FeaturesResources.Trailing_comma_not_allowed, sequence[^1].GetSpan()); 156return new EmbeddedDiagnostic(FeaturesResources.Property_name_must_be_a_string, node.NameToken.GetSpan()); 159return new EmbeddedDiagnostic(FeaturesResources.Value_required, new TextSpan(node.ColonToken.VirtualChars[0].Span.End, 0)); 221? new EmbeddedDiagnostic(FeaturesResources.Invalid_number, literalToken.GetSpan()) 229return new EmbeddedDiagnostic(FeaturesResources.Strings_must_start_with_double_quote_not_single_quote, chars[0].Span); 234return new EmbeddedDiagnostic(FeaturesResources.Illegal_string_character, chars[i].Span); 243return new EmbeddedDiagnostic(FeaturesResources.Invalid_escape_sequence, TextSpan.FromBounds(chars[i].Span.Start, chars[i + 1].Span.End)); 258=> new(string.Format(FeaturesResources._0_literal_not_allowed, literalToken.VirtualChars.CreateString()), literalToken.GetSpan()); 261=> new(string.Format(FeaturesResources._0_literal_not_allowed, "-Infinity"), node.GetSpan()); 264=> new(FeaturesResources.Constructors_not_allowed, node.NewKeyword.GetSpan());
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (6)
23new LocalizableResourceString(nameof(FeaturesResources.Probable_JSON_string_detected), FeaturesResources.ResourceManager, typeof(FeaturesResources)), 24new LocalizableResourceString(nameof(FeaturesResources.Probable_JSON_string_detected), FeaturesResources.ResourceManager, typeof(FeaturesResources)))
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionCodeFixProvider.cs (2)
37RegisterCodeFix(context, FeaturesResources.Enable_all_JSON_editor_features, nameof(FeaturesResources.Enable_all_JSON_editor_features));
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDiagnosticAnalyzer.cs (6)
21new LocalizableResourceString(nameof(FeaturesResources.Invalid_JSON_pattern), FeaturesResources.ResourceManager, typeof(FeaturesResources)), 22new LocalizableResourceString(nameof(FeaturesResources.JSON_issue_0), FeaturesResources.ResourceManager, typeof(FeaturesResources)))
EmbeddedLanguages\RegularExpressions\LanguageServices\AbstractRegexDiagnosticAnalyzer.cs (6)
28new LocalizableResourceString(nameof(FeaturesResources.Invalid_regex_pattern), FeaturesResources.ResourceManager, typeof(FeaturesResources)), 29new LocalizableResourceString(nameof(FeaturesResources.Regex_issue_0), FeaturesResources.ResourceManager, typeof(FeaturesResources)))
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedCompletionProvider.cs (1)
23using static FeaturesResources;
EmbeddedLanguages\RegularExpressions\RegexCharClass.cs (1)
16using static FeaturesResources;
EmbeddedLanguages\RegularExpressions\RegexLexer.cs (4)
164FeaturesResources.Unterminated_regex_comment, 246string.Format(FeaturesResources.Unknown_property_0, category), 300FeaturesResources.Quantifier_and_capture_group_numbers_must_be_less_than_or_equal_to_Int32_MaxValue, 392FeaturesResources.Insufficient_or_invalid_hexadecimal_digits,
EmbeddedLanguages\RegularExpressions\RegexParser.cs (35)
276FeaturesResources.Too_many_bars_in_conditional_grouping, 568FeaturesResources.Illegal_x_y_with_x_less_than_y, 632new EmbeddedDiagnostic(FeaturesResources.Too_many_close_parens, _currentToken.GetSpan())); 698new EmbeddedDiagnostic(FeaturesResources.Not_enough_close_parens, GetTokenStartPositionSpan(_currentToken))); 784FeaturesResources.Unrecognized_grouping_construct, 829string.Format(FeaturesResources.Conditional_alternation_refers_to_an_undefined_group_number_0, capture.VirtualChars[0]), 837string.Format(FeaturesResources.Conditional_alternation_is_missing_a_closing_parenthesis_after_the_group_number_0, capture.VirtualChars[0]), 915FeaturesResources.Alternation_conditions_cannot_be_comments, 922FeaturesResources.Alternation_conditions_do_not_capture_and_cannot_be_named, 931FeaturesResources.Alternation_conditions_do_not_capture_and_cannot_be_named, 995FeaturesResources.Unrecognized_grouping_construct, 1016FeaturesResources.Invalid_group_name_Group_names_must_begin_with_a_word_character, 1029FeaturesResources.Capture_number_cannot_be_zero, 1063FeaturesResources.Unrecognized_grouping_construct, 1069FeaturesResources.Invalid_group_name_Group_names_must_begin_with_a_word_character, 1093FeaturesResources.Invalid_group_name_Group_names_must_begin_with_a_word_character, 1129string.Format(FeaturesResources.Reference_to_undefined_group_number_0, val), 1139string.Format(FeaturesResources.Reference_to_undefined_group_name_0, val), 1186new EmbeddedDiagnostic(FeaturesResources.Unrecognized_grouping_construct, openParenToken.GetSpan()))); 1285FeaturesResources.Unterminated_character_class_set, 1330FeaturesResources.x_y_range_in_reverse_order, 1514string.Format(FeaturesResources.Cannot_include_class_0_in_character_range, nextChar), 1570FeaturesResources.A_subtraction_must_be_the_last_element_in_a_character_class, 1592FeaturesResources.Illegal_backslash_at_end_of_pattern, 1638FeaturesResources.Illegal_backslash_at_end_of_pattern, 1769FeaturesResources.Malformed_named_back_reference, 1868string.Format(FeaturesResources.Unrecognized_escape_sequence_0, ch), 1900FeaturesResources.Missing_control_character, 1940FeaturesResources.Unrecognized_control_character, 1986message = FeaturesResources.Incomplete_character_escape; 1995message = FeaturesResources.Malformed_character_escape; 2006message = FeaturesResources.Incomplete_character_escape; 2012message = FeaturesResources.Unknown_property; 2036string.Format(FeaturesResources.Quantifier_0_following_nothing, token.VirtualChars[0]), token.GetSpan())); 2041string.Format(FeaturesResources.Nested_quantifier_0, token.VirtualChars[0]), token.GetSpan()));
Emit\CompilationOutputs.cs (1)
124throw new InvalidOperationException(string.Format(FeaturesResources.MethodMustReturnStreamThatSupportsReadAndSeek, methodName));
EncapsulateField\AbstractEncapsulateFieldService.cs (8)
85FeaturesResources.Encapsulate_fields_and_use_property, 87nameof(FeaturesResources.Encapsulate_fields_and_use_property)), 89FeaturesResources.Encapsulate_fields_but_still_use_field, 91nameof(FeaturesResources.Encapsulate_fields_but_still_use_field)), 100string.Format(FeaturesResources.Encapsulate_field_colon_0_and_use_property, field.Name), 102nameof(FeaturesResources.Encapsulate_field_colon_0_and_use_property) + "_" + field.Name), 104string.Format(FeaturesResources.Encapsulate_field_colon_0_but_still_use_field, field.Name), 106nameof(FeaturesResources.Encapsulate_field_colon_0_but_still_use_field) + "_" + field.Name),
Extensions\ExtensionFolder.cs (3)
122throw new InvalidOperationException(string.Format(FeaturesResources.Extension_0_is_already_registered, assemblyFilePath)); 145throw new InvalidOperationException(string.Format(FeaturesResources.Extension_0_was_not_registered, assemblyFilePath)); 160throw new InvalidOperationException(string.Format(FeaturesResources.Extension_0_was_not_registered, assemblyFilePath));
Extensions\ExtensionMessageHandlerService.cs (5)
63?? throw new InvalidOperationException(string.Format(FeaturesResources.Unable_to_get_the_directory_name_for_0, assemblyFilePath)); 117throw new InvalidOperationException(string.Format(FeaturesResources.No_extension_registered_as_0, assemblyFolderPath)); 177throw new InvalidOperationException(string.Format(FeaturesResources.No_extensions_registered_at_0, assemblyFolderPath)); 222throw new InvalidOperationException(string.Format(FeaturesResources.No_handler_found_for_message_0, messageName)); 229throw new InvalidOperationException(string.Format(FeaturesResources.Multiple_handlers_found_for_message_0, messageName));
ExtractClass\ExtractClassWithDialogCodeAction.cs (2)
49? FeaturesResources.Extract_base_record 50: FeaturesResources.Extract_base_class;
ExtractInterface\AbstractExtractInterfaceService.cs (4)
87var errorMessage = FeaturesResources.Could_not_extract_interface_colon_The_selection_is_not_inside_a_class_interface_struct; 94var errorMessage = FeaturesResources.Could_not_extract_interface_colon_The_selection_is_not_inside_a_class_interface_struct; 101var errorMessage = FeaturesResources.Could_not_extract_interface_colon_The_type_does_not_contain_any_member_that_can_be_extracted_to_an_interface; 419Debug.Assert(false, string.Format(FeaturesResources.Unexpected_interface_member_kind_colon_0, member.Kind.ToString()));
ExtractInterface\ExtractInterfaceCodeAction.cs (1)
66public override string Title => FeaturesResources.Extract_interface;
ExtractMethod\MethodExtractor.Analyzer.cs (4)
240FeaturesResources.Parameters_type_or_return_type_cannot_be_an_anonymous_type_colon_bracket_0_bracket, 253FeaturesResources.Failed_to_analyze_data_flow_for_0, 277return new OperationStatus(succeeded: true, string.Format(FeaturesResources.Asynchronous_method_cannot_have_ref_out_parameters_colon_bracket_0_bracket, string.Join(", ", names))); 895return new OperationStatus(succeeded: true, string.Format(FeaturesResources.Assigning_to_readonly_fields_must_be_done_in_a_constructor_colon_bracket_0_bracket, string.Join(", ", names)));
ExtractMethod\MethodExtractor.cs (1)
242string.Format(FeaturesResources.Type_parameter_0_is_hidden_by_another_type_parameter_1,
ExtractMethod\OperationStatus_Statics.cs (7)
10public static readonly OperationStatus FailedWithUnknownReason = new(succeeded: false, reason: FeaturesResources.Unknown_error_occurred); 11public static readonly OperationStatus OverlapsHiddenPosition = new(succeeded: false, FeaturesResources.generated_code_is_overlapping_with_hidden_portion_of_the_code); 12public static readonly OperationStatus NoValidLocationToInsertMethodCall = new(succeeded: false, FeaturesResources.No_valid_location_to_insert_method_call); 14public static readonly OperationStatus NoActiveStatement = new(succeeded: false, FeaturesResources.The_selection_contains_no_active_statement); 15public static readonly OperationStatus ErrorOrUnknownType = new(succeeded: true, FeaturesResources.The_selection_contains_an_error_or_unknown_type); 16public static readonly OperationStatus UnsafeAddressTaken = new(succeeded: true, FeaturesResources.The_address_of_a_variable_is_used_inside_the_selected_code); 17public static readonly OperationStatus LocalFunctionCallWithoutDeclaration = new(succeeded: false, FeaturesResources.The_selection_contains_a_local_function_call_without_its_declaration);
ExtractMethod\SelectionResult.cs (1)
267return new(succeeded: true, FeaturesResources.Not_all_code_paths_return);
ExtractMethod\SelectionValidator.cs (2)
53return (null, selectionInfo.Status.With(succeeded: false, FeaturesResources.Cannot_determine_valid_range_of_statements_to_extract)); 125return InitialSelectionInfo.Failure(FeaturesResources.No_valid_statement_range_to_extract);
FindUsages\AbstractFindUsagesService_FindImplementations.cs (3)
33FeaturesResources.Cannot_navigate_to_the_symbol_under_the_caret, cancellationToken).ConfigureAwait(false); 72string.Format(FeaturesResources._0_implementations, 81await context.ReportNoResultsAsync(FeaturesResources.The_symbol_has_no_implementations, cancellationToken).ConfigureAwait(false);
FindUsages\AbstractFindUsagesService_FindReferences.cs (3)
93await context.ReportNoResultsAsync(FeaturesResources.Find_All_References_not_invoked_on_applicable_symbol, cancellationToken).ConfigureAwait(false); 111string.Format(FeaturesResources._0_references, 219var searchTitle = string.Format(FeaturesResources._0_references, title);
FullyQualify\AbstractFullyQualifyCodeFixProvider.cs (1)
57string.Format(FeaturesResources.Fully_qualify_0, fixData.Name),
GenerateComparisonOperators\GenerateComparisonOperatorsCodeRefactoringProvider.cs (5)
96FeaturesResources.Generate_comparison_operators, 98nameof(FeaturesResources.Generate_comparison_operators))); 109string.Format(FeaturesResources.Generate_for_0, displayString), 111nameof(FeaturesResources.Generate_for_0) + "_" + displayString)); 115FeaturesResources.Generate_comparison_operators,
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.ConstructorDelegatingCodeAction.cs (1)
110return string.Format(FeaturesResources.Generate_delegating_constructor_0_1,
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (1)
256FeaturesResources.Add_null_checks,
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.GenerateConstructorWithDialogCodeAction.cs (2)
40public override string Title => FeaturesResources.Generate_constructor_from_members; 50FeaturesResources.Pick_members_to_be_used_as_constructor_parameters,
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeAction.cs (3)
214? FeaturesResources.Generate_Equals_and_GetHashCode 215: FeaturesResources.Generate_Equals 216: FeaturesResources.Generate_GetHashCode;
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (2)
275string.Format(FeaturesResources.Implement_0, displayName), 285FeaturesResources.Generate_operators,
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndHashWithDialogCodeAction.cs (1)
49return service.PickMembers(FeaturesResources.Pick_members_to_be_used_in_Equals_GetHashCode,
GenerateOverrides\GenerateOverridesWithDialogCodeAction.cs (2)
36public override string Title => FeaturesResources.Generate_overrides; 48FeaturesResources.Pick_members_to_override,
GenerateType\AbstractGenerateTypeService.CodeAction.cs (4)
52return string.Format(FeaturesResources.Generate_0_1_in_new_file, 58return string.Format(isNested ? FeaturesResources.Generate_nested_0_1 : FeaturesResources.Generate_0_1, 95public override string Title => FeaturesResources.Generate_new_type;
GenerateType\AbstractGenerateTypeService.cs (1)
85string.Format(FeaturesResources.Generate_type_0, state.Name),
GoToBase\AbstractGoToBaseService.cs (3)
39FeaturesResources.Cannot_navigate_to_the_symbol_under_the_caret, cancellationToken).ConfigureAwait(false); 53string.Format(FeaturesResources._0_bases, 85await context.ReportNoResultsAsync(FeaturesResources.The_symbol_has_no_base, cancellationToken).ConfigureAwait(false);
InheritanceMargin\AbstractInheritanceMarginService_Helpers.cs (1)
278var taggedText = new TaggedText(TextTags.Text, string.Format(FeaturesResources.Directives_from_0, fileName));
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (15)
94FeaturesResources.Add_null_checks_for_all_parameters, 96nameof(FeaturesResources.Add_null_checks_for_all_parameters))]; 118FeaturesResources.Add_null_check, 120nameof(FeaturesResources.Add_null_check))); 127string.Format(FeaturesResources.Add_0_check, "string.IsNullOrEmpty"), 132string.Format(FeaturesResources.Add_0_check, "string.IsNullOrWhiteSpace"), 147FeaturesResources.Add_negative_value_check, 149nameof(FeaturesResources.Add_negative_value_check)); 152FeaturesResources.Add_negative_value_or_zero_check, 154nameof(FeaturesResources.Add_negative_value_or_zero_check)); 163string.Format(FeaturesResources.Add_0_check, "Enum.IsDefined"), 750? FeaturesResources._0_cannot_be_negative_or_zero 751: FeaturesResources._0_cannot_be_negative, generator, parameterNameOfExpression))); 964nameof(string.IsNullOrEmpty) => FeaturesResources._0_cannot_be_null_or_empty, 965nameof(string.IsNullOrWhiteSpace) => FeaturesResources._0_cannot_be_null_or_whitespace,
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (10)
174FeaturesResources.Create_and_assign_remaining_as_fields, 177nameof(FeaturesResources.Create_and_assign_remaining_as_fields)); 179FeaturesResources.Create_and_assign_remaining_as_properties, 182nameof(FeaturesResources.Create_and_assign_remaining_as_properties)); 202string.Format(FeaturesResources.Create_and_assign_field_0, field.Name), 204nameof(FeaturesResources.Create_and_assign_field_0) + "_" + field.Name); 206string.Format(FeaturesResources.Create_and_assign_property_0, property.Name), 208nameof(FeaturesResources.Create_and_assign_property_0) + "_" + property.Name); 248? FeaturesResources.Initialize_field_0 249: FeaturesResources.Initialize_property_0;
InlineMethod\AbstractInlineMethodRefactoringProvider.cs (3)
198string.Format(FeaturesResources.Inline_0, calleeMethodSymbol.ToNameDisplayString()), 214string.Format(FeaturesResources.Inline_0, calleeMethodName), 221string.Format(FeaturesResources.Inline_and_keep_0, calleeMethodName),
IntroduceParameter\AbstractIntroduceParameterCodeRefactoringProvider.cs (8)
105string.Format(FeaturesResources.Introduce_parameter_for_0, nodeString), 114string.Format(FeaturesResources.Introduce_parameter_for_all_occurrences_of_0, nodeString), 170actionsBuilder.Add(CreateNewCodeAction(FeaturesResources.and_update_call_sites_directly, allOccurrences: false, IntroduceParameterCodeActionKind.Refactor)); 171actionsBuilderAllOccurrences.Add(CreateNewCodeAction(FeaturesResources.and_update_call_sites_directly, allOccurrences: true, IntroduceParameterCodeActionKind.Refactor)); 180FeaturesResources.into_extracted_method_to_invoke_at_call_sites, allOccurrences: false, IntroduceParameterCodeActionKind.Trampoline)); 182FeaturesResources.into_extracted_method_to_invoke_at_call_sites, allOccurrences: true, IntroduceParameterCodeActionKind.Trampoline)); 188FeaturesResources.into_new_overload, allOccurrences: false, IntroduceParameterCodeActionKind.Overload)); 190FeaturesResources.into_new_overload, allOccurrences: true, IntroduceParameterCodeActionKind.Overload));
IntroduceVariable\AbstractIntroduceLocalForExpressionCodeRefactoringProvider.cs (4)
56string.Format(FeaturesResources.Deconstruct_locals_for_0, nodeString), 58nameof(FeaturesResources.Deconstruct_locals_for_0) + "_" + nodeString), 64string.Format(FeaturesResources.Introduce_local_for_0, nodeString), 66nameof(FeaturesResources.Introduce_local_for_0) + "_" + nodeString),
IntroduceVariable\AbstractIntroduceVariableService.cs (7)
107return FeaturesResources.Introduce_query_variable; 114return FeaturesResources.Introduce_constant; 142return FeaturesResources.Introduce_constant; 185=> isConstant ? FeaturesResources.Introduce_constant : FeaturesResources.Introduce_field; 188=> isConstant ? FeaturesResources.Introduce_constant : FeaturesResources.Introduce_local;
IntroduceVariable\AbstractIntroduceVariableService.IntroduceVariableCodeAction.cs (10)
87{ FeaturesResources.Introduce_field_for_0, FeaturesResources.Introduce_local_for_0 }, 88{ FeaturesResources.Introduce_constant_for_0, FeaturesResources.Introduce_local_constant_for_0 } 91{ FeaturesResources.Introduce_field_for_all_occurrences_of_0, FeaturesResources.Introduce_local_for_all_occurrences_of_0 }, 92{ FeaturesResources.Introduce_constant_for_all_occurrences_of_0, FeaturesResources.Introduce_local_constant_for_all_occurrences_of_0 } 100? FeaturesResources.Introduce_query_variable_for_all_occurrences_of_0 101: FeaturesResources.Introduce_query_variable_for_0
InvertConditional\AbstractInvertConditionalCodeRefactoringProvider.cs (2)
33FeaturesResources.Invert_conditional, 35nameof(FeaturesResources.Invert_conditional)),
InvertLogical\AbstractInvertLogicalCodeRefactoringProvider.cs (1)
140=> string.Format(FeaturesResources.Replace_0_with_1,
LanguageServices\AnonymousTypeDisplayService\AbstractStructuralTypeDisplayService.cs (2)
82typeParts.Add(PlainText(FeaturesResources.Types_colon)); 100typeParts.Add(PlainText(FeaturesResources.is_));
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (17)
272AddDocumentationPartsWithPrefix(documentationComment.ReturnsText, SymbolDescriptionGroups.ReturnsDocumentation, FeaturesResources.Returns_colon); 273AddDocumentationPartsWithPrefix(documentationComment.ValueText, SymbolDescriptionGroups.ValueDocumentation, FeaturesResources.Value_colon); 546PlainText(FeaturesResources.Represents_an_object_whose_operations_will_be_resolved_at_runtime)); 649? Description(FeaturesResources.constant) 650: Description(FeaturesResources.field), 682? Description(FeaturesResources.local_constant) 683: Description(FeaturesResources.local_variable), 711Description(FeaturesResources.label), 718Description(FeaturesResources.range_variable), 758Description(FeaturesResources.parameter), parts); 765Description(symbol.IsDiscard ? FeaturesResources.discard : FeaturesResources.parameter), 772Description(FeaturesResources.discard), 794PlainText(FeaturesResources.in_), 812count == 1 ? PlainText(FeaturesResources.overload) : PlainText(FeaturesResources.overloads_), 837parts.AddRange(PlainText(FeaturesResources.is_));
MetadataAsSource\AbstractMetadataAsSourceService.DocCommentFormatter.cs (6)
25private static readonly string s_summaryHeader = FeaturesResources.Summary_colon; 26private static readonly string s_paramHeader = FeaturesResources.Parameters_colon; 28private static readonly string s_typeParameterHeader = FeaturesResources.Type_parameters_colon; 29private static readonly string s_returnsHeader = FeaturesResources.Returns_colon; 30private static readonly string s_valueHeader = FeaturesResources.Value_colon; 32private static readonly string s_remarksHeader = FeaturesResources.Remarks_colon;
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (2)
220useDecompiler ? FeaturesResources.Decompiled : FeaturesResources.from_metadata);
MetadataAsSource\MetadataAsSourceFileService.cs (1)
86throw new ArgumentException(FeaturesResources.symbol_cannot_be_a_namespace, nameof(symbol));
MetadataAsSource\MetadataAsSourceHelpers.cs (2)
37FeaturesResources.Assembly, 47return assemblyReference?.Display ?? FeaturesResources.location_unknown;
MetadataAsSource\SymbolMappingServiceFactory.cs (1)
35throw new ArgumentException(FeaturesResources.Document_must_be_contained_in_the_workspace_that_created_this_service, nameof(document));
MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceCodeRefactoringProvider.cs (4)
34? (FeaturesResources.Move_declaration_near_reference_may_change_semantics, nameof(FeaturesResources.Move_declaration_near_reference_may_change_semantics)) 35: (FeaturesResources.Move_declaration_near_reference, nameof(FeaturesResources.Move_declaration_near_reference));
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
36public override string Title => FeaturesResources.Move_static_members_to_another_type;
MoveToNamespace\MoveToNamespaceCodeAction.cs (2)
90MoveToNamespaceAnalysisResult.ContainerType.NamedType => FeaturesResources.Move_to_namespace, 91MoveToNamespaceAnalysisResult.ContainerType.Namespace => FeaturesResources.Move_contents_to_namespace,
NameTupleElement\AbstractNameTupleElementCodeRefactoringProvider.cs (2)
34string.Format(FeaturesResources.Add_tuple_element_name_0, elementName), 36nameof(FeaturesResources.Add_tuple_element_name_0) + "_" + elementName),
NavigateTo\RoslynNavigateToItem.cs (4)
129(true, true) => string.Format(FeaturesResources._0_dash_1, itemDocument.Name, combinedProjectName), 130(true, false) => string.Format(FeaturesResources.in_0_1_2, item.DeclaredSymbolInfo.ContainerDisplayName, itemDocument.Name, combinedProjectName), 131(false, true) => string.Format(FeaturesResources.project_0, combinedProjectName), 132(false, false) => string.Format(FeaturesResources.in_0_project_1, item.DeclaredSymbolInfo.ContainerDisplayName, combinedProjectName),
Options\EditorConfig\EditorConfigOptionsEnumerator.cs (1)
47yield return (FeaturesResources.NET_Code_Actions,
PdbSourceDocument\ImplementationAssemblyLookupService.cs (1)
82logger?.Log(FeaturesResources.Symbol_found_in_assembly_path_0, dllPath);
PdbSourceDocument\PdbFileLocatorService.cs (8)
47_logger?.Log(FeaturesResources.Found_embedded_PDB_file); 52_logger?.Log(FeaturesResources.Found_PDB_file_at_0, pdbFilePath); 62_logger?.Log(FeaturesResources.Could_not_find_PDB_on_disk_or_embedded); 83_logger?.Log(FeaturesResources.Found_PDB_on_symbol_server); 87_logger?.Log(FeaturesResources.Found_PDB_on_symbol_server_but_could_not_read_file); 92_logger?.Log(FeaturesResources.Could_not_find_PDB_on_disk_or_embedded_or_server); 98_logger?.Log(FeaturesResources.Timeout_symbol_server); 106_logger?.Log(FeaturesResources.Error_reading_PDB_0, ex.Message);
PdbSourceDocument\PdbSourceDocumentLoaderService.cs (12)
51LoadSourceFile(filePath, sourceDocument, encoding, FeaturesResources.embedded, ignoreChecksum: false, fromRemoteLocation: false) is { } existing) 54_logger?.Log(FeaturesResources._0_found_in_embedded_PDB_cached_source_file, sourceDocument.FilePath); 97_logger?.Log(FeaturesResources._0_found_in_embedded_PDB_but_could_not_write_file_1, sourceDocument.FilePath, ex.Message); 102var result = LoadSourceFile(filePath, sourceDocument, encoding, FeaturesResources.embedded, ignoreChecksum: false, fromRemoteLocation: false); 106_logger?.Log(FeaturesResources._0_found_in_embedded_PDB, sourceDocument.FilePath); 110_logger?.Log(FeaturesResources._0_found_in_embedded_PDB_but_checksum_failed, sourceDocument.FilePath); 144_logger?.Log(FeaturesResources._0_found_via_SourceLink, sourceDocument.FilePath); 148_logger?.Log(FeaturesResources._0_found_via_SourceLink_but_couldnt_read_file, sourceDocument.FilePath); 156_logger?.Log(FeaturesResources.Timeout_SourceLink); 168var result = LoadSourceFile(sourceDocument.FilePath, sourceDocument, encoding, FeaturesResources.external, ignoreChecksum: false, fromRemoteLocation: false); 172_logger?.Log(FeaturesResources._0_found_in_original_location, sourceDocument.FilePath); 176_logger?.Log(FeaturesResources._0_found_in_original_location_but_checksum_failed, sourceDocument.FilePath);
PdbSourceDocument\PdbSourceDocumentMetadataAsSourceFileProvider.cs (11)
95_logger?.Log(FeaturesResources.Navigating_to_symbol_0_from_1, symbol, assemblyName); 107_logger?.Log(FeaturesResources.Symbol_found_in_assembly_path_0, dllPath); 122_logger?.Log(FeaturesResources.Symbol_found_in_assembly_path_0, dllPath); 130_logger?.Log(FeaturesResources.Could_not_find_implementation_of_symbol_0, symbolToFind.MetadataName); 141_logger?.Log(FeaturesResources.Could_not_find_implementation_of_symbol_0, symbolToFind.MetadataName); 155_logger?.Log(FeaturesResources.Could_not_find_implementation_of_symbol_0, symbolToFind.MetadataName); 165_logger?.Log(FeaturesResources.Source_is_a_reference_assembly); 198_logger?.Log(FeaturesResources.No_source_document_info_found_in_PDB); 240_logger?.Log(FeaturesResources.Unable_to_create_0, tempFilePath); 286var sourceDescription = sourceFileInfos.FirstOrDefault(sfi => sfi!.FilePath?.Equals(navigateDocument.FilePath, StringComparison.OrdinalIgnoreCase) ?? false)?.SourceDescription ?? FeaturesResources.from_metadata; 303_logger?.Log(FeaturesResources.Source_code_language_information_was_not_found_in_PDB);
PreferFrameworkType\PreferFrameworkTypeCodeFixProvider.cs (2)
31RegisterCodeFix(context, FeaturesResources.Use_framework_type, nameof(FeaturesResources.Use_framework_type));
PreferFrameworkType\PreferFrameworkTypeDiagnosticAnalyzerBase.cs (6)
32new LocalizableResourceString(nameof(FeaturesResources.Use_framework_type), FeaturesResources.ResourceManager, typeof(FeaturesResources)), 33new LocalizableResourceString(nameof(FeaturesResources.Use_framework_type), FeaturesResources.ResourceManager, typeof(FeaturesResources)))
PullMemberUp\AbstractPullMemberUpRefactoringProvider.cs (2)
63? string.Format(FeaturesResources.Pull_0_up_to, selectedMembers.Single().ToNameDisplayString()) 64: FeaturesResources.Pull_selected_members_up,
PullMemberUp\Dialog\PullMemberUpWithDialogCodeAction.cs (1)
30public override string Title => FeaturesResources.Pull_members_up_to_base_type;
QuickInfo\QuickInfoUtilities.cs (7)
49builder.AddText(FeaturesResources.Awaited_task_returns_no_value); 58var symbolIndex = FeaturesResources.Awaited_task_returns_0.IndexOf(defaultSymbol); 61builder.AddText(FeaturesResources.Awaited_task_returns_0[..symbolIndex]); 63builder.AddText(FeaturesResources.Awaited_task_returns_0[(symbolIndex + defaultSymbol.Length)..]); 141var symbolIndex = FeaturesResources.Intercepted_by_0.IndexOf(defaultSymbol); 144builder.AddText(FeaturesResources.Intercepted_by_0[..symbolIndex]); 146builder.AddText(FeaturesResources.Intercepted_by_0[(symbolIndex + defaultSymbol.Length)..]);
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (2)
51RegisterCodeFix(context, FeaturesResources.Remove_unused_variable, nameof(FeaturesResources.Remove_unused_variable));
Rename\SymbolicRenameInfo.cs (14)
119return new SymbolicRenameInfo(FeaturesResources.You_must_rename_an_identifier); 139return new SymbolicRenameInfo(FeaturesResources.You_must_rename_an_identifier); 151return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element); 158return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element); 165return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element); 168return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element); 179return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element); 198return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element); 202return new SymbolicRenameInfo(FeaturesResources.Please_resolve_errors_in_your_code_before_renaming_this_element); 205return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_operators); 215return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_elements_that_are_defined_in_metadata); 234return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_elements_from_previous_submissions); 244return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element); 251return new SymbolicRenameInfo(FeaturesResources.You_cannot_rename_this_element);
ReplaceConditionalWithStatements\AbstractReplaceConditionalWithStatementsCodeRefactoringProvider.cs (2)
135FeaturesResources.Replace_conditional_expression_with_statements, 163FeaturesResources.Replace_conditional_expression_with_statements,
ReplaceDocCommentTextWithTag\AbstractReplaceDocCommentTextWithTagCodeRefactoringProvider.cs (2)
151string.Format(FeaturesResources.Use_0, replacement), 153nameof(FeaturesResources.Use_0) + "_" + replacement),
ReplaceMethodWithProperty\AbstractReplaceMethodWithPropertyService.cs (1)
25return FeaturesResources.Warning_Method_overrides_symbol_from_metadata;
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (4)
70string.Format(FeaturesResources.Replace_0_with_property, methodName), 83string.Format(FeaturesResources.Replace_0_and_1_with_property, methodName, setMethod.Name), 261ConflictAnnotation.Create(FeaturesResources.Method_referenced_implicitly))); 301ConflictAnnotation.Create(FeaturesResources.Method_referenced_implicitly)));
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (2)
218conflictMessage: FeaturesResources.Property_cannot_safely_be_replaced_with_a_method_call); 224FeaturesResources.Property_cannot_safely_be_replaced_with_a_method_call);
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (4)
60? FeaturesResources.Replace_0_with_method 61: FeaturesResources.Replace_0_with_methods; 264ConflictAnnotation.Create(FeaturesResources.Property_referenced_implicitly))); 271ConflictAnnotation.Create(FeaturesResources.Property_reference_cannot_be_updated)));
Shared\Extensions\ISymbolExtensions_2.cs (2)
90throw new ArgumentException(FeaturesResources.The_symbol_does_not_have_an_icon, nameof(symbol)); 161throw new ArgumentException(FeaturesResources.The_symbol_does_not_have_an_icon, nameof(symbol));
Shared\Utilities\ExtractTypeHelpers.cs (1)
221Debug.Assert(false, string.Format(FeaturesResources.Unexpected_interface_member_kind_colon_0, member.Kind.ToString()));
Shared\Utilities\SupportedPlatformData.cs (4)
33var text = string.Format(FeaturesResources._0_1, project.Name, Supported(!InvalidProjects.Contains(project.Id))); 40builder.AddText(FeaturesResources.You_can_use_the_navigation_bar_to_switch_contexts); 46=> supported ? FeaturesResources.Available : FeaturesResources.Not_Available;
SignatureHelp\SignatureHelpItem.cs (1)
51throw new ArgumentException(FeaturesResources.Variadic_SignatureHelpItem_must_have_at_least_one_parameter);
SimplifyThisOrMe\AbstractSimplifyThisOrMeDiagnosticAnalyzer.cs (3)
34new LocalizableResourceString(nameof(FeaturesResources.Remove_qualification), FeaturesResources.ResourceManager, typeof(FeaturesResources)),
Snippets\SnippetProviders\AbstractConsoleSnippetProvider.cs (1)
32public sealed override string Description => FeaturesResources.console_writeline;
Snippets\SnippetProviders\AbstractConstructorSnippetProvider.cs (1)
16public sealed override string Description => FeaturesResources.constructor;
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (2)
186string.Format(FeaturesResources.Fix_typo_0, nameText), 214string.Format(FeaturesResources.Change_0_to_1, oldName, newName),
SplitOrMergeIfStatements\Consecutive\AbstractMergeConsecutiveIfStatementsCodeRefactoringProvider.cs (2)
50var resourceText = direction == MergeDirection.Up ? FeaturesResources.Merge_with_previous_0_statement : FeaturesResources.Merge_with_next_0_statement;
SplitOrMergeIfStatements\Consecutive\AbstractSplitIntoConsecutiveIfStatementsCodeRefactoringProvider.cs (2)
49string.Format(FeaturesResources.Split_into_consecutive_0_statements, ifKeywordText), 51nameof(FeaturesResources.Split_into_consecutive_0_statements) + "_" + ifKeywordText);
SplitOrMergeIfStatements\Nested\AbstractMergeNestedIfStatementsCodeRefactoringProvider.cs (2)
38var resourceText = direction == MergeDirection.Up ? FeaturesResources.Merge_with_outer_0_statement : FeaturesResources.Merge_with_nested_0_statement;
SplitOrMergeIfStatements\Nested\AbstractSplitIntoNestedIfStatementsCodeRefactoringProvider.cs (2)
36string.Format(FeaturesResources.Split_into_nested_0_statements, ifKeywordText), 38nameof(FeaturesResources.Split_into_nested_0_statements) + "_" + ifKeywordText);
src\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Features\Release\net11.0\Microsoft.CodeAnalysis.FeaturesResources.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(FeaturesResources)));
SymbolSearch\SymbolSearchOptions.cs (1)
55private static readonly OptionGroup s_optionGroup = new(name: "symbol_search", description: FeaturesResources.Symbol_search);
UseNamedArguments\AbstractUseNamedArgumentsCodeRefactoringProvider.cs (6)
112string.Format(FeaturesResources.Add_argument_name_0, argumentName), 114nameof(FeaturesResources.Add_argument_name_0) + "_" + argumentName), 119string.Format(FeaturesResources.Add_argument_name_0_including_trailing_arguments, argumentName), 121nameof(FeaturesResources.Add_argument_name_0_including_trailing_arguments) + "_" + argumentName), 128string.Format(FeaturesResources.Add_argument_name_0, argumentName), 130nameof(FeaturesResources.Add_argument_name_0) + "_" + argumentName),
Workspace\MiscellaneousFileUtilities.cs (1)
91name: FeaturesResources.Miscellaneous_Files,
Wrapping\BinaryExpression\BinaryExpressionCodeActionComputer.cs (5)
79=> await TryCreateCodeActionAsync(await GetWrapEditsAsync(align, cancellationToken).ConfigureAwait(false), FeaturesResources.Wrapping, 80align ? FeaturesResources.Wrap_and_align_expression : FeaturesResources.Wrap_expression, 84=> TryCreateCodeActionAsync(GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_expression, cancellationToken);
Wrapping\ChainedExpression\ChainedExpressionCodeActionComputer.cs (10)
110FeaturesResources.Wrapping, FeaturesResources.Wrap_call_chain, cancellationToken).ConfigureAwait(false)); 113FeaturesResources.Wrapping, FeaturesResources.Wrap_and_align_call_chain, cancellationToken).ConfigureAwait(false)); 117=> actions.Add(await TryCreateCodeActionAsync(GetUnwrapEdits(), FeaturesResources.Wrapping, FeaturesResources.Unwrap_call_chain, cancellationToken).ConfigureAwait(false)); 123FeaturesResources.Wrapping, FeaturesResources.Wrap_long_call_chain, cancellationToken).ConfigureAwait(false)); 126FeaturesResources.Wrapping, FeaturesResources.Wrap_and_align_long_call_chain, cancellationToken).ConfigureAwait(false));
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
Copilot\Internal\SemanticSearch\CopilotSemanticSearchQueryExecutor.cs (1)
100Error = FeaturesResources.Semantic_search_only_supported_on_net_core,