public void TestGetGuid() { Guid guid = Guid.Parse("3E11803C-AB25-454C-953E-D940E4FCF655"); using (var stream = new MemoryStream()) using (var writer = new StreamWriter(stream)) using (var reader = new StreamReader(stream)) using (var dtReader = new DelimitedTextReader(reader)) { writer.Write(headerLine); writer.Write(dataLine1); writer.Flush(); stream.Position = 0; using (var dataReader = new DelimitedTextDataReader(dtReader)) { dataReader.Read(); Assert.Equal(guid, dataReader.GetGuid(7)); } } }