mperdeck / LINQtoCSV

Popular, easy to use library to read and write CSV files.
197 stars 112 forks source link

Why "ref" keyword #10

Closed jkallay1 closed 10 years ago

jkallay1 commented 10 years ago

There are a few methods where parameters have the "ref" keyword. My expectation is that each of these methods would have at least one codepath where the variable is being re-assigned, but this is not always the case. The places are: CsvStream.ReadRow(ref IDataRow row) FieldMapper.WriteNames(ref List row) FieldMapper.WriteObject(T obj, ref List row)

mperdeck commented 10 years ago

Accepted your pull request that solves this.