public void CheckError(bool cond, string res, params string[] args) { if (cond) { _compiler.ReportError(_input.BuildNameLineInfo(), res, args); } } }