RoslynCompilationService should set the generated code when compilation is successful

Fixes #895