未验证 提交 6296ea1d 编写于 作者: G Gen Lu 提交者: GitHub

Merge pull request #32954 from 06needhamt/fix-format-warnings

Fix Formatting Warnings on Build
......@@ -73,9 +73,9 @@ public override Task RegisterCodeFixesAsync(CodeFixContext context)
return (t.invocationOrCreation, additionalNodesToTrack.ToImmutableAndFree());
},
(_1, _2, _3) => true,
(semanticModel, currentRoot, t, currentNode)
(semanticModel, currentRoot, t, currentNode)
=> ReplaceIdentifierWithInlineDeclaration(
options, semanticModel, currentRoot, t.declarator,
options, semanticModel, currentRoot, t.declarator,
t.identifier, t.invocationOrCreation, currentNode, declarationsToRemove),
cancellationToken).ConfigureAwait(false);
}
......
......@@ -172,7 +172,7 @@ private static async Task<(Solution solution, int filesFormatted)> FormatFilesIn
return null;
}
return formattedSourceText;
return formattedSourceText;
}, cancellationToken);
formattedDocuments.Add((documentId, formatTask));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册