Skip to content

Commit

Permalink
Fix code fix title
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt committed Jan 28, 2022
1 parent 9c56292 commit 7a4d962
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
if (objectCreationExpression.ArgumentList != null)
{
CodeAction codeAction = CodeAction.Create(
"Add parentheses",
"Remove parentheses",
ct => RemoveParenthesesAsync(document, objectCreationExpression.ArgumentList, ct),
GetEquivalenceKey(diagnostic));

Expand All @@ -44,7 +44,7 @@ public override async Task RegisterCodeFixesAsync(CodeFixContext context)
else
{
CodeAction codeAction = CodeAction.Create(
"Remove parentheses",
"Add parentheses",
ct => AddParenthesesAsync(document, objectCreationExpression, ct),
GetEquivalenceKey(diagnostic));

Expand Down

0 comments on commit 7a4d962

Please sign in to comment.