AsyncGenerator icon indicating copy to clipboard operation
AsyncGenerator copied to clipboard

Generating async c# code using Roslyn

Results 17 AsyncGenerator issues
Sort by recently updated
recently updated
newest added

Convert: ``` Task.Run(() => DoSomething()).Wait(); Task.Run(() => DoSomething2()).Result; Task.Run(() => DoSomething3()).GetAwaiter().GetResult(); ``` to ``` Task.Run(() => DoSomething()).Wait(); Task.Run(() => DoSomething2()).Result; await Task.Run(() => DoSomething3()); ``` `.Wait()` and `.Result` shouldn't be...

enhancement

Convert: ``` Func func = DoSomething(); func(); ``` to ``` Func func = DoSomethingAsync(); await func(); ```

enhancement

Currently, the generator is able to append the cancellation parameter as the last parameter, but this will produce an error when a method has a parameter declared as parameter array...

enhancement

https://github.com/nhibernate/nhibernate-core/issues/3592

It seems like primary constructors break async generation.

bug

Hi @maca88, would you be able to release a version with .NET 10 support?