79 instantiations of DiagnosticSet
Microsoft.CodeAnalysis.CSharp.EditorFeatures (49)
CodeCleanup\CSharpCodeCleanupService.cs (49)
27new DiagnosticSet(FeaturesResources.Apply_using_directive_placement_preferences, 30new DiagnosticSet(FeaturesResources.Apply_file_header_preferences, 38new DiagnosticSet(AnalyzersResources.Add_this_or_Me_qualification, 45new DiagnosticSet(FeaturesResources.Apply_language_framework_type_preferences, 53new DiagnosticSet(FeaturesResources.Apply_parentheses_preferences, 59new DiagnosticSet(AnalyzersResources.Add_accessibility_modifiers, 64new DiagnosticSet(FeaturesResources.Apply_coalesce_expression_preferences, 67new DiagnosticSet(FeaturesResources.Apply_object_collection_initialization_preferences, 70new DiagnosticSet(FeaturesResources.Apply_tuple_name_preferences, 73new DiagnosticSet(FeaturesResources.Apply_namespace_matches_folder_preferences, 76new DiagnosticSet(FeaturesResources.Apply_null_propagation_preferences, 79new DiagnosticSet(FeaturesResources.Apply_object_initializer_preferences, 82new DiagnosticSet(FeaturesResources.Apply_auto_property_preferences, 85new DiagnosticSet(FeaturesResources.Apply_compound_assignment_preferences, 88new DiagnosticSet(FeaturesResources.Apply_conditional_expression_preferences, 95new DiagnosticSet(FeaturesResources.Apply_inferred_anonymous_type_member_names_preferences, 98new DiagnosticSet(FeaturesResources.Apply_null_checking_preferences, 101new DiagnosticSet(FeaturesResources.Apply_simplify_boolean_expression_preferences, 104new DiagnosticSet(FeaturesResources.Apply_string_interpolation_preferences, 109new DiagnosticSet(CSharpFeaturesResources.Make_private_field_readonly_when_possible, 114new DiagnosticSet(FeaturesResources.Remove_unused_parameters, 119new DiagnosticSet(FeaturesResources.Remove_unused_suppressions, 124new DiagnosticSet(FeaturesResources.Apply_blank_line_preferences_experimental, 127new DiagnosticSet(FeaturesResources.Apply_statement_after_block_preferences_experimental, 136new DiagnosticSet(CSharpFeaturesResources.Apply_var_preferences, 141new DiagnosticSet(CSharpFeaturesResources.Apply_expression_block_body_preferences, 161new DiagnosticSet(CSharpFeaturesResources.Apply_pattern_matching_preferences, 179new DiagnosticSet(CSharpFeaturesResources.Apply_conditional_delegate_call_preferences, 184new DiagnosticSet(CSharpFeaturesResources.Apply_static_local_function_preferences, 187new DiagnosticSet(FeaturesResources.Sort_accessibility_modifiers, 190new DiagnosticSet(CSharpFeaturesResources.Apply_readonly_struct_preferences, 195new DiagnosticSet(CSharpFeaturesResources.Add_required_braces_for_single_line_control_statements, 199new DiagnosticSet(CSharpFeaturesResources.Apply_using_statement_preferences, 203new DiagnosticSet(CSharpFeaturesResources.Apply_namespace_preferences, 207new DiagnosticSet(CSharpFeaturesResources.Apply_method_group_conversion_preferences, 212new DiagnosticSet(CSharpFeaturesResources.Apply_default_T_preferences, 215new DiagnosticSet(CSharpFeaturesResources.Apply_deconstruct_preferences, 222new DiagnosticSet(CSharpFeaturesResources.Apply_new_preferences, 226new DiagnosticSet(CSharpFeaturesResources.Apply_inline_out_variable_preferences, 229new DiagnosticSet(CSharpFeaturesResources.Apply_range_preferences, 236new DiagnosticSet(CSharpFeaturesResources.Apply_local_over_anonymous_function_preferences, 240new DiagnosticSet(CSharpFeaturesResources.Apply_throw_expression_preferences, 245new DiagnosticSet(FeaturesResources.Apply_unused_value_preferences, 251new DiagnosticSet(CSharpFeaturesResources.Apply_blank_line_after_colon_in_constructor_initializer_preferences_experimental, 254new DiagnosticSet(CSharpFeaturesResources.Apply_blank_lines_between_consecutive_braces_preferences_experimental, 257new DiagnosticSet(CSharpFeaturesResources.Apply_embedded_statements_on_same_line_preferences_experimental, 262new DiagnosticSet(FeaturesResources.Remove_unnecessary_casts, 265new DiagnosticSet(FeaturesResources.Remove_unused_variables, 269new DiagnosticSet(CSharpAnalyzersResources.Remove_unnecessary_nullable_directive,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (30)
CodeCleanup\VisualBasicCodeCleanupService.vb (30)
22New DiagnosticSet(FeaturesResources.Apply_using_directive_placement_preferences, 24New DiagnosticSet(FeaturesResources.Apply_file_header_preferences, 26New DiagnosticSet(AnalyzersResources.Add_this_or_Me_qualification, 28New DiagnosticSet(FeaturesResources.Apply_language_framework_type_preferences, 30New DiagnosticSet(FeaturesResources.Apply_parentheses_preferences, 32New DiagnosticSet(AnalyzersResources.Add_accessibility_modifiers, 34New DiagnosticSet(FeaturesResources.Apply_coalesce_expression_preferences, 36New DiagnosticSet(FeaturesResources.Apply_object_collection_initialization_preferences, 38New DiagnosticSet(FeaturesResources.Apply_tuple_name_preferences, 40New DiagnosticSet(FeaturesResources.Apply_namespace_matches_folder_preferences, 42New DiagnosticSet(FeaturesResources.Apply_null_propagation_preferences, 44New DiagnosticSet(FeaturesResources.Apply_object_initializer_preferences, 46New DiagnosticSet(FeaturesResources.Apply_auto_property_preferences, 48New DiagnosticSet(FeaturesResources.Apply_compound_assignment_preferences, 50New DiagnosticSet(FeaturesResources.Apply_conditional_expression_preferences, 52New DiagnosticSet(FeaturesResources.Apply_inferred_anonymous_type_member_names_preferences, 54New DiagnosticSet(FeaturesResources.Apply_null_checking_preferences, 56New DiagnosticSet(FeaturesResources.Apply_simplify_boolean_expression_preferences, 58New DiagnosticSet(FeaturesResources.Apply_string_interpolation_preferences, 60New DiagnosticSet(AnalyzersResources.Make_field_readonly, 62New DiagnosticSet(FeaturesResources.Remove_unused_parameters, 64New DiagnosticSet(FeaturesResources.Remove_unused_suppressions, 66New DiagnosticSet(FeaturesResources.Apply_blank_line_preferences_experimental, 68New DiagnosticSet(FeaturesResources.Apply_statement_after_block_preferences_experimental, 70New DiagnosticSet(FeaturesResources.Sort_accessibility_modifiers, 72New DiagnosticSet(VBFeaturesResources.Apply_isnot_preferences, 74New DiagnosticSet(VBFeaturesResources.Apply_object_creation_preferences, 76New DiagnosticSet(FeaturesResources.Apply_unused_value_preferences, 78New DiagnosticSet(FeaturesResources.Remove_unnecessary_casts, 80New DiagnosticSet(FeaturesResources.Remove_unused_variables,
10 references to DiagnosticSet
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
CodeCleanup\CSharpCodeCleanupService.cs (2)
22private static readonly ImmutableArray<DiagnosticSet> s_diagnosticSets = 284protected override ImmutableArray<DiagnosticSet> GetDiagnosticSets()
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Features\CodeCleanup\AbstractCodeCleanupService.cs (3)
37protected abstract ImmutableArray<DiagnosticSet> GetDiagnosticSets(); 139Document document, ImmutableArray<DiagnosticSet> enabledDiagnosticSets, 143foreach (var diagnosticSet in enabledDiagnosticSets)
Features\CodeCleanup\EnabledDiagnosticOptions.cs (1)
14internal sealed record EnabledDiagnosticOptions(bool FormatDocument, bool RunThirdPartyFixers, ImmutableArray<DiagnosticSet> Diagnostics, OrganizeUsingsSet OrganizeUsings);
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
CodeCleanup\VisualBasicCodeCleanupService.vb (2)
21Private Shared ReadOnly s_diagnosticSets As ImmutableArray(Of DiagnosticSet) = ImmutableArray.Create( 91Protected Overrides Function GetDiagnosticSets() As ImmutableArray(Of DiagnosticSet)
Microsoft.VisualStudio.LanguageServices (2)
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
336var enabledDiagnosticSets = ArrayBuilder<DiagnosticSet>.GetInstance(); 338foreach (var diagnostic in enabledDiagnostics.Diagnostics)