await dynamic get error ‘System.ValueType’ does not contain a definition for ‘GetAwaiter’

get error ‘System.ValueType’ does not contain a definition for ‘GetAwaiter’.代码见github https://github.com/wangronghua/DynamicIssue branch master is error,branch ok is right,The difference is that the proxy class is moved to the console project. Here’s the code. Console class library class Program { static async Task Main(string[] args) { var items = (await ProxyDecorator2<IPersonService, PersonService>.Create().GetPartAsync(x => new { x.ID,…

Details