Now open-source at https://github.com/KirillOsenkov/RoslynQuoter

 
CompilationUnit() .WithMembers( SingletonList<MemberDeclarationSyntax>( ClassDeclaration("C"))) .NormalizeWhitespace()