98 overrides of RegisterCodeFixesAsync
ILLink.CodeFixProvider (5)
DynamicallyAccessedMembersCodeFixProvider.cs (1)
93 public override async Task RegisterCodeFixesAsync (CodeFixContext context)
RequiresAssemblyFilesCodeFixProvider.cs (1)
33 public sealed override Task RegisterCodeFixesAsync (CodeFixContext context) => BaseRegisterCodeFixesAsync (context);
RequiresDynamicCodeCodeFixProvider.cs (1)
30 public sealed override Task RegisterCodeFixesAsync (CodeFixContext context) => BaseRegisterCodeFixesAsync (context);
RequiresUnreferencedCodeCodeFixProvider.cs (1)
30 public sealed override Task RegisterCodeFixesAsync (CodeFixContext context) => BaseRegisterCodeFixesAsync (context);
UnconditionalSuppressMessageCodeFixProvider.cs (1)
38 public sealed override Task RegisterCodeFixesAsync (CodeFixContext context) => BaseRegisterCodeFixesAsync (context);
Microsoft.Analyzers.Extra (2)
CallAnalysis\Fixers\LegacyLoggingFixer.cs (1)
56public override async Task RegisterCodeFixesAsync(CodeFixContext context)
MakeExeTypesInternalFixer.cs (1)
26public override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.AspNetCore.App.CodeFixes (8)
Authorization\AddAuthorizationBuilderFixer.cs (1)
27public override async Task RegisterCodeFixesAsync(CodeFixContext context)
Dependencies\AddPackageFixer.cs (1)
29public override async Task RegisterCodeFixesAsync(CodeFixContext context)
DetectMismatchedParameterOptionalityFixer.cs (1)
23public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
Http\HeaderDictionaryAddFixer.cs (1)
28public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Http\HeaderDictionaryIndexerFixer.cs (1)
23public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
PublicPartialProgramClassFixer.cs (1)
23public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
RouteParameterUnusedParameterFixer.cs (1)
29public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
WebApplicationBuilderFixer.cs (1)
29public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.AspNetCore.Components.Analyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
31public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.AspNetCore.Components.SdkAnalyzers (1)
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
31public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
AddResponseTypeAttributeCodeFixProvider.cs (1)
22public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs (1)
25public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.CodeAnalysis.CodeStyle.Fixes (18)
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (1)
52public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\AliasAmbiguousType\AbstractAliasAmbiguousTypeCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (1)
68public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ConvertToAsync\AbstractConvertToAsyncCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
34public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
31public override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
20public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\AbstractImplementAbstractClassCodeFixProvider.cs (1)
27public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceCodeFixProvider.cs (1)
29public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\Iterator\AbstractIteratorCodeFixProvider.cs (1)
26public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\MakeMethodAsynchronous\AbstractMakeMethodAsynchronousCodeFixProvider.cs (1)
33public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
29public override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
25public override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
27public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\UnsealClass\AbstractUnsealClassCodeFixProvider.cs (1)
29public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (1)
33public override Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
41public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Diagnostics\FixAllProvider\BatchFixerTests.cs (1)
71public override async Task RegisterCodeFixesAsync(CodeFixContext context)
Formatting\CodeCleanupTests.TestFixers.cs (1)
23public override Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
41public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (10)
CodeFixes\CodeFixServiceTests.cs (5)
429public sealed override Task RegisterCodeFixesAsync(CodeFixContext context) 814public override Task RegisterCodeFixesAsync(CodeFixContext context) 849public override Task RegisterCodeFixesAsync(CodeFixContext context) 942public sealed override Task RegisterCodeFixesAsync(CodeFixContext context) 1222public override Task RegisterCodeFixesAsync(CodeFixContext context)
CodeFixes\ErrorCases\CodeFixExceptionInFixableDiagnosticIds.cs (1)
24public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
CodeFixes\ErrorCases\CodeFixExceptionInFixableDiagnosticIds2.cs (1)
17public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
CodeFixes\ErrorCases\CodeFixExceptionInGetFixAllProvider.cs (1)
25public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
CodeFixes\ErrorCases\CodeFixExceptionInRegisterMethod.cs (1)
21public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
CodeFixes\ErrorCases\CodeFixExceptionInRegisterMethodAsync.cs (1)
21public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (3)
CodeFixes\CodeFixServiceTests.vb (2)
225Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task 250Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
Diagnostics\AdditionalFileDiagnosticsTests.vb (1)
112Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
Microsoft.CodeAnalysis.Features (24)
AddImport\AbstractAddImportCodeFixProvider.cs (1)
51public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
AddMissingReference\AbstractAddMissingReferenceCodeFixProvider.cs (1)
32public override async Task RegisterCodeFixesAsync(CodeFixContext context)
AddPackage\AbstractAddSpecificPackageCodeFixProvider.cs (1)
33public override async Task RegisterCodeFixesAsync(CodeFixContext context)
FullyQualify\AbstractFullyQualifyCodeFixProvider.cs (1)
21public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
37public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (1)
52public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\AliasAmbiguousType\AbstractAliasAmbiguousTypeCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ConflictMarkerResolution\AbstractConflictMarkerCodeFixProvider.cs (1)
68public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ConvertToAsync\AbstractConvertToAsyncCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractAddDocCommentNodesCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\DocumentationComments\AbstractRemoveDocCommentNodeCodeFixProvider.cs (1)
34public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\FileHeaders\AbstractFileHeaderCodeFixProvider.cs (1)
31public override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorCodeFixProvider.cs (1)
20public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\GenerateMember\AbstractGenerateMemberCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\AbstractImplementAbstractClassCodeFixProvider.cs (1)
27public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceCodeFixProvider.cs (1)
29public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\Iterator\AbstractIteratorCodeFixProvider.cs (1)
26public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\MakeMethodAsynchronous\AbstractMakeMethodAsynchronousCodeFixProvider.cs (1)
33public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\MakeMethodSynchronous\AbstractMakeMethodSynchronousCodeFixProvider.cs (1)
29public override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\MatchFolderAndNamespace\AbstractChangeNamespaceToMatchFolderCodeFixProvider.cs (1)
25public override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsCodeFixProvider.cs (1)
27public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\UnsealClass\AbstractUnsealClassCodeFixProvider.cs (1)
29public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\Analyzers\Core\CodeFixes\UpgradeProject\AbstractUpgradeProjectCodeFixProvider.cs (1)
33public override Task RegisterCodeFixesAsync(CodeFixContext context)
UseAutoProperty\AbstractUseAutoPropertyCodeFixProvider.cs (1)
64public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.CodeAnalysis.VisualBasic.Features (7)
CodeFixes\CorrectNextControlVariable\CorrectNextControlVariableCodeFixProvider.vb (1)
36Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
CodeFixes\GenerateEndConstruct\GenerateEndConstructCodeFixProvider.vb (1)
64Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
CodeFixes\GenerateEvent\GenerateEventCodeFixProvider.vb (1)
44Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
CodeFixes\IncorrectExitContinue\IncorrectExitContinueCodeFixProvider.vb (1)
58Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
CodeFixes\IncorrectFunctionReturnType\IncorrectFunctionReturnTypeCodeFixProvider.vb (1)
40Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
CodeFixes\MoveToTopOfFile\MoveToTopOfFileCodeFixProvider.vb (1)
43Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
CodeFixes\OverloadBase\OverloadBaseCodeFixProvider.vb (1)
36Public NotOverridable Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
BatchFixAllProviderTests.cs (1)
95public override Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\AddMarshalAsToElementFixer.cs (1)
22public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
117public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\AddDisableRuntimeMarshallingAttributeFixer.cs (1)
30public override Task RegisterCodeFixesAsync(CodeFixContext context)
Analyzers\CustomMarshallerAttributeFixer.cs (1)
109public override async Task RegisterCodeFixesAsync(CodeFixContext context)
src\libraries\System.Runtime.InteropServices\gen\Common\ConvertToSourceGeneratedInteropFixer.cs (1)
117public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.ML.InternalCodeAnalyzer (2)
ContractsCheckNameofFixProvider.cs (1)
34public override async Task RegisterCodeFixesAsync(CodeFixContext context)
NameFixProvider.cs (1)
49public override async Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
EditorConfigSettings\DataProvider\DataProviderTests.MockAnalyzerReference.cs (1)
63public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
Microsoft.VisualStudio.LanguageServices.Xaml (1)
CodeFixes\RemoveUnnecessaryUsings\XamlRemoveUnnecessaryUsingsCodeFixProvider.cs (1)
43public sealed override Task RegisterCodeFixesAsync(CodeFixContext context)
System.Text.RegularExpressions.Generator (1)
UpgradeToGeneratedRegexCodeFixer.cs (1)
42public override async Task RegisterCodeFixesAsync(CodeFixContext context)
System.Windows.Forms.Analyzers.CodeFixes.CSharp (1)
System\Windows\Forms\CSharp\CodeFixes\AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.cs (1)
30public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context)
System.Windows.Forms.Analyzers.CodeFixes.VisualBasic (1)
AddDesignerSerializationVisibility\AddDesignerSerializationVisibilityCodeFixProvider.vb (1)
37Public Overrides Async Function RegisterCodeFixesAsync(context As CodeFixContext) As Task
18 references to RegisterCodeFixesAsync
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
351await fixer.RegisterCodeFixesAsync(context).ConfigureAwait(false);
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
352await fixer.RegisterCodeFixesAsync(context).ConfigureAwait(false);
Microsoft.AspNetCore.Analyzer.Testing (1)
CodeFixRunner.cs (1)
30await codeFixProvider.RegisterCodeFixesAsync(context);
Microsoft.AspNetCore.Components.Analyzers.Tests (1)
Verifiers\CodeFixVerifier.cs (1)
87codeFixProvider.RegisterCodeFixesAsync(context).Wait();
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (1)
Verifiers\CodeFixVerifier.cs (1)
87codeFixProvider.RegisterCodeFixesAsync(context).Wait();
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\AbstractCrossLanguageUserDiagnosticTest.vb (1)
169providerAndFixer.Item2.RegisterCodeFixesAsync(context).Wait()
Microsoft.CodeAnalysis.Features (1)
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
119await codeFixProvider.RegisterCodeFixesAsync(context).ConfigureAwait(false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeFixes\CodeFixService.cs (1)
651var task = fixer.RegisterCodeFixesAsync(context) ?? Task.CompletedTask;
Microsoft.CodeAnalysis.Workspaces (5)
CodeFixes\CodeFixContext.cs (4)
68/// Creates a code fix context to be passed into <see cref="CodeFixProvider.RegisterCodeFixesAsync(CodeFixContext)"/> method. 100/// Creates a code fix context to be passed into <see cref="CodeFixProvider.RegisterCodeFixesAsync(CodeFixContext)"/> method. 133/// Creates a code fix context to be passed into <see cref="CodeFixProvider.RegisterCodeFixesAsync(CodeFixContext)"/> method. 158/// Creates a code fix context to be passed into <see cref="CodeFixProvider.RegisterCodeFixesAsync(CodeFixContext)"/> method.
CodeFixes\FixAllOccurrences\BatchFixAllProvider.cs (1)
159var registerTask = fixAllContext.CodeFixProvider.RegisterCodeFixesAsync(context) ?? Task.CompletedTask;
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
487await fixer.RegisterCodeFixesAsync(context).ConfigureAwait(false);
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
487await fixer.RegisterCodeFixesAsync(context).ConfigureAwait(false);
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
487await fixer.RegisterCodeFixesAsync(context).ConfigureAwait(false);
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
487await fixer.RegisterCodeFixesAsync(context).ConfigureAwait(false);
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
487await fixer.RegisterCodeFixesAsync(context).ConfigureAwait(false);