From af0dbf525913c0dc0c7d7745a4f0c634bf0690cf Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 30 Nov 2022 00:48:47 +0000 Subject: [PATCH] Use nullable state parameter --- VpSharp/src/Internal/Connection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VpSharp/src/Internal/Connection.cs b/VpSharp/src/Internal/Connection.cs index 121321e..7aa6f09 100644 --- a/VpSharp/src/Internal/Connection.cs +++ b/VpSharp/src/Internal/Connection.cs @@ -1,4 +1,4 @@ -using System.Net.Sockets; +using System.Net.Sockets; using System.Runtime.InteropServices; using VpSharp.NativeApi; @@ -93,7 +93,7 @@ internal class Connection } } - private static void HandleTimeout(object state) + private static void HandleTimeout(object? state) { (state as Connection)?.HandleTimeout(); }