85 references to GetResourceString
Microsoft.CodeAnalysis.CodeStyle (85)
Microsoft.CodeAnalysis.AnalyzersResources.cs (85)
17
internal static string @Remove_Unnecessary_Cast =>
GetResourceString
("Remove_Unnecessary_Cast");
19
internal static string @Remove_unused_member =>
GetResourceString
("Remove_unused_member");
21
internal static string @Private_member_0_is_unused =>
GetResourceString
("Private_member_0_is_unused");
23
internal static string @Remove_unused_private_members =>
GetResourceString
("Remove_unused_private_members");
25
internal static string @Remove_unread_private_members =>
GetResourceString
("Remove_unread_private_members");
27
internal static string @Private_member_0_can_be_removed_as_the_value_assigned_to_it_is_never_read =>
GetResourceString
("Private_member_0_can_be_removed_as_the_value_assigned_to_it_is_never_read");
29
internal static string @Private_method_0_can_be_removed_as_it_is_never_invoked =>
GetResourceString
("Private_method_0_can_be_removed_as_it_is_never_invoked");
31
internal static string @Private_property_0_can_be_converted_to_a_method_as_its_get_accessor_is_never_invoked =>
GetResourceString
("Private_property_0_can_be_converted_to_a_method_as_its_get_accessor_is_never_invoked");
33
internal static string @A_source_file_is_missing_a_required_header =>
GetResourceString
("A_source_file_is_missing_a_required_header");
35
internal static string @The_file_header_is_missing_or_not_located_at_the_top_of_the_file =>
GetResourceString
("The_file_header_is_missing_or_not_located_at_the_top_of_the_file");
37
internal static string @A_source_file_contains_a_header_that_does_not_match_the_required_text =>
GetResourceString
("A_source_file_contains_a_header_that_does_not_match_the_required_text");
39
internal static string @The_file_header_does_not_match_the_required_text =>
GetResourceString
("The_file_header_does_not_match_the_required_text");
41
internal static string @Use_throw_expression =>
GetResourceString
("Use_throw_expression");
43
internal static string @Add_this_or_Me_qualification =>
GetResourceString
("Add_this_or_Me_qualification");
45
internal static string @Member_access_should_be_qualified =>
GetResourceString
("Member_access_should_be_qualified");
47
internal static string @Null_check_can_be_simplified =>
GetResourceString
("Null_check_can_be_simplified");
49
internal static string @Simplify_collection_initialization =>
GetResourceString
("Simplify_collection_initialization");
51
internal static string @Collection_initialization_can_be_simplified =>
GetResourceString
("Collection_initialization_can_be_simplified");
53
internal static string @Simplify_object_initialization =>
GetResourceString
("Simplify_object_initialization");
55
internal static string @Object_initialization_can_be_simplified =>
GetResourceString
("Object_initialization_can_be_simplified");
57
internal static string @Add_readonly_modifier =>
GetResourceString
("Add_readonly_modifier");
59
internal static string @Make_field_readonly =>
GetResourceString
("Make_field_readonly");
61
internal static string @Naming_rule_violation_0 =>
GetResourceString
("Naming_rule_violation_0");
63
internal static string @Naming_Styles =>
GetResourceString
("Naming_Styles");
65
internal static string @Add_missing_cases =>
GetResourceString
("Add_missing_cases");
67
internal static string @Populate_switch =>
GetResourceString
("Populate_switch");
69
internal static string @Modifiers_are_not_ordered =>
GetResourceString
("Modifiers_are_not_ordered");
71
internal static string @Order_modifiers =>
GetResourceString
("Order_modifiers");
73
internal static string @Expression_value_is_never_used =>
GetResourceString
("Expression_value_is_never_used");
75
internal static string @Unnecessary_assignment_of_a_value_to_0 =>
GetResourceString
("Unnecessary_assignment_of_a_value_to_0");
77
internal static string @Unnecessary_assignment_of_a_value =>
GetResourceString
("Unnecessary_assignment_of_a_value");
79
internal static string @Avoid_unnecessary_value_assignments_in_your_code_as_these_likely_indicate_redundant_value_computations_If_the_value_computation_is_not_redundant_and_you_intend_to_retain_the_assignmentcomma_then_change_the_assignment_target_to_a_local_variable_whose_name_starts_with_an_underscore_and_is_optionally_followed_by_an_integercomma_such_as___comma__1_comma__2_comma_etc =>
GetResourceString
("Avoid_unnecessary_value_assignments_in_your_code_as_these_likely_indicate_redundant_value_computations_If_the_value_computation_is_not_redundant_and_you_intend_to_retain_the_assignmentcomma_then_change_the_assignment_target_to_a_local_variable_whose_name_starts_with_an_underscore_and_is_optionally_followed_by_an_integercomma_such_as___comma__1_comma__2_comma_etc");
81
internal static string @Remove_unused_parameter =>
GetResourceString
("Remove_unused_parameter");
83
internal static string @Remove_unused_parameter_0 =>
GetResourceString
("Remove_unused_parameter_0");
85
internal static string @Avoid_unused_parameters_in_your_code_If_the_parameter_cannot_be_removed_then_change_its_name_so_it_starts_with_an_underscore_and_is_optionally_followed_by_an_integer_such_as__comma__1_comma__2_etc_These_are_treated_as_special_discard_symbol_names =>
GetResourceString
("Avoid_unused_parameters_in_your_code_If_the_parameter_cannot_be_removed_then_change_its_name_so_it_starts_with_an_underscore_and_is_optionally_followed_by_an_integer_such_as__comma__1_comma__2_etc_These_are_treated_as_special_discard_symbol_names");
87
internal static string @Remove_unused_parameter_0_if_it_is_not_part_of_a_shipped_public_API =>
GetResourceString
("Remove_unused_parameter_0_if_it_is_not_part_of_a_shipped_public_API");
89
internal static string @Parameter_0_can_be_removed_if_it_is_not_part_of_a_shipped_public_API_its_initial_value_is_never_used =>
GetResourceString
("Parameter_0_can_be_removed_if_it_is_not_part_of_a_shipped_public_API_its_initial_value_is_never_used");
91
internal static string @Parameter_0_can_be_removed_its_initial_value_is_never_used =>
GetResourceString
("Parameter_0_can_be_removed_its_initial_value_is_never_used");
93
internal static string @Add_accessibility_modifiers =>
GetResourceString
("Add_accessibility_modifiers");
95
internal static string @Accessibility_modifiers_required =>
GetResourceString
("Accessibility_modifiers_required");
97
internal static string @Convert_to_conditional_expression =>
GetResourceString
("Convert_to_conditional_expression");
99
internal static string @Use_coalesce_expression =>
GetResourceString
("Use_coalesce_expression");
101
internal static string @Changes_to_expression_trees_may_result_in_behavior_changes_at_runtime =>
GetResourceString
("Changes_to_expression_trees_may_result_in_behavior_changes_at_runtime");
103
internal static string @Parentheses_can_be_removed =>
GetResourceString
("Parentheses_can_be_removed");
105
internal static string @Remove_unnecessary_parentheses =>
GetResourceString
("Remove_unnecessary_parentheses");
107
internal static string @Add_parentheses_for_clarity =>
GetResourceString
("Add_parentheses_for_clarity");
109
internal static string @Parentheses_should_be_added_for_clarity =>
GetResourceString
("Parentheses_should_be_added_for_clarity");
111
internal static string @Prefer_explicitly_provided_tuple_element_name =>
GetResourceString
("Prefer_explicitly_provided_tuple_element_name");
113
internal static string @Use_explicitly_provided_tuple_name =>
GetResourceString
("Use_explicitly_provided_tuple_name");
115
internal static string @Use_System_HashCode =>
GetResourceString
("Use_System_HashCode");
117
internal static string @GetHashCode_implementation_can_be_simplified =>
GetResourceString
("GetHashCode_implementation_can_be_simplified");
119
internal static string @Use_compound_assignment =>
GetResourceString
("Use_compound_assignment");
121
internal static string @Use_null_propagation =>
GetResourceString
("Use_null_propagation");
123
internal static string @Use_inferred_member_name =>
GetResourceString
("Use_inferred_member_name");
125
internal static string @Member_name_can_be_simplified =>
GetResourceString
("Member_name_can_be_simplified");
127
internal static string @Interpolation_can_be_simplified =>
GetResourceString
("Interpolation_can_be_simplified");
129
internal static string @Simplify_interpolation =>
GetResourceString
("Simplify_interpolation");
131
internal static string @Use_auto_property =>
GetResourceString
("Use_auto_property");
133
internal static string @Format_string_contains_invalid_placeholder =>
GetResourceString
("Format_string_contains_invalid_placeholder");
135
internal static string @Invalid_format_string =>
GetResourceString
("Invalid_format_string");
137
internal static string @Simplify_conditional_expression =>
GetResourceString
("Simplify_conditional_expression");
139
internal static string @Conditional_expression_can_be_simplified =>
GetResourceString
("Conditional_expression_can_be_simplified");
141
internal static string @Invalid_global_SuppressMessageAttribute =>
GetResourceString
("Invalid_global_SuppressMessageAttribute");
143
internal static string @Invalid_scope_for_SuppressMessageAttribute =>
GetResourceString
("Invalid_scope_for_SuppressMessageAttribute");
145
internal static string @Invalid_or_missing_target_for_SuppressMessageAttribute =>
GetResourceString
("Invalid_or_missing_target_for_SuppressMessageAttribute");
147
internal static string @Avoid_legacy_format_target_in_SuppressMessageAttribute =>
GetResourceString
("Avoid_legacy_format_target_in_SuppressMessageAttribute");
149
internal static string @Avoid_legacy_format_target_0_in_SuppressMessageAttribute =>
GetResourceString
("Avoid_legacy_format_target_0_in_SuppressMessageAttribute");
151
internal static string @Remove_unnecessary_suppression =>
GetResourceString
("Remove_unnecessary_suppression");
153
internal static string @Remove_redundant_equality =>
GetResourceString
("Remove_redundant_equality");
155
internal static string @Use_decrement_operator =>
GetResourceString
("Use_decrement_operator");
157
internal static string @Use_increment_operator =>
GetResourceString
("Use_increment_operator");
159
internal static string @Avoid_multiple_blank_lines =>
GetResourceString
("Avoid_multiple_blank_lines");
161
internal static string @Blank_line_required_between_block_and_subsequent_statement =>
GetResourceString
("Blank_line_required_between_block_and_subsequent_statement");
163
internal static string @Change_namespace_to_match_folder_structure =>
GetResourceString
("Change_namespace_to_match_folder_structure");
165
internal static string @Namespace_0_does_not_match_folder_structure_expected_1 =>
GetResourceString
("Namespace_0_does_not_match_folder_structure_expected_1");
167
internal static string @Namespace_does_not_match_folder_structure =>
GetResourceString
("Namespace_does_not_match_folder_structure");
169
internal static string @Simplify_LINQ_expression =>
GetResourceString
("Simplify_LINQ_expression");
171
internal static string @Fix_formatting =>
GetResourceString
("Fix_formatting");
173
internal static string @_0_statement_implicitly_converts_1_to_2_Add_an_explicit_cast_to_make_intent_clearer_as_it_may_fail_at_runtime =>
GetResourceString
("_0_statement_implicitly_converts_1_to_2_Add_an_explicit_cast_to_make_intent_clearer_as_it_may_fail_at_runtime");
175
internal static string @Add_explicit_cast =>
GetResourceString
("Add_explicit_cast");
177
internal static string @Name_can_be_simplified =>
GetResourceString
("Name_can_be_simplified");
179
internal static string @Simplify_Names =>
GetResourceString
("Simplify_Names");
181
internal static string @Simplify_Member_Access =>
GetResourceString
("Simplify_Member_Access");
183
internal static string @Remove_accessibility_modifiers =>
GetResourceString
("Remove_accessibility_modifiers");
185
internal static string @Simplify_check =>
GetResourceString
("Simplify_check");