You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since ExecuteReader in the AdvancedReader class is a new virtual method, I believe reflection returned 2 MethodInfo objects and Moq expects one or zero.
The text was updated successfully, but these errors were encountered:
This regression was introduced in v4.7.0 (tested with 4.5.30 - no issues).
Consider the following example:
Setup fails with the following error:
System.InvalidOperationException: 'Sequence contains more than one matching element'
Stack:
Since ExecuteReader in the AdvancedReader class is a new virtual method, I believe reflection returned 2 MethodInfo objects and Moq expects one or zero.
The text was updated successfully, but these errors were encountered: