unitycontainer / interception

Unity.Interception package
Apache License 2.0
22 stars 17 forks source link

InterceptingRealProxy throws exception when working with transparent proxy. #1

Closed ENikS closed 6 years ago

ENikS commented 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 :

Object does not match target type

when calling property.GetValue(transparent_proxy_obj, null)

ENikS commented 6 years ago

Support for TearDown in Unity is discontinued.