Josh Close
Josh Close
Does this solve your problem?
Looking at this code ```cs var date = DateTime.Parse("2023-10-26T14:50:11.365+00:00", CultureInfo.InvariantCulture); var dateU = date.ToUniversalTime(); date.Kind.Dump(); dateU.Kind.Dump(); date.Dump(); dateU.Dump(); ``` with output ``` Local Utc 10/26/2023 9:50:11 AM 10/26/2023 2:50:11 PM...
In your example, those characters aren't quotes. Looks like left and right quotes or something. If I change them to quotes it throws a `BadDataException` for me. ```cs void Main()...
The converter isn't being invoked because you're calling `Read` once, which is the header row. There is another issue though. When you have the converter specified, it's not writing the...
I'm going to wait on this for now. I believe the SIMD code will completely change how this works. I will be counting blocks of bytes at a time instead...
Did you make your class `sealed`? I believe you won't get that warning if you do.
All ClassMap implementations should probably have it in the documentation.
Can you post the exception message you get? It contains pertinent details.
This works for me. Can you edit this example to make it fail? ```cs void Main() { var s = new StringBuilder(); s.Append("FormId,FormTypeId\r\n"); s.Append("22,3\r\n"); var config = new CsvConfiguration(CultureInfo.InvariantCulture) {...
@philiprenich You can catch the exception and rethrow with the information in it you'd like.