Skip to content

Commit 7fbfdcd

Browse files
committed
Fixed the stackoverflow exception
1 parent a3af939 commit 7fbfdcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ninject.Extensions.Interception.DynamicProxy/DynamicProxyProxyFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public override void Dispose(bool disposing)
6666
/// <param name="reference">The <see cref="InstanceReference"/> to wrap.</param>
6767
public override void Wrap(IContext context, InstanceReference reference)
6868
{
69-
if (reference.Instance is IInterceptor ||
69+
if (reference.Instance is Interception.IInterceptor ||
7070
reference.Instance is IProxyTargetAccessor)
7171
{
7272
return;

0 commit comments

Comments
 (0)