AsyncRewriter icon indicating copy to clipboard operation
AsyncRewriter copied to clipboard

Uses Roslyn to rewrite synchronous C# methods into async counterparts

Results 8 AsyncRewriter issues
Sort by recently updated
recently updated
newest added

The app I'm working on needs equivalent implementation of multiple routines for sync and async. Here is the [code generator](https://github.com/zompinc/sync-method-generator ) which creates a sync method from async. Haven't found...

We currently compile with a hard-wired minimal set of assemblies which happen to work for Npgsql (System, System.IO, System.Data.Common). We should be taking the list of dependencies from the compilation...

bug

This is simple CI to ensure that the build completes on Linux. I recommend adding similar Windows tests with Appveyor. I can rebase this if you merge the dnxcore fix...

@roji while pulled as a build dependency in ngpsql, rewriter is invoked with DNX. For that reason, it has to use the dnx moniker to work.

AsyncRewriter currently runs on every build, slowing it down somewhat. It's possible to make it detect changes: - When generating GeneratedAsync.cs, include a commented list of all source files that...

enhancement

Otherwise the build will fail and users won't understand. Provide a clear log message with instructions.

We have an MSBuild task and a cleanly-separate DLL, provide an executable wrapper as well.

When compiling the provided sources, there may be references to classes in external assemblies. In order to do async rewriting we must be aware of these assemblies. Add a way...