CompileResult Constructor
CompileResult(Boolean, ImmutableArray<Diagnostic>)
Initializes a new instance of the CompileResult
class with specified parameters.
Declaration
public CompileResult(bool success, ImmutableArray<Diagnostic> diagnostics)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | success | Indicates whether compilation succeed. |
System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostic> | diagnostics | Specifies List of compilation |
CompileResult(Exception)
Initializes a new instance of the CompileResult
class with specified parameters.
Declaration
public CompileResult(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | Specifies an Exception occurred during compilation. |