4.13.1
Fixed
-
SetupAllProperties
does not recognize property as read-write if only setter is overridden (@stakx, #886) -
Regression:
InvalidCastException
caused by Moq erroneously reusing a cached auto-mocked (DefaultValue.Mock
) return value for a different generic method instantiation (@BrunoJuchli, #932) -
AmbiguousMatchException when setting up the property, that hides another one (@ishatalkin, #939)
-
ArgumentException
("Interface not found") when setting upobject.ToString
on an interface mock (@vslynko, #942) -
Cannot "return" to original mocked type after downcasting with
Mock.Get
and then upcasting withmock.As<>
(@pjquirk, #943) -
params
arrays in recursive setup expressions are matched by reference equality instead of by structural equality (@danielcweber, #946) -
mock.SetupProperty
throwsNullReferenceException
when called for partially overridden property (@stakx, #951)