public Error ( int code, string format, string arg1, string arg2 ) : void | ||
code | int | |
format | string | |
arg1 | string | |
arg2 | string | |
return | void |
public void Error (int code, string format, string arg1, string arg2)
{
Error (code, Location.Null, format, arg1, arg2);
}
Report::Error ( int code, Mono.CSharp.Location loc, string error ) : void | |
Report::Error ( int code, Mono.CSharp.Location loc, string format, string arg ) : void | |
Report::Error ( int code, Mono.CSharp.Location loc, string format, string arg1, string arg2 ) : void | |
Report::Error ( int code, string error ) : void | |
Report::Error ( int code, string format, string arg ) : void |
public static void Error_InvalidConstantType(TypeSpec t, Location loc, Report Report) { if (t.IsGenericParameter) { Report.Error (1959, loc, "Type parameter `{0}' cannot be declared const", TypeManager.CSharpName (t)); } else { Report.Error (283, loc, "The type `{0}' cannot be declared const", TypeManager.CSharpName (t)); } }