Fix nullable annotation
authorJan Kotas <jkotas@microsoft.com>
Tue, 28 May 2019 22:48:40 +0000 (15:48 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 29 May 2019 01:39:25 +0000 (18:39 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/420884ff6f4244f0e6ca8c5cfc2f59a708d89379

src/libraries/System.Private.CoreLib/src/System/Threading/WaitHandle.cs

index dae3ddc..582aca4 100644 (file)
@@ -190,7 +190,7 @@ namespace System.Threading
                     Math.Min(MaxWaitHandles, 2 * currentLength))];
             }
 
-            return safeWaitHandles;
+            return safeWaitHandles!;
         }
 
         private static void ReturnSafeWaitHandleArray(SafeWaitHandle?[]? safeWaitHandles)