github devlooped/moq v4.13.1
4.13.1

latest releases: v4.20.72, v4.20.71, v4.20.70...
21 months ago

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 up object.ToString on an interface mock (@vslynko, #942)

  • Cannot "return" to original mocked type after downcasting with Mock.Get and then upcasting with mock.As<> (@pjquirk, #943)

  • params arrays in recursive setup expressions are matched by reference equality instead of by structural equality (@danielcweber, #946)

  • mock.SetupProperty throws NullReferenceException when called for partially overridden property (@stakx, #951)

Don't miss a new moq release

NewReleases is sending notifications on new releases.