Table of Contents

Method Compile

Namespace
Alternet.Scripter.Roslyn
Assembly
Alternet.Scripter.v9.dll

Compile(bool, bool)

Compiles the script.

public RoslynScriptProvider.CompileResult Compile(bool syntaxCheckOnly, bool emitAssembly)

Parameters

syntaxCheckOnly bool

Specifies if compilation performs syntax check only, without generating assemblies.

emitAssembly bool

Returns

RoslynScriptProvider.CompileResult

result of compilation.