CompilationErrorException.GetErrors method

Gets only the error diagnostics (excluding warnings).

public IEnumerable<Diagnostic> GetErrors()

See Also