title: TestMethod and DataRow DateTime parameter
body: <p>I have basic question about Data Driven Tests. </p>
  
  <p>I tried something like</p>
  
  <pre><code>[TestMethod]
  [DataRow(new DateTime(2018,10,25))]     
  public void SpecialDateOperation(DateTime date)
  {
      // test...
  }
  </code></pre>
  
  <p>But I am getting an error</p>
  
  <blockquote>
    <p>An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type</p>
  </blockquote>
  
  <p>Somehow I am not able to get it to work. What is the issue here?</p>