private void WarnOnce(WriteWarnings code, string message) { if (warningTracker.Contains(code)) { return; } warningTracker.Add(code); ConsoleMsgUtils.ShowWarning(string.Format("WARNING: {0}!", message)); }
private void WarnOnce(WriteWarnings code, string message) { if (warningTracker.Contains(code)) { return; } warningTracker.Add(code); System.Console.WriteLine("WARNING: {0}!"); }