Пример #1
0
 public int GetExistingResultIndex(int numberOfLines, FileLine fileLine)
 {
     for (int i = 0; i < fileLine.GetResultsCount(); i++)
     {
         var resultIndex     = fileLine.GetResultIndex(i);
         var duplicateResult = _results[resultIndex];
         if (duplicateResult.IsIncludedInThisResult(numberOfLines, fileLine.FileName, fileLine.LineNumber))
         {
             return(resultIndex);
         }
     }
     return(-1);
 }