Tyler Wilson

Results 2 comments of Tyler Wilson

In fact, it doesn't return any rows at all. https://github.com/JoshClose/CsvHelper/blob/89edc486b51086453bc91e043f0f82789374b829/src/CsvHelper.Tests/DataTableTests/CsvDataReaderTests.cs#L133

I think the key here is that CsvDataReader.GetSchemaTable() doesn't add any rows if csv.Configuration.HasHeaderRecord is false.