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.
CF does not have a GenericParameterPosition property.  I do not see how to program around this.

The old code seemed to work for CF.