When trying to create a Mock with generic methods, the MockObjectFactory.CreateType() Method throws an exception after having created the Type but before adding the Type to the createdTypes Hashtable. This causes the next call to GetMockedType() to try to create a Type with the same name. This is not allowed, therefore all further CreateType calls fail.
I've attached a simple patch to workaround this problem.
Logged In: YES
user_id=1140914
Originator: NO
This should be fixed in NMock2 (see http://nmock2.sourceforge.net\).
Have fun
Thomas