nmock-2.1

Differences between NMock 2.0 and NMock2

I am a bit confused over which version of NMock2 I should use. The one I've been using for a while I got from here: http://www.nmock.org/download.html The filename is NMock2.dll with version 2.0.0.44. I ran into a problem where I couldn't mock interfaces containing generic functions. After a quick google search found out that NMock2 s...

Help with some mocking

Hi, I was trying to mock an interface and I got the next expection: System.TypeLoadException: System.TypeLoadException: Signature of the body and declaration in a method implementation do not match I figured out later that my problem was a function that I have defined in my interface: IList<T> GetAll<T>() where T : class, new(); ...