示例#1
0
        public void AddError(CompilerError e)
        {
            Errors.Add(e);
            Success = false;

            if (ExitOnError)
            {
                CompilerErrorException ex = new CompilerErrorException(Errors);
                throw ex;
            }
        }
示例#2
0
        public void AddError(CompilerError e)
        {
            Errors.Add(e);
            Success = false;

            if (ExitOnError)
            {
                CompilerErrorException ex = new CompilerErrorException(Errors);
                throw ex;
            }
        }