Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetupAllProperties crashes when invoked on a Mock<T> subclass #1278

Closed
mo-russo opened this issue Aug 4, 2022 · 0 comments · Fixed by #1281
Closed

SetupAllProperties crashes when invoked on a Mock<T> subclass #1278

mo-russo opened this issue Aug 4, 2022 · 0 comments · Fixed by #1281
Assignees
Labels
Milestone

Comments

@mo-russo
Copy link

mo-russo commented Aug 4, 2022

Simply create a class MyClass : Mock<T>, create an instance and invoke SetupAllProperties.

@stakx stakx added the bug label Aug 4, 2022
@stakx stakx changed the title [Crash] SetupAllProperties crashes when invoked on a Mock<T> subclass. SetupAllProperties crashes when invoked on a Mock<T> subclass Aug 5, 2022
@stakx stakx self-assigned this Aug 5, 2022
@stakx stakx added this to the 4.18.3 milestone Aug 5, 2022
@devlooped devlooped locked and limited conversation to collaborators Sep 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants