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