CsvHelper
CsvHelper copied to clipboard
CsvParser ignores leaveOpen parameter
I ran into an issue where the CsvParser closes the underlying stream even when leaveOpen is true.
Looks like the CsvParser(TextReader, bool) constructor (https://github.com/JoshClose/CsvHelper/blob/master/src/CsvHelper/CsvParser.cs#L54) always passes false into the underlying CsvFieldReader instead of passing through leaveOpen.
Fix will be in version >= 9.0.1 on nuget.