-
Notifications
You must be signed in to change notification settings - Fork 471
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
Are internal methods supported? #695
Comments
In addition, this will also give the same exception in Moq. So it's unclear is this a bug, a limitation or NSubstitute and Moq doing incorrect calls. The full exception stacktrace, with the message from Castle Core "method .. does not have an implementation":
Tested with version 5.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a bug raised on NSubstitute nsubstitute/NSubstitute#866 which after some debugging looks like it makes more sense to be here.
I have a reporoduction case which you can check out here https://github.com/baynezy/NSubstituteIssue
Essentially, this interface can be mocked:
and this one
throws a
System.TypeLoadException
.Let me know if you need more detail.
Thanks.
The text was updated successfully, but these errors were encountered: