コード例 #1
0
        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);
        }
コード例 #2
0
		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;
		}