Table of Contents

Constructor CompileResult

Namespace
Alternet.FormDesigner.WinForms.Roslyn
Assembly
Alternet.FormDesigner.Roslyn.v9.dll

CompileResult(bool, ImmutableArray<Diagnostic>)

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

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

Parameters

success bool

Indicates whether compilation succeed.

diagnostics ImmutableArray<Diagnostic>

Specifies List of compilation Microsoft.CodeAnalysis.Diagnostic

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.