title: System.BadImageFormatException when using Coherence and Moq
body: <p>When using the following line in a moq unit test, I get a System.BadImageFormatException.</p>
  
  <pre><code>mockDataAccessLayer.Setup(dal =&gt; dal.ListItems(It.IsAny&lt;List&lt;IFilter&gt;&gt;()));
  </code></pre>
  
  <p>The exception: </p>
  
  <pre><code>System.BadImageFormatException : [C:\Users\ric\AppData\Local\Temp\q3a2acu1.brz\RJ.DAL.test\assembly\dl3\cb8fb82f\e33b012a_c5f6cc01\RJ.DAL.test.DLL] The signature is incorrect.
  at RJ.DAL.test.DALLayerTest.DataAccessLayerTest()
  </code></pre>
  
  <p>The full unit test:</p>
  
  <pre><code>[Test]
  public void DataAccessLayerTest()
  {   
      var mockDataAccessLayer = new Mock&lt;IDAL&gt;();
      mockDataAccessLayer.Setup(dal =&gt; dal.ListItems(It.IsAny&lt;List&lt;IFilter&gt;&gt;()));
      var dataAccessLayer = mockDataAccessLayer.Object;
  }
  </code></pre>
  
  <p>I am fairly sure the problem lies with the List of IFilters, as I use very similar code elsewhere without the It.IsAny which works fine. Any ideas?</p>