RoslynCompilationService should set the generated code when compilation succeeds

Fixes #895