You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CsvReader.ReadNextRecord throws an IndexOutOfRangeException when reading the file from the attached archive. You can run the following code to reproduce it (the path variable should contain the path to the extracted file):
I was trying to determine if the ReadNextRecord always throws MalformedCsvException on malformed CSV inputs, and I discovered that it can sometimes throw IndexOutOfRangeException. This binary file is just one of several inputs that I managed to generate.
Activity
fretje commentedon Feb 26, 2019
That file that is attached doesn't look like a csv file... It looks like a binary file to me:
What exactly are you trying to accomplish?
Metalnem commentedon Feb 27, 2019
I was trying to determine if the ReadNextRecord always throws MalformedCsvException on malformed CSV inputs, and I discovered that it can sometimes throw IndexOutOfRangeException. This binary file is just one of several inputs that I managed to generate.