Move null check into separate method to prevent unnecessary conversion of null into...
authorFilip Navara <filip.navara@gmail.com>
Thu, 4 Apr 2019 01:02:15 +0000 (03:02 +0200)
committerStephen Toub <stoub@microsoft.com>
Thu, 4 Apr 2019 01:02:15 +0000 (21:02 -0400)
commit4d172e275df7ebf59635a4fda9f66cd7f34b5eb1
tree0860aa827cf1913b8d93f3f3f6df332672735169
parent4ff9c3c2382f6cbe2fa4e041e3a7cc7a8933caa4
Move null check into separate method to prevent unnecessary conversion of null into ReadOnlySpan (dotnet/coreclr#23616)

Commit migrated from https://github.com/dotnet/coreclr/commit/ea83460f07b0f502abddbbd8f264fb66671d7fe4
src/libraries/System.Private.CoreLib/src/System/Threading/WaitHandle.cs