13 types derived from FixAllProvider
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
24private sealed class CustomFixAllProvider : FixAllProvider
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Formatting\CodeCleanupTests.TestFixers.cs (2)
83private class ModifySolutionFixAll : FixAllProvider 134private class ModifySolutionFixAll : FixAllProvider
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorFixAllProvider.cs (1)
29private sealed class CSharpUsePrimaryConstructorFixAllProvider : FixAllProvider
src\Analyzers\CSharp\CodeFixes\UseSystemThreadingLock\CSharpUseSystemThreadingLockFixAllProvider.cs (1)
21private sealed class CSharpUseSystemThreadingLockFixAllProvider : FixAllProvider
Microsoft.CodeAnalysis.Features (3)
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
28internal abstract class AbstractSuppressionBatchFixAllProvider : FixAllProvider
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
17private sealed class SuppressionFixAllProvider : FixAllProvider
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
24private sealed class CustomFixAllProvider : FixAllProvider
Microsoft.CodeAnalysis.Workspaces (2)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
22internal sealed class BatchFixAllProvider : FixAllProvider
CodeFixes\FixAllOccurrences\NoOpFixAllProvider.cs (1)
17internal sealed class NoOpFixAllProvider : FixAllProvider
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
166private sealed class CustomFixAllProvider : FixAllProvider
Microsoft.Interop.LibraryImportGenerator (2)
Analyzers\CustomMarshallerAttributeFixer.cs (1)
25private sealed class CustomFixAllProvider : FixAllProvider
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
166private sealed class CustomFixAllProvider : FixAllProvider
194 references to FixAllProvider
ILLink.CodeFixProvider (2)
BaseAttributeCodeFixProvider.cs (1)
27 public sealed override FixAllProvider GetFixAllProvider ()
DynamicallyAccessedMembersCodeFixProvider.cs (1)
87 public sealed override FixAllProvider GetFixAllProvider ()
Microsoft.Analyzers.Extra (2)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
53public override FixAllProvider? GetFixAllProvider() => null;
MakeExeTypesInternalFixer.cs (1)
24public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
450var fixAllProvider = fixer.GetFixAllProvider();
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
451var fixAllProvider = fixer.GetFixAllProvider();
Microsoft.AspNetCore.App.CodeFixes (9)
Authorization\AddAuthorizationBuilderFixer.cs (1)
25public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Dependencies\AddPackageFixer.cs (1)
104public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
DetectMismatchedParameterOptionalityFixer.cs (1)
21public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Http\HeaderDictionaryAddFixer.cs (1)
26public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Http\HeaderDictionaryIndexerFixer.cs (1)
21public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Kestrel\ListenOnIPv6AnyFixer.cs (1)
22public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
PublicPartialProgramClassFixer.cs (1)
21public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
RouteParameterUnusedParameterFixer.cs (1)
27public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
WebApplicationBuilderFixer.cs (1)
27public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Microsoft.AspNetCore.Components.Analyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
25public sealed override FixAllProvider GetFixAllProvider()
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
25public sealed override FixAllProvider GetFixAllProvider()
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
AddResponseTypeAttributeCodeFixProvider.cs (1)
20public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs (1)
23public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Microsoft.CodeAnalysis.CodeStyle.Fixes (27)
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (1)
49public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\AliasAmbiguousType\AbstractAliasAmbiguousTypeCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider() => null;
src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (2)
449public override FixAllProvider GetFixAllProvider() 450=> FixAllProvider.Create(async (context, document, diagnostics) =>
src\Analyzers\Core\CodeFixes\ConvertToAsync\AbstractConvertToAsyncCodeFixProvider.cs (1)
23public override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
22public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (2)
229public override FixAllProvider GetFixAllProvider() 230=> FixAllProvider.Create(async (context, document, diagnostics) =>
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
16public override FixAllProvider? GetFixAllProvider() => null;
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberCodeFixProvider.cs (1)
21public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\AbstractImplementAbstractClassCodeFixProvider.cs (1)
19public sealed override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceCodeFixProvider.cs (1)
27public sealed override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\Iterator\AbstractIteratorCodeFixProvider.cs (1)
18public override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\MakeMethodAsynchronous\AbstractMakeMethodAsynchronousCodeFixProvider.cs (1)
31public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
68public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\NamingStyle\NamingStyleCodeFixProvider.cs (1)
40public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\NewLines\ConsecutiveStatementPlacement\ConsecutiveStatementPlacementCodeFixProvider.cs (2)
60public override FixAllProvider GetFixAllProvider() 61=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\Core\CodeFixes\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesCodeFixProvider.cs (2)
145public override FixAllProvider? GetFixAllProvider() 146=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
22public sealed override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\UnsealClass\AbstractUnsealClassCodeFixProvider.cs (1)
23public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (1)
27public override FixAllProvider? GetFixAllProvider()
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (2)
23public sealed override FixAllProvider? GetFixAllProvider() 28return FixAllProvider.Create(
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (25)
src\Analyzers\CSharp\CodeFixes\ConditionalExpressionInStringInterpolation\CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (1)
31public override FixAllProvider? GetFixAllProvider() => null;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\CSharpConvertToRecordCodeFixProvider.cs (1)
23public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
35public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\HideBase\HideBaseCodeFixProvider.cs (1)
25public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\MakeRefStruct\MakeRefStructCodeFixProvider.cs (1)
29public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
49public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\NewLines\ArrowExpressionClausePlacement\ArrowExpressionClausePlacementCodeFixProvider.cs (2)
97public override FixAllProvider? GetFixAllProvider() 98=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\ConditionalExpressionPlacement\ConditionalExpressionPlacementCodeFixProvider.cs (2)
99public override FixAllProvider? GetFixAllProvider() 100=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementCodeFixProvider.cs (2)
94public override FixAllProvider GetFixAllProvider() 95=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\ConstructorInitializerPlacement\ConstructorInitializerPlacementCodeFixProvider.cs (2)
112public override FixAllProvider? GetFixAllProvider() 113=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementCodeFixProvider.cs (2)
134public override FixAllProvider GetFixAllProvider() 135=> FixAllProvider.Create(
src\Analyzers\CSharp\CodeFixes\RemoveConfusingSuppression\CSharpRemoveConfusingSuppressionCodeFixProvider.cs (2)
97public override FixAllProvider GetFixAllProvider() 98=> FixAllProvider.Create(async (context, document, diagnostics) =>
src\Analyzers\CSharp\CodeFixes\RemoveInKeyword\RemoveInKeywordCodeFixProvider.cs (1)
28public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\RemoveNewModifier\RemoveNewModifierCodeFixProvider.cs (1)
26public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (1)
32public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UpdateProjectToAllowUnsafe\CSharpUpdateProjectToAllowUnsafeCodeFixProvider.cs (1)
25public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UseExplicitTypeForConst\UseExplicitTypeForConstCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
49public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UseSystemThreadingLock\CSharpUseSystemThreadingLockCodeFixProvider.cs (1)
32public override FixAllProvider? GetFixAllProvider()
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (4)
Diagnostics\FixAllProvider\BatchFixerTests.cs (1)
95public override FixAllProvider GetFixAllProvider()
Formatting\CodeCleanupTests.TestFixers.cs (3)
59public override FixAllProvider GetFixAllProvider() => BatchFixAllProvider.Instance; 81public override FixAllProvider GetFixAllProvider() => new ModifySolutionFixAll(); 132public override FixAllProvider GetFixAllProvider() => new ModifySolutionFixAll();
Microsoft.CodeAnalysis.CSharp.Features (26)
Copilot\CSharpCopilotCodeFixProvider.cs (1)
50public sealed override FixAllProvider? GetFixAllProvider() => null;
src\Analyzers\CSharp\CodeFixes\ConditionalExpressionInStringInterpolation\CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (1)
31public override FixAllProvider? GetFixAllProvider() => null;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\CSharpConvertToRecordCodeFixProvider.cs (1)
23public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
35public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\HideBase\HideBaseCodeFixProvider.cs (1)
25public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\MakeRefStruct\MakeRefStructCodeFixProvider.cs (1)
29public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\MisplacedUsingDirectives\MisplacedUsingDirectivesCodeFixProvider.cs (1)
49public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\NewLines\ArrowExpressionClausePlacement\ArrowExpressionClausePlacementCodeFixProvider.cs (2)
97public override FixAllProvider? GetFixAllProvider() 98=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\ConditionalExpressionPlacement\ConditionalExpressionPlacementCodeFixProvider.cs (2)
99public override FixAllProvider? GetFixAllProvider() 100=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\ConsecutiveBracePlacement\ConsecutiveBracePlacementCodeFixProvider.cs (2)
94public override FixAllProvider GetFixAllProvider() 95=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\ConstructorInitializerPlacement\ConstructorInitializerPlacementCodeFixProvider.cs (2)
112public override FixAllProvider? GetFixAllProvider() 113=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\CSharp\CodeFixes\NewLines\EmbeddedStatementPlacement\EmbeddedStatementPlacementCodeFixProvider.cs (2)
134public override FixAllProvider GetFixAllProvider() 135=> FixAllProvider.Create(
src\Analyzers\CSharp\CodeFixes\RemoveConfusingSuppression\CSharpRemoveConfusingSuppressionCodeFixProvider.cs (2)
97public override FixAllProvider GetFixAllProvider() 98=> FixAllProvider.Create(async (context, document, diagnostics) =>
src\Analyzers\CSharp\CodeFixes\RemoveInKeyword\RemoveInKeywordCodeFixProvider.cs (1)
28public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\RemoveNewModifier\RemoveNewModifierCodeFixProvider.cs (1)
26public override FixAllProvider GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\ReplaceDefaultLiteral\CSharpReplaceDefaultLiteralCodeFixProvider.cs (1)
32public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UpdateProjectToAllowUnsafe\CSharpUpdateProjectToAllowUnsafeCodeFixProvider.cs (1)
25public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UseExplicitTypeForConst\UseExplicitTypeForConstCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
49public override FixAllProvider? GetFixAllProvider()
src\Analyzers\CSharp\CodeFixes\UseSystemThreadingLock\CSharpUseSystemThreadingLockCodeFixProvider.cs (1)
32public override FixAllProvider? GetFixAllProvider()
Microsoft.CodeAnalysis.EditorFeatures (1)
Editor\EditorLayerExtensionManager.cs (1)
55or CodeFixes.FixAllProvider
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeFixes\ErrorCases\CodeFixExceptionInGetFixAllProvider.cs (1)
22public sealed override FixAllProvider GetFixAllProvider()
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Suggestions\FixAll\FixMultipleOccurrencesService.cs (2)
30FixAllProvider fixAllProvider, 48FixAllProvider fixAllProvider,
Microsoft.CodeAnalysis.Features (43)
AddImport\AbstractAddImportCodeFixProvider.cs (1)
44public sealed override FixAllProvider? GetFixAllProvider()
AddMissingReference\AbstractAddMissingReferenceCodeFixProvider.cs (1)
25public override FixAllProvider? GetFixAllProvider()
AddPackage\AbstractAddPackageCodeFixProvider.cs (1)
26public abstract override FixAllProvider? GetFixAllProvider();
AddPackage\AbstractAddSpecificPackageCodeFixProvider.cs (1)
26public override FixAllProvider GetFixAllProvider()
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
53public FixAllProvider? GetFixAllProvider()
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
44public FixAllProvider? GetFixAllProvider()
CodeFixes\FixAllOccurrences\IFixMultipleOccurrencesService.cs (2)
25FixAllProvider fixAllProvider, 40FixAllProvider fixAllProvider,
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
41public FixAllProvider GetFixAllProvider()
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
60var batchFixer = RemoveSuppressionCodeAction.GetBatchFixer(suppressionFixer);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.BatchFixer.cs (1)
24public static FixAllProvider GetBatchFixer(AbstractSuppressionCodeFixProvider suppressionFixProvider)
CodeFixes\Suppression\WrapperCodeFixProvider.cs (1)
51public override FixAllProvider GetFixAllProvider()
FullyQualify\AbstractFullyQualifyCodeFixProvider.cs (1)
14public override FixAllProvider? GetFixAllProvider()
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
25public override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (1)
49public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\AliasAmbiguousType\AbstractAliasAmbiguousTypeCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider() => null;
src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (2)
449public override FixAllProvider GetFixAllProvider() 450=> FixAllProvider.Create(async (context, document, diagnostics) =>
src\Analyzers\Core\CodeFixes\ConvertToAsync\AbstractConvertToAsyncCodeFixProvider.cs (1)
23public override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
22public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (2)
229public override FixAllProvider GetFixAllProvider() 230=> FixAllProvider.Create(async (context, document, diagnostics) =>
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
16public override FixAllProvider? GetFixAllProvider() => null;
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberCodeFixProvider.cs (1)
21public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\AbstractImplementAbstractClassCodeFixProvider.cs (1)
19public sealed override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceCodeFixProvider.cs (1)
27public sealed override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\Iterator\AbstractIteratorCodeFixProvider.cs (1)
18public override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\MakeMethodAsynchronous\AbstractMakeMethodAsynchronousCodeFixProvider.cs (1)
31public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
68public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\NamingStyle\NamingStyleCodeFixProvider.cs (1)
40public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\NewLines\ConsecutiveStatementPlacement\ConsecutiveStatementPlacementCodeFixProvider.cs (2)
60public override FixAllProvider GetFixAllProvider() 61=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\Core\CodeFixes\NewLines\MultipleBlankLines\AbstractMultipleBlankLinesCodeFixProvider.cs (2)
145public override FixAllProvider? GetFixAllProvider() 146=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
22public sealed override FixAllProvider GetFixAllProvider()
src\Analyzers\Core\CodeFixes\UnsealClass\AbstractUnsealClassCodeFixProvider.cs (1)
23public override FixAllProvider? GetFixAllProvider()
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (1)
27public override FixAllProvider? GetFixAllProvider()
SyncNamespaces\AbstractSyncNamespacesService.cs (2)
52var fixAllProvider = CodeFixProvider.GetFixAllProvider(); 137FixAllProvider fixAllProvider,
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
41public sealed override FixAllProvider GetFixAllProvider()
UseAutoProperty\UseAutoPropertyFixAllProvider.cs (1)
23private sealed class UseAutoPropertyFixAllProvider(TProvider provider) : FixAllProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeFixes\CodeFixService.cs (1)
782(FixAllProvider)fixAllProviderInfo.FixAllProvider,
Microsoft.CodeAnalysis.VisualBasic.Features (7)
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.vb (1)
30Public Overrides Function GetFixAllProvider() As FixAllProvider
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
58Public Overrides Function GetFixAllProvider() As FixAllProvider
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
38Public Overrides Function GetFixAllProvider() As FixAllProvider
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (1)
52Public Overrides Function GetFixAllProvider() As FixAllProvider
CodeFixes\IncorrectFunctionReturnType\IncorrectFunctionReturnTypeCodeFixProvider.vb (1)
35Public Overrides Function GetFixAllProvider() As FixAllProvider
CodeFixes\MoveToTopOfFile\MoveToTopOfFileCodeFixProvider.vb (1)
37Public Overrides Function GetFixAllProvider() As FixAllProvider
CodeFixes\OverloadBase\OverloadBaseCodeFixProvider.vb (1)
32Public Overrides Function GetFixAllProvider() As FixAllProvider
Microsoft.CodeAnalysis.Workspaces (25)
CodeFixes\CodeFixProvider.cs (2)
35/// Gets an optional <see cref="FixAllProvider"/> that can fix all/multiple occurrences of diagnostics fixed by this code fix provider. 39public virtual FixAllProvider? GetFixAllProvider()
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
24public static readonly FixAllProvider Instance = new BatchFixAllProvider();
CodeFixes\FixAllOccurrences\DocumentBasedFixAllProvider.cs (2)
18/// Provides a base class to write a <see cref="FixAllProvider"/> that fixes documents independently. This type 28public abstract class DocumentBasedFixAllProvider(ImmutableArray<FixAllScope> supportedFixAllScopes) : FixAllProvider
CodeFixes\FixAllOccurrences\FixAllContext.cs (1)
25internal FixAllProvider FixAllProvider => State.FixAllProvider;
CodeFixes\FixAllOccurrences\FixAllProvider.cs (4)
48/// Create a <see cref="FixAllProvider"/> that fixes documents independently. This should be used instead of 58public static FixAllProvider Create(Func<FixAllContext, Document, ImmutableArray<Diagnostic>, Task<Document?>> fixAllAsync) 62/// Create a <see cref="FixAllProvider"/> that fixes documents independently for the given <paramref name="supportedFixAllScopes"/>. 77public static FixAllProvider Create(
CodeFixes\FixAllOccurrences\FixAllScope.cs (2)
8/// Indicates scope for "Fix all occurrences" code fixes provided by each <see cref="FixAllProvider"/>. 29/// be used by custom <see cref="FixAllProvider"/>s and custom code fix engines.
CodeFixes\FixAllOccurrences\FixAllState.cs (4)
16internal sealed partial class FixAllState : CommonFixAllState<CodeFixProvider, FixAllProvider, FixAllState> 28FixAllProvider fixAllProvider, 64FixAllProvider fixAllProvider, 86FixAllProvider fixAllProvider,
CodeFixes\FixAllOccurrences\WellKnownFixAllProviders.cs (2)
10/// Contains well known implementations of <see cref="FixAllProvider"/>. 27public static FixAllProvider BatchFixer => BatchFixAllProvider.Instance;
CodeFixes\Supression\IConfigurationFixProvider.cs (2)
37/// Gets an optional <see cref="FixAllProvider"/> that can fix all/multiple occurrences of diagnostics fixed by this fix provider. 41FixAllProvider? GetFixAllProvider();
CodeFixesAndRefactorings\DefaultFixAllProviderHelpers.cs (1)
18/// Default implementation of a <see cref="FixAllProvider"/> that efficiently handles the dispatch logic for fixing
CodeFixesAndRefactorings\FixAllProviderInfo.cs (2)
52var fixAllProvider = provider.GetFixAllProvider(); 98var fixAllProvider = provider.GetFixAllProvider();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeFixes\SyntaxEditorBasedCodeFixProvider.cs (2)
23public sealed override FixAllProvider? GetFixAllProvider() 28return FixAllProvider.Create(
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
BatchFixAllProviderTests.cs (1)
93public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\AddMarshalAsToElementFixer.cs (1)
18public override FixAllProvider? GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
23public sealed override FixAllProvider GetFixAllProvider() => CustomFixAllProvider.Instance;
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
28public override FixAllProvider? GetFixAllProvider() => null;
Analyzers\CustomMarshallerAttributeFixer.cs (2)
27public static FixAllProvider Instance { get; } = new CustomFixAllProvider(); 103public override FixAllProvider? GetFixAllProvider() => CustomFixAllProvider.Instance;
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
23public sealed override FixAllProvider GetFixAllProvider() => CustomFixAllProvider.Instance;
Microsoft.ML.InternalCodeAnalyzer (2)
ContractsCheckNameofFixProvider.cs (1)
31public override FixAllProvider GetFixAllProvider()
NameFixProvider.cs (1)
46public override FixAllProvider GetFixAllProvider()
Microsoft.VisualStudio.LanguageServices.Xaml (1)
CodeFixes\RemoveUnnecessaryUsings\XamlRemoveUnnecessaryUsingsCodeFixProvider.cs (1)
37public override FixAllProvider GetFixAllProvider()
System.Text.RegularExpressions.Generator (1)
UpgradeToGeneratedRegexCodeFixer.cs (1)
39public override FixAllProvider? GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
System.Windows.Forms.Analyzers.CodeFixes.CSharp (1)
System\Windows\Forms\CSharp\CodeFixes\AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.cs (1)
27public sealed override FixAllProvider GetFixAllProvider()
System.Windows.Forms.Analyzers.CodeFixes.VisualBasic (1)
AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.vb (1)
33Public Overrides Function GetFixAllProvider() As FixAllProvider