RoslynCompilationService should set the generated code when compilation succeeds

Fixes #895
nit: might read better to check `actual`'s property values