static IList <IFormatStringError> SegmentTest(int count, IFormatStringSegment segment) { var errors = segment.Errors.ToList(); Assert.AreEqual(count, errors.Count, "Too many or too few errors."); return(errors); }
static IList<IFormatStringError> SegmentTest(int count, IFormatStringSegment segment) { var errors = segment.Errors.ToList(); Assert.AreEqual(count, errors.Count, "Too many or too few errors."); return errors; }