Fix for issue # 377.

I've created a pull request, but it look like I need help with unit tests... What is the best place for unit tests? NUnitTestCaseBuilderTest contains tests only for async method.
I have written code which replaces GenericParameterPosition in the NETCF context.  I have tested it in my NETCF build, and it does not cause anything to fail.

However, I do not have any test cases to really test these changes.  Are there any?

I also do not know what to do with the code?