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
Hi,
I 've created object of a class with parameterless constructor.
On the other hand when I tried to mock this class, I got exception 'Can not instantiate proxy of class. Could not find a parameterless constructor'.
See attached file.
regards
Robert
The text was updated successfully, but these errors were encountered:
(Could it be that you've declared that parameterless constructor internal without making internals visible to DynamicProxy as explained in the quickstart?)
Please post some short, minimal, executable code that reproduces this problem.
Hi,
I 've created object of a class with parameterless constructor.
On the other hand when I tried to mock this class, I got exception 'Can not instantiate proxy of class. Could not find a parameterless constructor'.
See attached file.
regards
Robert
The text was updated successfully, but these errors were encountered: