Skip to content

Commit 34af8cb

Browse files
Apply suggestions from code review
1 parent 4f00526 commit 34af8cb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Features/CSharp/Portable/UseExpressionBodyForLambda/UseExpressionBodyForLambdaCodeRefactoringProvider.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ private static async Task<Document> UpdateDocumentAsync(
196196
{
197197
var semanticModel = await document.GetRequiredSemanticModelAsync(cancellationToken).ConfigureAwait(false);
198198

199-
// We're only replacing a single declaration in the refactoring. So pass 'declaration'
200-
// as both the 'original' and 'current' declaration.
201199
var updatedDeclaration = UseExpressionBodyForLambdaCodeActionHelpers.Update(
202200
semanticModel, declaration, cancellationToken);
203201

0 commit comments

Comments
 (0)