public bool CheckWarningCode (int code, Location loc) { if (AllWarningsHashSet == null) AllWarningsHashSet = new HashSet<int> (AllWarnings); if (AllWarningsHashSet.Contains (code)) return true; return CheckWarningCode (code.ToString (), loc); }
public void WarningDisable(Location location, int code, Report Report) { if (Report.CheckWarningCode(code, location)) { regions.Add(new Disable(location.Row, code)); } }