Skip to content

Commit

Permalink
Add fix all support
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorKrolic committed Mar 15, 2024
1 parent d0c6d8f commit d7826e8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public sealed class UseArgsParameterNameCodeFixProvider : CodeFixProvider
{
public override ImmutableArray<string> FixableDiagnosticIds { get; } = ImmutableArray.Create(DiagnosticDescriptors.PreferArgsParameterName.Id);

public override FixAllProvider? GetFixAllProvider()
=> WellKnownFixAllProviders.BatchFixer;

public override async Task RegisterCodeFixesAsync(CodeFixContext context)
{
var document = context.Document;
Expand Down

0 comments on commit d7826e8

Please sign in to comment.