As shown on the GitHub of CsvHelper project the config is read only now so I've moved the property initialization into the constructor. There is also a property which is now unsupported: IgnoreQuotes.
What's the new corrisponding parameter?
var config = new CsvConfiguration(CultureInfo.InvariantCulture) { HasHeaderRecord = true, BadDataFound = null, Delimiter = ",", Quote = '"', IgnoreQuotes = true };