public void Warning(string message, string sourceName, int line, string lineSource, int lineOffset) { if (!lines.Contains(line)) { ProgramData.Error(line, message); ProgramData.MainForm?.HighlightError(line); lines.Add(line); } }