How to load an existing assembly with Roslyn, transform it and generate new .cs files
问题 It seems like the documentation around Roslyn is a bit lacking? I am not able to find good comprehensive documentation. What I am trying to do essentially is copy the public surface of an existing API (.dll) into a new assembly (need to create source code .cs files!) and at the same time make a variety of tranformations to the resulting code (think making wrapper classes). Would really appreciate any help in how I can use Rolsyn to load the initial SyntaxTree from an existing assembly and how