public CheckWarningCode ( string code, Mono.CSharp.Location loc ) : bool | ||
code | string | |
loc | Mono.CSharp.Location | |
return | bool |
public bool CheckWarningCode (string code, Location loc)
{
Warning (1691, 1, loc, "`{0}' is not a valid warning number", code);
return false;
}
Report::CheckWarningCode ( int code, Mono.CSharp.Location loc ) : bool |
public void WarningDisable(Location location, int code, Report Report) { if (Report.CheckWarningCode(code, location)) { regions.Add(new Disable(location.Row, code)); } }