internal override string GetToolName() { return(ErrorFacts.GetMessage(MessageID.IDS_ToolName, Culture)); }
/// <summary> /// Print Commandline help message (up to 80 English characters per line) /// </summary> /// <param name="consoleOutput"></param> public override void PrintHelp(TextWriter consoleOutput) { consoleOutput.WriteLine(ErrorFacts.GetMessage(MessageID.IDS_CSCHelp, Culture)); }
public override int GetWarningLevel(int code) { return(ErrorFacts.GetWarningLevel((ErrorCode)code)); }
/// <summary> /// Print compiler logo /// </summary> /// <param name="consoleOutput"></param> public override void PrintLogo(TextWriter consoleOutput) { consoleOutput.WriteLine(ErrorFacts.GetMessage(MessageID.IDS_LogoLine1, Culture), GetToolName(), GetAssemblyFileVersion()); consoleOutput.WriteLine(ErrorFacts.GetMessage(MessageID.IDS_LogoLine2, Culture)); consoleOutput.WriteLine(); }
public override string GetHelpLink(int code) { return(ErrorFacts.GetHelpLink((ErrorCode)code)); }
public override string GetCategory(int code) { return(ErrorFacts.GetCategory((ErrorCode)code)); }
public override LocalizableString GetTitle(int code) { return(ErrorFacts.GetTitle((ErrorCode)code)); }
public override LocalizableString GetDescription(int code) { return(ErrorFacts.GetDescription((ErrorCode)code)); }
public override LocalizableString GetMessageFormat(int code) { return(ErrorFacts.GetMessageFormat((ErrorCode)code)); }
public override string LoadMessage(int code, CultureInfo language) { return(ErrorFacts.GetMessage((ErrorCode)code, language)); }
public override DiagnosticSeverity GetSeverity(int code) { return(ErrorFacts.GetSeverity((ErrorCode)code)); }