Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test from #343 to regression test suite
which demonstrates that Moq no longer cares about the precise return type of methods if they otherwise match. This enables some scenarios involving generic methods that previously weren't supported. (It seems correct that Moq no longer tries to match method's return types exactly. While technically not incorrect, it is unusual behavior for most people coming from VB.NET or C#, where the return type is not considered part of the method signature WRT method resolution.)
- Loading branch information