Open-source at https://github.com/KirillOsenkov/RoslynQuoter

 
CompilationUnit() .WithMembers( SingletonList<MemberDeclarationSyntax>( ClassDeclaration("C"))) .NormalizeWhitespace()
Fork me on GitHub