Esempio n. 1
0
 public CompileMessage(CompileMessageSrcKey key, int line, int col, string text)
 {
     Key     = key;
     Line    = line;
     Col     = col;
     Content = text;
 }
Esempio n. 2
0
 public bool ContainsErrorSrcKey(string fileName)
 {
     foreach (var item in this.Errors)
     {
         if (item.Key is CompileMessageSrcKey)
         {
             CompileMessageSrcKey srcKey = (item.Key as CompileMessageSrcKey);
             if (srcKey.SrcFileName == fileName)
             {
                 return(true);
             }
         }
     }
     return(false);
 }