コード例 #1
0
 public void Add(CompilerWarning error)
 {
     if (null == error)
     {
         throw new ArgumentNullException("error");
     }
     InnerList.Add(error);
 }
コード例 #2
0
 public CompilerWarningEventArgs(CompilerWarning warning)
 {
     _warning = warning;
 }
コード例 #3
0
ファイル: BooParser.cs プロジェクト: 0xb1dd1e/boo
 private void EmitWarning(CompilerWarning warning)
 {
     My<CompilerWarningCollection>.Instance.Add(warning);
 }
コード例 #4
0
 public void MapParsingMessage(CompilerWarning warning)
 {
     MapParsingMessage(warning.LexicalInfo);
 }
コード例 #5
0
 public void MapMessage(CompilerWarning warning)
 {
     messages.Add(new CompilerMessage(warning.LexicalInfo, warning.Code, warning.Message, TaskErrorCategory.Warning));
 }
コード例 #6
0
ファイル: CompileResults.cs プロジェクト: Rfvgyhn/Boo-Plugin
 public void MapMessage(CompilerWarning warning)
 {
     var message = warning.Message;
     if (message.StartsWith("WARNING: "))
         message = message.Substring("WARNING: ".Length);
     messages.Add(new CompilerMessage(warning.LexicalInfo, warning.Code, message, TaskErrorCategory.Warning));
 }