Closed QianMoXi closed 8 months ago
If RunAsync method lacks the "async" keyword, the IsAsync property of IMethodSymbol will return false, which will result in incorrect generated code.
RunAsync
IsAsync
IMethodSymbol
false
public Task RunAsync() { return Task.Delay(1000); }
If
RunAsync
method lacks the "async" keyword, theIsAsync
property ofIMethodSymbol
will returnfalse
, which will result in incorrect generated code.