RoslynCompilationService should set the generated code when compilation succeeds

Fixes #895
since they're not the same, use a different name than `expected`