Hi, I have an interface definded like this:
public interface IDatabase{ void Get<TTypeToFetch> ();}
and when I try to do:
Mockery mockery = new Mockery();
IDatabase db = mockery.NewMock<IDatabase>();
I get the following error:
System.TypeLoadException: System.TypeLoadException: Signature of the body and declaration in a method implementation do not match
What is wrong? (I am using Visual Studio 2008 with nmock2) Please could everyone give me an answer, I have to finish this soon. Thanks, Luisa