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
boolIndicates 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
ExceptionSpecifies an Exception occurred during compilation.