Warning (code, Location.Null, text);
}
+ static public void Warning (int code, int level, string text)
+ {
+ if (RootContext.WarningLevel >= level)
+ Warning (code, Location.Null, text);
+ }
+
+ static public void Warning (int code, int level, Location l, string text)
+ {
+ if (RootContext.WarningLevel >= level)
+ Warning (code, l, text);
+ }
+
static public void Error (int code, string text)
{
string msg = String.Format ("error CS{0:0000}: {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);
}