See this example:
new CsvParser(new StringReader("\"a\r\";b")).Read()
This should return 2 values, the first containing a\r, the second b, but it will contain a\r";b, as it failes to detect the second quote.
I think this issue is caused by not checking the return value of ReadLineEnding() in CsvParser, resulting in a skipped character, which in this case is the second quote.
See this example:
new CsvParser(new StringReader("\"a\r\";b")).Read()
This should return 2 values, the first containing a\r, the second b, but it will contain a\r";b, as it failes to detect the second quote.I think this issue is caused by not checking the return value of ReadLineEnding() in CsvParser, resulting in a skipped character, which in this case is the second quote.