11 types derived from FixAllProvider
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
26private class CustomFixAllProvider : FixAllProvider
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Formatting\CodeCleanupTests.TestFixers.cs (2)
83private class ModifySolutionFixAll : FixAllProvider 134private class ModifySolutionFixAll : FixAllProvider
Microsoft.CodeAnalysis.Features (3)
AbstractChangeNamespaceToMatchFolderCodeFixProvider.CustomFixAllProvider.cs (1)
26private class CustomFixAllProvider : FixAllProvider
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
28internal abstract class AbstractSuppressionBatchFixAllProvider : FixAllProvider
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
17private sealed class SuppressionFixAllProvider : FixAllProvider
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (2)
Formatting\CodeCleanUpTests.vb (2)
641Private Class ModifySolutionFixAll : Inherits FixAllProvider 682Private Class ModifySolutionFixAll : Inherits FixAllProvider
Microsoft.CodeAnalysis.Workspaces (3)
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
24internal sealed class BatchFixAllProvider : FixAllProvider
CodeFixes\FixAllOccurrences\DocumentBasedFixAllProvider.cs (1)
30public abstract class DocumentBasedFixAllProvider : FixAllProvider
CodeFixes\FixAllOccurrences\NoOpFixAllProvider.cs (1)
17internal sealed class NoOpFixAllProvider : FixAllProvider
164 references to FixAllProvider
Microsoft.CodeAnalysis.CodeStyle.Fixes (23)
AbstractAddDocCommentNodesCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider()
AbstractAddParameterCodeFixProvider.cs (1)
39public override FixAllProvider? GetFixAllProvider()
AbstractAliasAmbiguousTypeCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider() => null;
AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
72public override FixAllProvider? GetFixAllProvider()
AbstractConflictMarkerCodeFixProvider.cs (2)
436public override FixAllProvider GetFixAllProvider() 437=> FixAllProvider.Create(async (context, document, diagnostics) =>
AbstractConvertToAsyncCodeFixProvider.cs (1)
23public override FixAllProvider GetFixAllProvider()
AbstractFileHeaderCodeFixProvider.cs (2)
229public override FixAllProvider GetFixAllProvider() 230=> FixAllProvider.Create(async (context, document, diagnostics) =>
AbstractIteratorCodeFixProvider.cs (1)
18public override FixAllProvider GetFixAllProvider()
AbstractMakeMethodAsynchronousCodeFixProvider.cs (1)
31public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
AbstractMultipleBlankLinesCodeFixProvider.cs (2)
149public override FixAllProvider? GetFixAllProvider() 150=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
22public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
24public sealed override FixAllProvider GetFixAllProvider()
AbstractUnsealClassCodeFixProvider.cs (1)
23public override FixAllProvider? GetFixAllProvider()
AbstractUpgradeProjectCodeFixProvider.cs (1)
27public override FixAllProvider? GetFixAllProvider()
ConsecutiveStatementPlacementCodeFixProvider.cs (2)
64public override FixAllProvider GetFixAllProvider() 65=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.GetOptionsProvider(), context.CancellationToken).ConfigureAwait(false));
NamingStyleCodeFixProvider.cs (1)
43public override FixAllProvider? GetFixAllProvider()
SyntaxEditorBasedCodeFixProvider.cs (2)
28public sealed override FixAllProvider? GetFixAllProvider() 33return FixAllProvider.Create(
Microsoft.CodeAnalysis.CodeStyle.LegacyTestFramework.UnitTestUtilities (2)
AbstractUserDiagnosticTest.cs (2)
176var fixAllProvider = fixer.GetFixAllProvider(); 191FixAllProvider fixAllProvider,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (22)
ArrowExpressionClausePlacementCodeFixProvider.cs (2)
102public override FixAllProvider? GetFixAllProvider() 103=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
ConditionalExpressionPlacementCodeFixProvider.cs (2)
104public override FixAllProvider? GetFixAllProvider() 105=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
ConsecutiveBracePlacementCodeFixProvider.cs (2)
98public override FixAllProvider GetFixAllProvider() 99=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
ConstructorInitializerPlacementCodeFixProvider.cs (2)
116public override FixAllProvider? GetFixAllProvider() 117=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (1)
33public override FixAllProvider? GetFixAllProvider() => null;
CSharpConvertToRecordCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider()
CSharpRemoveConfusingSuppressionCodeFixProvider.cs (2)
101public override FixAllProvider GetFixAllProvider() 102=> FixAllProvider.Create(async (context, document, diagnostics) =>
CSharpReplaceDefaultLiteralCodeFixProvider.cs (1)
37public override FixAllProvider? GetFixAllProvider()
CSharpUpdateProjectToAllowUnsafeCodeFixProvider.cs (1)
29public override FixAllProvider? GetFixAllProvider()
EmbeddedStatementPlacementCodeFixProvider.cs (2)
136public override FixAllProvider GetFixAllProvider() 137=> FixAllProvider.Create(
HideBaseCodeFixProvider.cs (1)
30public override FixAllProvider GetFixAllProvider()
MakeRefStructCodeFixProvider.cs (1)
35public override FixAllProvider? GetFixAllProvider()
MisplacedUsingDirectivesCodeFixProvider.cs (1)
51public override FixAllProvider GetFixAllProvider()
RemoveInKeywordCodeFixProvider.cs (1)
33public override FixAllProvider GetFixAllProvider()
RemoveNewModifierCodeFixProvider.cs (1)
31public override FixAllProvider GetFixAllProvider()
UseExplicitTypeForConstCodeFixProvider.cs (1)
33public 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 (24)
ArrowExpressionClausePlacementCodeFixProvider.cs (2)
102public override FixAllProvider? GetFixAllProvider() 103=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
35public override FixAllProvider GetFixAllProvider()
ConditionalExpressionPlacementCodeFixProvider.cs (2)
104public override FixAllProvider? GetFixAllProvider() 105=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
ConsecutiveBracePlacementCodeFixProvider.cs (2)
98public override FixAllProvider GetFixAllProvider() 99=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
ConstructorInitializerPlacementCodeFixProvider.cs (2)
116public override FixAllProvider? GetFixAllProvider() 117=> FixAllProvider.Create(async (context, document, diagnostics) => await UpdateDocumentAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
CSharpAddParenthesesAroundConditionalExpressionInInterpolatedStringCodeFixProvider.cs (1)
33public override FixAllProvider? GetFixAllProvider() => null;
CSharpConvertToRecordCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider()
CSharpRemoveConfusingSuppressionCodeFixProvider.cs (2)
101public override FixAllProvider GetFixAllProvider() 102=> FixAllProvider.Create(async (context, document, diagnostics) =>
CSharpReplaceDefaultLiteralCodeFixProvider.cs (1)
37public override FixAllProvider? GetFixAllProvider()
CSharpUpdateProjectToAllowUnsafeCodeFixProvider.cs (1)
29public override FixAllProvider? GetFixAllProvider()
EmbeddedStatementPlacementCodeFixProvider.cs (2)
136public override FixAllProvider GetFixAllProvider() 137=> FixAllProvider.Create(
HideBaseCodeFixProvider.cs (1)
30public override FixAllProvider GetFixAllProvider()
ImplementInterface\CSharpImplementInterfaceCodeFixProvider.cs (1)
67public sealed override FixAllProvider GetFixAllProvider()
MakeRefStructCodeFixProvider.cs (1)
35public override FixAllProvider? GetFixAllProvider()
MisplacedUsingDirectivesCodeFixProvider.cs (1)
51public override FixAllProvider GetFixAllProvider()
RemoveInKeywordCodeFixProvider.cs (1)
33public override FixAllProvider GetFixAllProvider()
RemoveNewModifierCodeFixProvider.cs (1)
31public override FixAllProvider GetFixAllProvider()
UseExplicitTypeForConstCodeFixProvider.cs (1)
33public override FixAllProvider? GetFixAllProvider()
Microsoft.CodeAnalysis.EditorFeatures (1)
Editor\EditorLayerExtensionManager.cs (1)
72if (provider is CodeFixProvider or CodeFixes.FixAllProvider or CodeRefactoringProvider or CodeRefactorings.FixAllProvider)
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (2)
FixMultipleOccurrencesService.cs (2)
40FixAllProvider fixAllProvider, 59FixAllProvider fixAllProvider,
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (2)
Diagnostics\AbstractUserDiagnosticTest.cs (2)
176var fixAllProvider = fixer.GetFixAllProvider(); 191FixAllProvider fixAllProvider,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeFixes\ErrorCases\CodeFixExceptionInGetFixAllProvider.cs (1)
24public sealed override FixAllProvider GetFixAllProvider()
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Suggestions\FixAll\FixMultipleOccurrencesService.cs (2)
40FixAllProvider fixAllProvider, 59FixAllProvider fixAllProvider,
Microsoft.CodeAnalysis.Features (41)
AbstractAddDocCommentNodesCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider()
AbstractAddParameterCodeFixProvider.cs (1)
39public override FixAllProvider? GetFixAllProvider()
AbstractAliasAmbiguousTypeCodeFixProvider.cs (1)
28public override FixAllProvider? GetFixAllProvider() => null;
AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
72public override FixAllProvider? GetFixAllProvider()
AbstractConflictMarkerCodeFixProvider.cs (2)
436public override FixAllProvider GetFixAllProvider() 437=> FixAllProvider.Create(async (context, document, diagnostics) =>
AbstractConvertToAsyncCodeFixProvider.cs (1)
23public override FixAllProvider GetFixAllProvider()
AbstractFileHeaderCodeFixProvider.cs (2)
229public override FixAllProvider GetFixAllProvider() 230=> FixAllProvider.Create(async (context, document, diagnostics) =>
AbstractIteratorCodeFixProvider.cs (1)
18public override FixAllProvider GetFixAllProvider()
AbstractMakeMethodAsynchronousCodeFixProvider.cs (1)
31public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
AbstractMultipleBlankLinesCodeFixProvider.cs (2)
149public override FixAllProvider? GetFixAllProvider() 150=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.CancellationToken).ConfigureAwait(false));
AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
22public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
24public sealed override FixAllProvider GetFixAllProvider()
AbstractUnsealClassCodeFixProvider.cs (1)
23public override FixAllProvider? GetFixAllProvider()
AbstractUpgradeProjectCodeFixProvider.cs (1)
27public override FixAllProvider? GetFixAllProvider()
AddImport\AbstractAddImportCodeFixProvider.cs (1)
42public sealed override FixAllProvider? GetFixAllProvider()
AddMissingReference\AbstractAddMissingReferenceCodeFixProvider.cs (1)
35public override FixAllProvider? GetFixAllProvider()
AddPackage\AbstractAddPackageCodeFixProvider.cs (1)
39public abstract override FixAllProvider GetFixAllProvider();
AddPackage\AbstractAddSpecificPackageCodeFixProvider.cs (1)
29public override FixAllProvider GetFixAllProvider()
CodeFixes\Configuration\ConfigureCodeStyle\ConfigureCodeStyleOptionCodeFixProvider.cs (1)
54public FixAllProvider? GetFixAllProvider()
CodeFixes\Configuration\ConfigureSeverity\ConfigureSeverityLevelCodeFixProvider.cs (1)
43public FixAllProvider? GetFixAllProvider()
CodeFixes\FixAllOccurrences\IFixMultipleOccurrencesService.cs (2)
24FixAllProvider fixAllProvider, 39FixAllProvider fixAllProvider,
CodeFixes\GenerateMember\AbstractGenerateMemberCodeFixProvider.cs (1)
21public override FixAllProvider? GetFixAllProvider()
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.cs (1)
41public FixAllProvider GetFixAllProvider()
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.FixAllProvider.cs (1)
64var batchFixer = RemoveSuppressionCodeAction.GetBatchFixer(suppressionFixer);
CodeFixes\Suppression\AbstractSuppressionCodeFixProvider.RemoveSuppressionCodeAction.BatchFixer.cs (1)
23public static FixAllProvider GetBatchFixer(AbstractSuppressionCodeFixProvider suppressionFixProvider)
CodeFixes\Suppression\WrapperCodeFixProvider.cs (1)
58public override FixAllProvider GetFixAllProvider()
ConsecutiveStatementPlacementCodeFixProvider.cs (2)
64public override FixAllProvider GetFixAllProvider() 65=> FixAllProvider.Create(async (context, document, diagnostics) => await FixAllAsync(document, diagnostics, context.GetOptionsProvider(), context.CancellationToken).ConfigureAwait(false));
FullyQualify\AbstractFullyQualifyCodeFixProvider.cs (1)
14public override FixAllProvider? GetFixAllProvider()
GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
17public override FixAllProvider? GetFixAllProvider() => null;
ImplementAbstractClass\AbstractImplementAbstractClassCodeFixProvider.cs (1)
18public sealed override FixAllProvider GetFixAllProvider()
NamingStyleCodeFixProvider.cs (1)
43public override FixAllProvider? GetFixAllProvider()
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
27public override FixAllProvider GetFixAllProvider()
SyncNamespaces\AbstractSyncNamespacesService.cs (2)
50var fixAllProvider = CodeFixProvider.GetFixAllProvider(); 136FixAllProvider fixAllProvider,
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
39public sealed override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeFixes\CodeFixService.cs (1)
737(FixAllProvider)fixAllProviderInfo.FixAllProvider,
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (3)
Formatting\CodeCleanUpTests.vb (3)
615Public Overrides Function GetFixAllProvider() As FixAllProvider 637Public Overrides Function GetFixAllProvider() As FixAllProvider 678Public Overrides Function GetFixAllProvider() As FixAllProvider
Microsoft.CodeAnalysis.VisualBasic.Features (8)
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
ImplementInterface\VisualBasicImplementInterfaceCodeFixProvider.vb (1)
34Public NotOverridable Overrides Function GetFixAllProvider() As FixAllProvider
Microsoft.CodeAnalysis.Workspaces (24)
CodeFixes\CodeFixProvider.cs (2)
33/// Gets an optional <see cref="FixAllProvider"/> that can fix all/multiple occurrences of diagnostics fixed by this code fix provider. 37public virtual FixAllProvider? GetFixAllProvider()
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
26public static readonly FixAllProvider Instance = new BatchFixAllProvider();
CodeFixes\FixAllOccurrences\DocumentBasedFixAllProvider.cs (1)
20/// Provides a base class to write a <see cref="FixAllProvider"/> that fixes documents independently. This type
CodeFixes\FixAllOccurrences\FixAllContext.cs (1)
26internal 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, 66FixAllProvider fixAllProvider, 90FixAllProvider 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)
38/// Gets an optional <see cref="FixAllProvider"/> that can fix all/multiple occurrences of diagnostics fixed by this fix provider. 42FixAllProvider? 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();
SyntaxEditorBasedCodeFixProvider.cs (2)
28public sealed override FixAllProvider? GetFixAllProvider() 33return FixAllProvider.Create(
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
BatchFixAllProviderTests.cs (1)
93public override FixAllProvider GetFixAllProvider() => WellKnownFixAllProviders.BatchFixer;
Microsoft.VisualStudio.LanguageServices (2)
TableDataSource\Suppression\VisualStudioSuppressionFixService.cs (2)
325var suppressionFixAllProvider = suppressionFixer.GetFixAllProvider(); 350var suppressionFixAllProvider = suppressionFixer.GetFixAllProvider();
Microsoft.VisualStudio.LanguageServices.Xaml (1)
CodeFixes\RemoveUnnecessaryUsings\XamlRemoveUnnecessaryUsingsCodeFixProvider.cs (1)
39public override FixAllProvider GetFixAllProvider()