Open rbeurskens opened 1 year ago
See referenced issue in Caste.Core. I guess whenever they release a version that includes the fix, I can just use the updated Casle.Core version to resolve the problem.
Thanks @rbeurskens . Happy to bump the Castle.Core version when a fix is included. 👍
I think this is fixed. Adding the test in the initial post to the code would be nice.
Describe the bug Trying to configure/override a generic overridden virtual method with an out parameter on a class substitute throws an exception.
To Reproduce
given:
Expected behaviour Runs normally and the method returns the desired object when called
Environment:
Additional context This might be a bug in Castle.Core or wrong usage of it, but I can't tell. If the method override in the MyControlFactory class is removed, the exception does not occur and code runs as expected