.NET generics with private accessors not compatible with MSTest

Was playing around with generics and suddenly my unit test project failed with this error: “Signature of the body and declaration in a method implementation do not match.” After some research I found a post here


that explained my problem was using a private on a generic class, and was a known bug that will not be fixed in VS 2010 as explained here


Changed the private to public and was able to carry on.

No comments:

Post a Comment