roslyn-linq-rewrite
roslyn-linq-rewrite copied to clipboard
Compiler step instead of replacing compiler
I'm hesitant to plug this in to our existing project because it looks like a wholesale replacement of the compiler (correct me if I'm wrong). Is there a way to plugin this in as a build step and still use the regular compiler from Microsoft?
This tool wraps the original, unmodified C# compiler, and performs transformations on the syntax trees as an intermediate step. Here you can see how to use RoslynLinqRewrite programmatically. Potentially, you could for example save the transformed ASTs to the file system and then compile or process them in a different way.