private IEnumerable <PeerReviewComment> getReviewCommentsFromFileContent(string filePath, string fileText)
        {
            using (StringReader reader = new StringReader(fileText))
            {
                string line;
                int    lineNum = 0;
                while ((line = reader.ReadLine()) != null)
                {
                    lineNum++;
                    var commentDelimiter = reviewService.GetCommentDelimiter(filePath);

                    var commentStart = line.ToLower().IndexOf(commentDelimiter);
                    if (commentStart >= 0)
                    {
                        var commentText = line.Substring(commentStart);
                        yield return(new PeerReviewComment()
                        {
                            StartLine = lineNum,
                            EndLine = lineNum,
                            Serverity = reviewService.GetServerity(commentText),
                            Message = reviewService.GetCommentMessage(commentText),
                            FilePath = filePath,
                            Span = new Span(commentStart, commentText.Length)
                        });
                    }
                    ;
                }
            }
        }
 /// <summary>
 /// Creates review comment in SnapshotSpan and sets all base properties
 /// </summary>
 /// <param name="reviewService">Peer review service for interface with snapshotSpan</param>
 /// <param name="snapshotSpan">SnapshotSpan contains review comment</param>
 /// <param name="filePath">Path of file contains review comment</param>
 public PeerReviewSnapshotComment(IPeerReviewService reviewService, SnapshotSpan snapshotSpan, string filePath)
 {
     SnapShotSpan = snapshotSpan;
     Span         = reviewService.GetLineSpan(snapshotSpan);
     StartLine    = reviewService.GetStartLineNumber(snapshotSpan);
     EndLine      = reviewService.GetEndLineNumber(snapshotSpan);
     Serverity    = reviewService.GetServerity(snapshotSpan);
     Message      = reviewService.GetCommentMessage(snapshotSpan);
     FilePath     = filePath;
 }