69 overrides of FixableDiagnosticIds
ILLink.CodeFixProvider (5)
DynamicallyAccessedMembersCodeFixProvider.cs (1)
64 public sealed override ImmutableArray<string> FixableDiagnosticIds => SupportedDiagnostics.Select (dd => dd.Id).ToImmutableArray ();
RequiresAssemblyFilesCodeFixProvider.cs (1)
25 public sealed override ImmutableArray<string> FixableDiagnosticIds => SupportedDiagnostics.Select (dd => dd.Id).ToImmutableArray ();
RequiresDynamicCodeCodeFixProvider.cs (1)
22 public sealed override ImmutableArray<string> FixableDiagnosticIds => SupportedDiagnostics.Select (dd => dd.Id).ToImmutableArray ();
RequiresUnreferencedCodeCodeFixProvider.cs (1)
22 public sealed override ImmutableArray<string> FixableDiagnosticIds => SupportedDiagnostics.Select (dd => dd.Id).ToImmutableArray ();
UnconditionalSuppressMessageCodeFixProvider.cs (1)
24 public sealed override ImmutableArray<string> FixableDiagnosticIds
Microsoft.Analyzers.Extra (2)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
50public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(DiagDescriptors.LegacyLogging.Id);
MakeExeTypesInternalFixer.cs (1)
22public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(DiagDescriptors.MakeExeTypesInternal.Id);
Microsoft.AspNetCore.App.CodeFixes (9)
Authorization\AddAuthorizationBuilderFixer.cs (1)
23public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticDescriptors.UseAddAuthorizationBuilder.Id);
Dependencies\AddPackageFixer.cs (1)
110public override ImmutableArray<string> FixableDiagnosticIds { get; } = ["CS1061"];
DetectMismatchedParameterOptionalityFixer.cs (1)
19public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticDescriptors.DetectMismatchedParameterOptionality.Id);
Http\HeaderDictionaryAddFixer.cs (1)
24public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticDescriptors.DoNotUseIHeaderDictionaryAdd.Id);
Http\HeaderDictionaryIndexerFixer.cs (1)
19public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticDescriptors.UseHeaderDictionaryPropertiesInsteadOfIndexer.Id);
Kestrel\ListenOnIPv6AnyFixer.cs (1)
20public override ImmutableArray<string> FixableDiagnosticIds => [ DiagnosticDescriptors.KestrelShouldListenOnIPv6AnyInsteadOfIpAny.Id ];
PublicPartialProgramClassFixer.cs (1)
19public override ImmutableArray<string> FixableDiagnosticIds { get; } = [DiagnosticDescriptors.PublicPartialProgramClassNotRequired.Id];
RouteParameterUnusedParameterFixer.cs (1)
24public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(
WebApplicationBuilderFixer.cs (1)
20public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(
Microsoft.AspNetCore.Components.Analyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
22public override ImmutableArray<string> FixableDiagnosticIds
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
22public override ImmutableArray<string> FixableDiagnosticIds
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
AddResponseTypeAttributeCodeFixProvider.cs (1)
16public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(
ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs (1)
20public sealed override ImmutableArray<string> FixableDiagnosticIds =>
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (1)
55public override ImmutableArray<string> FixableDiagnosticIds { get; }
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
24public abstract override ImmutableArray<string> FixableDiagnosticIds { get; }
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
28public override ImmutableArray<string> FixableDiagnosticIds { get; }
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
23public override ImmutableArray<string> FixableDiagnosticIds => [IDEDiagnosticIds.MatchFolderAndNamespaceDiagnosticId];
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
19public sealed override ImmutableArray<string> FixableDiagnosticIds
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
33public sealed override ImmutableArray<string> FixableDiagnosticIds => [CS8129];
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\FixAllProvider\BatchFixerTests.cs (1)
63public override ImmutableArray<string> FixableDiagnosticIds
Formatting\CodeCleanupTests.TestFixers.cs (1)
21public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create("HasDefaultCase");
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
33public sealed override ImmutableArray<string> FixableDiagnosticIds => [CS8129];
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (10)
CodeFixes\CodeFixServiceTests.cs (5)
424public sealed override ImmutableArray<string> FixableDiagnosticIds 812public override ImmutableArray<string> FixableDiagnosticIds { get; } 847public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(_diagnosticId); 940public sealed override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(AdditionalFileAnalyzer.DiagnosticId); 1220public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(DeprioritizedAnalyzer.Descriptor.Id);
CodeFixes\ErrorCases\CodeFixExceptionInFixableDiagnosticIds.cs (1)
16public sealed override ImmutableArray<string> FixableDiagnosticIds
CodeFixes\ErrorCases\CodeFixExceptionInFixableDiagnosticIds2.cs (1)
15public sealed override ImmutableArray<string> FixableDiagnosticIds => new ImmutableArray<string>();
CodeFixes\ErrorCases\CodeFixExceptionInGetFixAllProvider.cs (1)
17public sealed override ImmutableArray<string> FixableDiagnosticIds
CodeFixes\ErrorCases\CodeFixExceptionInRegisterMethod.cs (1)
16public sealed override ImmutableArray<string> FixableDiagnosticIds
CodeFixes\ErrorCases\CodeFixExceptionInRegisterMethodAsync.cs (1)
16public sealed override ImmutableArray<string> FixableDiagnosticIds
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (3)
CodeFixes\CodeFixServiceTests.vb (2)
219Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String) 244Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
106Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
Microsoft.CodeAnalysis.Features (6)
src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (1)
55public override ImmutableArray<string> FixableDiagnosticIds { get; }
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
24public abstract override ImmutableArray<string> FixableDiagnosticIds { get; }
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
28public override ImmutableArray<string> FixableDiagnosticIds { get; }
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
23public override ImmutableArray<string> FixableDiagnosticIds => [IDEDiagnosticIds.MatchFolderAndNamespaceDiagnosticId];
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
19public sealed override ImmutableArray<string> FixableDiagnosticIds
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
38public sealed override ImmutableArray<string> FixableDiagnosticIds
Microsoft.CodeAnalysis.VisualBasic.Features (7)
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.vb (1)
24Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
51Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
32Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (1)
46Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
CodeFixes\IncorrectFunctionReturnType\IncorrectFunctionReturnTypeCodeFixProvider.vb (1)
29Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
CodeFixes\MoveToTopOfFile\MoveToTopOfFileCodeFixProvider.vb (1)
31Public NotOverridable Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
CodeFixes\OverloadBase\OverloadBaseCodeFixProvider.vb (1)
26Public Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
BatchFixAllProviderTests.cs (1)
91public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(LiteralZeroAnalyzer.Descriptor.Id);
Microsoft.Interop.ComInterfaceGenerator (3)
Analyzers\AddGeneratedComClassFixer.cs (1)
20public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(AnalyzerDiagnostics.Ids.AddGeneratedComClassAttribute);
Analyzers\AddMarshalAsToElementFixer.cs (1)
20public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(GeneratorDiagnostics.Ids.NotRecommendedGeneratedComInterfaceUsage);
Analyzers\ConvertComImportToGeneratedComInterfaceFixer.cs (1)
26public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(AnalyzerDiagnostics.Ids.ConvertToGeneratedComInterface);
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
25public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(GeneratorDiagnostics.Ids.TypeNotSupported);
Analyzers\ConvertToLibraryImportFixer.cs (1)
33public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(Ids.ConvertToLibraryImport);
Analyzers\CustomMarshallerAttributeFixer.cs (1)
105public override ImmutableArray<string> FixableDiagnosticIds { get; } =
Microsoft.ML.InternalCodeAnalyzer (2)
ContractsCheckNameofFixProvider.cs (1)
29public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(Id);
NameFixProvider.cs (1)
44public override ImmutableArray<string> FixableDiagnosticIds => _fixable;
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
EditorConfigSettings\DataProvider\DataProviderTests.MockAnalyzerReference.cs (1)
61public sealed override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(Id);
Microsoft.VisualStudio.LanguageServices.Xaml (1)
CodeFixes\RemoveUnnecessaryUsings\XamlRemoveUnnecessaryUsingsCodeFixProvider.cs (1)
32public sealed override ImmutableArray<string> FixableDiagnosticIds
System.Text.RegularExpressions.Generator (1)
UpgradeToGeneratedRegexCodeFixer.cs (1)
35public override ImmutableArray<string> FixableDiagnosticIds => ImmutableArray.Create(DiagnosticDescriptors.UseRegexSourceGeneration.Id);
System.Windows.Forms.Analyzers.CodeFixes.CSharp (1)
System\Windows\Forms\CSharp\CodeFixes\AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.cs (1)
24public sealed override ImmutableArray<string> FixableDiagnosticIds
System.Windows.Forms.Analyzers.CodeFixes.VisualBasic (1)
AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.vb (1)
27Public Overrides ReadOnly Property FixableDiagnosticIds As ImmutableArray(Of String)
18 references to FixableDiagnosticIds
Microsoft.Analyzers.Extra.Tests (3)
Resources\RoslynTestUtils.cs (3)
346if (fixer.FixableDiagnosticIds.Contains(d.Id)) 446diagnosticIds: fixer.FixableDiagnosticIds, 544return diags.Where(d => _fixer.FixableDiagnosticIds.Contains(d.Id));
Microsoft.Analyzers.Local.Tests (3)
Resources\RoslynTestUtils.cs (3)
347if (fixer.FixableDiagnosticIds.Contains(d.Id)) 447diagnosticIds: fixer.FixableDiagnosticIds, 545return diags.Where(d => _fixer.FixableDiagnosticIds.Contains(d.Id));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
162Dim ids = New HashSet(Of String)(fixer.FixableDiagnosticIds)
Microsoft.CodeAnalysis.Features (2)
CodeFixesAndRefactorings\CodeActionRequestPriorityProvider.cs (1)
96&& provider.HasDeprioritizedAnalyzerSupportingDiagnosticId(codeFixProvider.FixableDiagnosticIds)
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
130diagnosticIds: codeFixProvider.FixableDiagnosticIds,
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\CodeFixes\CodeFixService.cs (2)
855var ids = codeFixProvider.FixableDiagnosticIds; 861codeFixProvider.GetType().Name + "." + nameof(CodeFixProvider.FixableDiagnosticIds)));
Microsoft.CodeAnalysis.Workspaces (7)
CodeFixes\CodeFixContext.cs (4)
75/// Additionally, the <see cref="Diagnostic.Id"/> of each diagnostic must be in the set of the <see cref="CodeFixProvider.FixableDiagnosticIds"/> of the associated <see cref="CodeFixProvider"/>. 107/// Additionally, the <see cref="Diagnostic.Id"/> of each diagnostic must be in the set of the <see cref="CodeFixProvider.FixableDiagnosticIds"/> of the associated <see cref="CodeFixProvider"/>. 138/// The <see cref="Diagnostic.Id"/> of this diagnostic must be in the set of the <see cref="CodeFixProvider.FixableDiagnosticIds"/> of the associated <see cref="CodeFixProvider"/>. 163/// The <see cref="Diagnostic.Id"/> of this diagnostic must be in the set of the <see cref="CodeFixProvider.FixableDiagnosticIds"/> of the associated <see cref="CodeFixProvider"/>.
CodeFixes\CodeFixProvider.cs (1)
30/// The context must only contain diagnostics with a <see cref="Diagnostic.Id"/> included in the <see cref="FixableDiagnosticIds"/> for the current provider.
CodeFixes\FixAllOccurrences\FixAllProvider.cs (2)
36/// By default, it returns <see cref="CodeFixProvider.FixableDiagnosticIds"/> for the given <paramref name="originalCodeFixProvider"/>. 40=> originalCodeFixProvider.FixableDiagnosticIds;