Skip to content

First issue #4

Answered by ashmind
jsk95 asked this question in Q&A
Apr 4, 2021 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

If there is a clear overload conflict, you will have to specify default explicitly.
I don't have a good constant for Any yet, but default is essentially Any.

So something like this

mock.Setup.ParseToInt32(default).Returns(1); 

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jsk95
Comment options

jsk95 Apr 5, 2021
Collaborator Author

@ashmind
Comment options

@jsk95
Comment options

jsk95 Apr 5, 2021
Collaborator Author

@ashmind
Comment options

Answer selected by jsk95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1 on April 04, 2021 21:00.