提交 884d5d92 编写于 作者: C CyrusNajmabadi

Remove unnecessary async.

上级 ea8ca070
......@@ -27,14 +27,14 @@ private abstract partial class CSharpCodeGenerator : CodeGenerator<StatementSynt
{
private SyntaxToken _methodName;
public static async Task<GeneratedCode> GenerateAsync(
public static Task<GeneratedCode> GenerateAsync(
InsertionPoint insertionPoint,
SelectionResult selectionResult,
AnalyzerResult analyzerResult,
CancellationToken cancellationToken)
{
var codeGenerator = Create(insertionPoint, selectionResult, analyzerResult);
return await codeGenerator.GenerateAsync(cancellationToken).ConfigureAwait(false);
return codeGenerator.GenerateAsync(cancellationToken);
}
private static CSharpCodeGenerator Create(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册