Moq v4.16.1 Release Notes

Release Date: 2021-02-23 // over 1 year ago
  • โž• Added

    • 0๏ธโƒฃ CallBase can now be used with interface methods that have a default interface implementation. It will call the most specific override. (@stakx, #1130)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved error message formatting of It.Is lambda expressions that capture local variables. (@bfriesen, #1140)

    ๐Ÿ›  Fixed

    • AmbiguousMatchException raised when interface has property indexer besides property in VB. (@mujdatdinc, #1129)
    • 0๏ธโƒฃ Interface default methods are ignored (@hahn-kev, #972)
    • Callback validation too strict when setting up a task's .Result property (@stakx, #1132)
    • setup.Returns(InvocationFunc) wraps thrown exceptions in TargetInvocationException (@stakx, #1141)