public void WarnLine(IcoErrorCode code, string message, string fileName, uint frameNumber) { if (WarningsToIgnore.Contains(code)) { return; } Reporter.Output.WriteLine($"{fileName}({frameNumber + 1}): Warning{GenerateCode(code)}: {message}".Yellow()); NumberOfWarnings += 1; }
public void ErrorLine(IcoErrorCode code, string message, string fileName, uint frameNumber) { if (WarningsToIgnore.Contains(code)) { return; } Reporter.Error.WriteLine($"{fileName}({frameNumber + 1}): Error{GenerateCode(code)}: {message}".Red()); NumberOfErrors += 1; }
public void WarnLine(IcoErrorCode code, string message) { if (WarningsToIgnore.Contains(code)) { return; } Reporter.Output.WriteLine($"Warning{GenerateCode(code)}: {message}".Yellow()); NumberOfWarnings += 1; }
public void ErrorLine(IcoErrorCode code, string message) { if (WarningsToIgnore.Contains(code)) { return; } Reporter.Error.WriteLine($"Error{GenerateCode(code)}: {message}".Red()); NumberOfErrors += 1; }