FileHelpers - 'FieldConverter' is not valid on this declaration type
<p>I'm trying to set the date format of a CSV file I'm reading from via the FieldConverter attribute but I'm receiving the following error - </p>

<blockquote>
  <p>Attribute 'FieldConverter' is not valid on this declaration type. It
  is only valid on 'field' declarations.</p>
</blockquote>

<p>Any idea why this is happening and how I can fix it?</p>

<pre><code>[DelimitedRecord(",")]
[IgnoreFirst(1)]
public class SomeViewModel
{   
    public int account { get; set; }

    [FieldConverter(ConverterKind.Date, "dd-MM-yyyy")]
    public DateTime doc_dte { get; set; }
}
</code></pre>