Method Compile
Compile(bool, bool)
Compiles the script.
public RoslynScriptProvider.CompileResult Compile(bool syntaxCheckOnly, bool emitAssembly)
Parameters
syntaxCheckOnlyboolSpecifies if compilation performs syntax check only, without generating assemblies.
emitAssemblyboolSpecifies if compilation result should be emited into the stream.
Returns
- RoslynScriptProvider.CompileResult
result of compilation.