Closed ENikS closed 6 years ago
In our custom TearDown strategy we get property values of dependency via reflection. But with enabled interception we get an exception TargetException :
TargetException
Object does not match target type
when calling property.GetValue(transparent_proxy_obj, null)
property.GetValue(transparent_proxy_obj, null)
Support for TearDown in Unity is discontinued.
In our custom TearDown strategy we get property values of dependency via reflection. But with enabled interception we get an exception
TargetException
:when calling
property.GetValue(transparent_proxy_obj, null)