internal static string GenerateSourceCode(CompilationUnitSyntax code) { var syntax = code.NormalizeWhitespace(); var source = syntax.ToFullString(); return source; }