RoslynCompilationService should set the generated code when compilation succeeds

Fixes #895
any reason why not to declare the return type as `UncachedCompilationResult`?