public async Task write_csv_async_throws_if_csv_reader_is_disposed()
 {
     var writer = new CsvWriter(new StringWriter());
     writer.Dispose();
     await Assert.ThrowsAsync<ObjectDisposedException>(() => new DataTable().WriteCsvAsync(writer));
 }
 public void write_csv_throws_if_csv_reader_is_disposed()
 {
     var writer = new CsvWriter(new StringWriter());
     writer.Dispose();
     Assert.Throws<ObjectDisposedException>(() => new DataTable().WriteCsv(writer));
 }