public void ThrowIfError() { CompilerErrorException ex = new CompilerErrorException(Errors); throw ex; }