Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StubbedPropertySetup.IsMatch
is too picky
Comparing `MethodInfo`s using the `==` operator appears to go wrong more often than not. (In this case, this method fails to identify a positive match of `Base.Property` as the implementation for `IBase.Property`). Let's make this test much more imprecise by simply comparing accessor method names (and thus completely ignoring the type hierarchy; if we're lucky, the .NET compilers will already guarantee valid polymorphic type relationships).
- Loading branch information