From 80e2b9b518b5ca7613f1a803f6c94a4de6789df7 Mon Sep 17 00:00:00 2001 From: Jay Miller Date: Wed, 27 Nov 2019 08:46:41 -0700 Subject: [PATCH] Reverted a C# 8 feature. --- .../AsyncInterceptionContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ninject.Extensions.Interception.Test/AsyncInterceptionContext.cs b/src/Ninject.Extensions.Interception.Test/AsyncInterceptionContext.cs index 32fb9db..11e722e 100644 --- a/src/Ninject.Extensions.Interception.Test/AsyncInterceptionContext.cs +++ b/src/Ninject.Extensions.Interception.Test/AsyncInterceptionContext.cs @@ -87,7 +87,7 @@ public async Task AsyncMethodsWithReturnValue_InterceptorsCanCatchException() var result = await service.DoAsyncIntThrow(); BeforeAfterCallOrderInterceptor.Order.Should().Be("Before_Action_HandleException_AfterCompleted_"); - result.Should().Be(default); + result.Should().Be(default(int)); } }