Constructor CompileResult
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
boolIndicates whether compilation succeed.
diagnostics
ImmutableArray<Diagnostic>Specifies List of compilation
Microsoft.CodeAnalysis.Diagnostic
entryPoint
IMethodSymbolCompilation entry point.
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.