static public void Error (int code, Location l, string text)
{
+ if (code < 0)
+ code = 8000-code;
+
string msg = String.Format (
"{0}({1}) error CS{2:0000}: {3}", l.Name, l.Row, code, text);
// "{0}({1}) error CS{2}: {3}", l.Name, l.Row, code, text);
static public void Warning (int code, Location l, string text)
{
+ if (code < 0)
+ code = 8000-code;
+
if (warning_ignore_table != null){
if (warning_ignore_table.Contains (code))
return;
static public void Error (int code, string text)
{
+ if (code < 0)
+ code = 8000-code;
+
string msg = String.Format ("error CS{0:0000}: {1}", code, text);
// string msg = String.Format ("error CS{0}: {1}", code, text);
if (first)
first = false;
else
- sb.Append (",");
+ sb.Append (", ");
if (arg == null)
sb.Append ("null");
else if (arg is ICollection)
if (first)
first = false;
else
- sb.Append (",");
+ sb.Append (", ");
sb.Append (o);
}