Пример #1
0
 internal override string GetToolName()
 {
     return(ErrorFacts.GetMessage(MessageID.IDS_ToolName, Culture));
 }
Пример #2
0
 /// <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));
 }
Пример #3
0
 public override int GetWarningLevel(int code)
 {
     return(ErrorFacts.GetWarningLevel((ErrorCode)code));
 }
Пример #4
0
 /// <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();
 }
Пример #5
0
 public override string GetHelpLink(int code)
 {
     return(ErrorFacts.GetHelpLink((ErrorCode)code));
 }
Пример #6
0
 public override string GetCategory(int code)
 {
     return(ErrorFacts.GetCategory((ErrorCode)code));
 }
Пример #7
0
 public override LocalizableString GetTitle(int code)
 {
     return(ErrorFacts.GetTitle((ErrorCode)code));
 }
Пример #8
0
 public override LocalizableString GetDescription(int code)
 {
     return(ErrorFacts.GetDescription((ErrorCode)code));
 }
Пример #9
0
 public override LocalizableString GetMessageFormat(int code)
 {
     return(ErrorFacts.GetMessageFormat((ErrorCode)code));
 }
Пример #10
0
 public override string LoadMessage(int code, CultureInfo language)
 {
     return(ErrorFacts.GetMessage((ErrorCode)code, language));
 }
Пример #11
0
 public override DiagnosticSeverity GetSeverity(int code)
 {
     return(ErrorFacts.GetSeverity((ErrorCode)code));
 }