public void ThrowIfError() { CompilerLogException ex = new CompilerLogException(Warnings, Errors); throw ex; }