Table of Contents

Enum CsvQuoteValidation

Namespace
FlameCsv
Assembly
FlameCsv.Core.dll

Enumeration that determines quote validation rules when reading.

public enum CsvQuoteValidation : byte

Fields

AllowInvalid = 1

Accept quotes even in fields that are not wrapped in quotes.
Example: foo"bar".

Quote parity is still required; every field must have an even number of quotes. Fields wrapped in quotes must still follow the quoting rules.

Strict = 0

Quotes must be used strictly according to the CSV specification. Fields with invalid quotes will throw CsvFormatException.

ValidateAllRecords = 3

Same as ValidateUnreadFields, but also validate all fields of records skipped by RecordCallback.

Enabling this has a performance impact, and should be enabled only when the data is expected to be malformed.

ValidateUnreadFields = 2

Same as Strict, but validate all fields in every record even if they are not read.
This affects the parsing and enumeration APIs. Has no effect while writing.

Enabling this has a performance impact, and should be enabled only when the data is expected to be malformed.