public bool CheckWarningCode (string code, Location loc) { Warning (1691, 1, loc, "`{0}' is not a valid warning number", code); return false; }
public void WarningDisable(Location location, int code, Report Report) { if (Report.CheckWarningCode(code, location)) { regions.Add(new Disable(location.Row, code)); } }