public void Warning(string message) { var error = new CompilerError(); error.ErrorText = message; error.IsWarning = true; Errors.Add(error); }