Table of Contents

Constructor CompileResult

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

CompileResult(bool, ImmutableArray<Diagnostic>, IMethodSymbol)

Initializes a new instance of the CompileResult class with specified parameters.

public CompileResult(bool success, ImmutableArray<Diagnostic> diagnostics, IMethodSymbol entryPoint)

Parameters

success bool

Indicates whether compilation succeed.

diagnostics ImmutableArray<Diagnostic>

Specifies List of compilation Microsoft.CodeAnalysis.Diagnostic

entryPoint IMethodSymbol

Compilation entry point.

CompileResult(Exception)

Initializes a new instance of the CompileResult class with specified parameters.

public CompileResult(Exception exception)

Parameters

exception Exception

Specifies an Exception occurred during compilation.