97 references to GetResourceString
Microsoft.CodeAnalysis.CSharp.Features (97)
artifacts\obj\Microsoft.CodeAnalysis.CSharp.Features\Release\net8.0\Microsoft.CodeAnalysis.CSharp.CSharpAnalyzersResources.cs (97)
17
internal static string @Convert_switch_statement_to_expression =>
GetResourceString
("Convert_switch_statement_to_expression");
19
internal static string @Use_switch_expression =>
GetResourceString
("Use_switch_expression");
21
internal static string @Use_explicit_type_instead_of_var =>
GetResourceString
("Use_explicit_type_instead_of_var");
23
internal static string @Use_explicit_type =>
GetResourceString
("Use_explicit_type");
25
internal static string @use_var_instead_of_explicit_type =>
GetResourceString
("use_var_instead_of_explicit_type");
27
internal static string @Use_implicit_type =>
GetResourceString
("Use_implicit_type");
29
internal static string @Using_directive_is_unnecessary =>
GetResourceString
("Using_directive_is_unnecessary");
31
internal static string @Add_braces =>
GetResourceString
("Add_braces");
33
internal static string @Add_braces_to_0_statement =>
GetResourceString
("Add_braces_to_0_statement");
35
internal static string @Misplaced_using_directive =>
GetResourceString
("Misplaced_using_directive");
37
internal static string @Move_misplaced_using_directives =>
GetResourceString
("Move_misplaced_using_directives");
39
internal static string @Using_directives_must_be_placed_inside_of_a_namespace_declaration =>
GetResourceString
("Using_directives_must_be_placed_inside_of_a_namespace_declaration");
41
internal static string @Using_directives_must_be_placed_outside_of_a_namespace_declaration =>
GetResourceString
("Using_directives_must_be_placed_outside_of_a_namespace_declaration");
43
internal static string @Warning_colon_Moving_using_directives_may_change_code_meaning =>
GetResourceString
("Warning_colon_Moving_using_directives_may_change_code_meaning");
45
internal static string @Use_expression_body_for_method =>
GetResourceString
("Use_expression_body_for_method");
47
internal static string @Use_block_body_for_method =>
GetResourceString
("Use_block_body_for_method");
49
internal static string @Use_block_body_for_accessor =>
GetResourceString
("Use_block_body_for_accessor");
51
internal static string @Use_block_body_for_constructor =>
GetResourceString
("Use_block_body_for_constructor");
53
internal static string @Use_block_body_for_indexer =>
GetResourceString
("Use_block_body_for_indexer");
55
internal static string @Use_block_body_for_operator =>
GetResourceString
("Use_block_body_for_operator");
57
internal static string @Use_block_body_for_conversion_operator =>
GetResourceString
("Use_block_body_for_conversion_operator");
59
internal static string @Use_block_body_for_property =>
GetResourceString
("Use_block_body_for_property");
61
internal static string @Use_expression_body_for_accessor =>
GetResourceString
("Use_expression_body_for_accessor");
63
internal static string @Use_expression_body_for_constructor =>
GetResourceString
("Use_expression_body_for_constructor");
65
internal static string @Use_expression_body_for_indexer =>
GetResourceString
("Use_expression_body_for_indexer");
67
internal static string @Use_expression_body_for_operator =>
GetResourceString
("Use_expression_body_for_operator");
69
internal static string @Use_expression_body_for_conversion_operator =>
GetResourceString
("Use_expression_body_for_conversion_operator");
71
internal static string @Use_expression_body_for_property =>
GetResourceString
("Use_expression_body_for_property");
73
internal static string @Use_block_body_for_local_function =>
GetResourceString
("Use_block_body_for_local_function");
75
internal static string @Use_expression_body_for_local_function =>
GetResourceString
("Use_expression_body_for_local_function");
77
internal static string @Unreachable_code_detected =>
GetResourceString
("Unreachable_code_detected");
79
internal static string @Use_pattern_matching =>
GetResourceString
("Use_pattern_matching");
81
internal static string @Use_is_null_check =>
GetResourceString
("Use_is_null_check");
83
internal static string @Prefer_null_check_over_type_check =>
GetResourceString
("Prefer_null_check_over_type_check");
85
internal static string @Use_simple_using_statement =>
GetResourceString
("Use_simple_using_statement");
87
internal static string @using_statement_can_be_simplified =>
GetResourceString
("using_statement_can_be_simplified");
89
internal static string @if_statement_can_be_simplified =>
GetResourceString
("if_statement_can_be_simplified");
91
internal static string @Simplify_default_expression =>
GetResourceString
("Simplify_default_expression");
93
internal static string @default_expression_can_be_simplified =>
GetResourceString
("default_expression_can_be_simplified");
95
internal static string @Make_readonly_fields_writable =>
GetResourceString
("Make_readonly_fields_writable");
97
internal static string @Struct_contains_assignment_to_this_outside_of_constructor_Make_readonly_fields_writable =>
GetResourceString
("Struct_contains_assignment_to_this_outside_of_constructor_Make_readonly_fields_writable");
99
internal static string @Deconstruct_variable_declaration =>
GetResourceString
("Deconstruct_variable_declaration");
101
internal static string @Variable_declaration_can_be_deconstructed =>
GetResourceString
("Variable_declaration_can_be_deconstructed");
103
internal static string @Local_function_can_be_made_static =>
GetResourceString
("Local_function_can_be_made_static");
105
internal static string @Make_local_function_static =>
GetResourceString
("Make_local_function_static");
107
internal static string @_0_can_be_simplified =>
GetResourceString
("_0_can_be_simplified");
109
internal static string @Indexing_can_be_simplified =>
GetResourceString
("Indexing_can_be_simplified");
111
internal static string @Use_local_function =>
GetResourceString
("Use_local_function");
113
internal static string @Use_index_operator =>
GetResourceString
("Use_index_operator");
115
internal static string @Use_range_operator =>
GetResourceString
("Use_range_operator");
117
internal static string @Delegate_invocation_can_be_simplified =>
GetResourceString
("Delegate_invocation_can_be_simplified");
119
internal static string @Inline_variable_declaration =>
GetResourceString
("Inline_variable_declaration");
121
internal static string @Variable_declaration_can_be_inlined =>
GetResourceString
("Variable_declaration_can_be_inlined");
123
internal static string @Negate_expression_changes_semantics =>
GetResourceString
("Negate_expression_changes_semantics");
125
internal static string @Remove_operator_preserves_semantics =>
GetResourceString
("Remove_operator_preserves_semantics");
127
internal static string @Remove_unnecessary_suppression_operator =>
GetResourceString
("Remove_unnecessary_suppression_operator");
129
internal static string @Suppression_operator_has_no_effect_and_can_be_misinterpreted =>
GetResourceString
("Suppression_operator_has_no_effect_and_can_be_misinterpreted");
131
internal static string @typeof_can_be_converted_to_nameof =>
GetResourceString
("typeof_can_be_converted_to_nameof");
133
internal static string @Use_new =>
GetResourceString
("Use_new");
135
internal static string @new_expression_can_be_simplified =>
GetResourceString
("new_expression_can_be_simplified");
137
internal static string @Discard_can_be_removed =>
GetResourceString
("Discard_can_be_removed");
139
internal static string @Remove_unnessary_discard =>
GetResourceString
("Remove_unnessary_discard");
141
internal static string @Embedded_statements_must_be_on_their_own_line =>
GetResourceString
("Embedded_statements_must_be_on_their_own_line");
143
internal static string @Consecutive_braces_must_not_have_a_blank_between_them =>
GetResourceString
("Consecutive_braces_must_not_have_a_blank_between_them");
145
internal static string @Blank_line_not_allowed_after_constructor_initializer_colon =>
GetResourceString
("Blank_line_not_allowed_after_constructor_initializer_colon");
147
internal static string @Null_check_can_be_clarified =>
GetResourceString
("Null_check_can_be_clarified");
149
internal static string @Convert_to_file_scoped_namespace =>
GetResourceString
("Convert_to_file_scoped_namespace");
151
internal static string @Convert_to_block_scoped_namespace =>
GetResourceString
("Convert_to_block_scoped_namespace");
153
internal static string @Use_pattern_matching_may_change_code_meaning =>
GetResourceString
("Use_pattern_matching_may_change_code_meaning");
155
internal static string @Property_pattern_can_be_simplified =>
GetResourceString
("Property_pattern_can_be_simplified");
157
internal static string @Simplify_property_pattern =>
GetResourceString
("Simplify_property_pattern");
159
internal static string @Use_tuple_to_swap_values =>
GetResourceString
("Use_tuple_to_swap_values");
161
internal static string @Lambda_expression_can_be_removed =>
GetResourceString
("Lambda_expression_can_be_removed");
163
internal static string @Remove_unnecessary_lambda_expression =>
GetResourceString
("Remove_unnecessary_lambda_expression");
165
internal static string @Simplify_delegate_invocation =>
GetResourceString
("Simplify_delegate_invocation");
167
internal static string @Use_is_not_null_check =>
GetResourceString
("Use_is_not_null_check");
169
internal static string @Use_is_object_check =>
GetResourceString
("Use_is_object_check");
171
internal static string @Convert_to_Program_Main_style_program =>
GetResourceString
("Convert_to_Program_Main_style_program");
173
internal static string @Convert_to_top_level_statements =>
GetResourceString
("Convert_to_top_level_statements");
175
internal static string @Use_Utf8_string_literal =>
GetResourceString
("Use_Utf8_string_literal");
177
internal static string @Nullable_directive_is_unnecessary =>
GetResourceString
("Nullable_directive_is_unnecessary");
179
internal static string @Remove_unnecessary_nullable_directive =>
GetResourceString
("Remove_unnecessary_nullable_directive");
181
internal static string @Nullable_directive_is_redundant =>
GetResourceString
("Nullable_directive_is_redundant");
183
internal static string @Remove_redundant_nullable_directive =>
GetResourceString
("Remove_redundant_nullable_directive");
185
internal static string @Use_expression_body_for_lambda_expression =>
GetResourceString
("Use_expression_body_for_lambda_expression");
187
internal static string @Use_block_body_for_lambda_expression =>
GetResourceString
("Use_block_body_for_lambda_expression");
189
internal static string @Make_struct_readonly =>
GetResourceString
("Make_struct_readonly");
191
internal static string @Struct_can_be_made_readonly =>
GetResourceString
("Struct_can_be_made_readonly");
193
internal static string @Blank_line_not_allowed_after_conditional_expression_token =>
GetResourceString
("Blank_line_not_allowed_after_conditional_expression_token");
195
internal static string @Blank_line_not_allowed_after_arrow_expression_clause_token =>
GetResourceString
("Blank_line_not_allowed_after_arrow_expression_clause_token");
197
internal static string @Use_nameof =>
GetResourceString
("Use_nameof");
199
internal static string @Make_member_readonly =>
GetResourceString
("Make_member_readonly");
201
internal static string @Member_can_be_made_readonly =>
GetResourceString
("Member_can_be_made_readonly");
203
internal static string @Use_primary_constructor =>
GetResourceString
("Use_primary_constructor");
205
internal static string @Anonymous_function_can_be_made_static =>
GetResourceString
("Anonymous_function_can_be_made_static");
207
internal static string @Make_anonymous_function_static =>
GetResourceString
("Make_anonymous_function_static");
209
internal static string @Use_System_Threading_Lock =>
GetResourceString
("Use_System_Threading_Lock");