-
Notifications
You must be signed in to change notification settings - Fork 936
Closed
Milestone
Description
Some TargetInvocationException
unwrapping are done by using ReflectHelper.UnwrapTargetInvocationException
, which preserves the stack trace by the way.
Others are "manually" done, overriding the stack trace (mainly in Linq provider).
Some unwrapping are missing too. By example in DefaultDynamicLazyFieldInterceptor
in the same method, one call to InvokeMethodOnTarget
is guarded for unwrapping while the other is not. (The unwrapping should be moved to InvokeMethodOnTarget
in this case.)