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
Describe the bug
Adding a proxy methods (override or add) with any parameters after the instance will fail to shim.
Reproducible Example
publicclassTestClass{
...}publicinterfaceIShim{[ShimProxy(typeof(ProxyLogic))]// Add or Override gives same resultstringMethod(stringarg);}publicclassProxyLogic{publicstringMethod(IShiminst,stringarg){return$"[{arg}]";}}varshim=newTestClass().Shim<IShim>();// Currently throws exceptionvarres=shim.Method("test");
Expected behaviour res should be [test]
Actual behaviour
Exception is thrown.
The text was updated successfully, but these errors were encountered:
Describe the bug
Adding a proxy methods (override or add) with any parameters after the instance will fail to shim.
Reproducible Example
Expected behaviour
res
should be[test]
Actual behaviour
Exception is thrown.
The text was updated successfully, but these errors were encountered: