Fix WaitTimeout breaking change (dotnet/coreclr#22881)
authorStephen Toub <stoub@microsoft.com>
Wed, 27 Feb 2019 17:40:06 +0000 (12:40 -0500)
committerGitHub <noreply@github.com>
Wed, 27 Feb 2019 17:40:06 +0000 (12:40 -0500)
WaitHandle.WaitTimeout is a public API.  It can't be made internal.

Commit migrated from https://github.com/dotnet/coreclr/commit/5472a34cc2ffcc4465dfd0ef1a99afefc37df90e

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

index d90db24..3c92bcd 100644 (file)
@@ -42,7 +42,7 @@ namespace System.Threading
         // waitIndex).
         internal const int WaitAbandoned = 0x80;
 
-        internal const int WaitTimeout = 0x102;
+        public const int WaitTimeout = 0x102;
 
         protected WaitHandle()
         {