Compilation ICompilationFactoryService.CreateSubmissionCompilation(string assemblyName, CompilationOptions options, Type hostObjectType)
 {
     return(CSharpCompilation.CreateSubmission(
                assemblyName,
                options: (CSharpCompilationOptions)options,
                previousSubmission: null,
                hostObjectType: hostObjectType));
 }
Exemplo n.º 2
0
        Compilation ICompilationFactoryService.CreateSubmissionCompilation(string assemblyName, CompilationOptions options, Type hostObjectType)
        {
#if SCRIPTING
            return(CSharpCompilation.CreateSubmission(
                       assemblyName,
                       options: (CSharpCompilationOptions)options,
                       previousSubmission: null,
                       hostObjectType: hostObjectType));
#else
            throw new NotImplementedException();
#endif
        }