8 references to MaxWaitHandles
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (4)
151private readonly RegisteredWaitHandle[] _registeredWaits = new RegisteredWaitHandle[WaitHandle.MaxWaitHandles - 1]; 158private readonly SafeWaitHandle[] _waitHandles = new SafeWaitHandle[WaitHandle.MaxWaitHandles]; 167private readonly RegisteredWaitHandle?[] _pendingRemoves = new RegisteredWaitHandle[WaitHandle.MaxWaitHandles - 1]; 398if (_numUserWaits == WaitHandle.MaxWaitHandles - 1)
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (4)
223Math.Min(MaxWaitHandles, 2 * currentLength))]; 243Debug.Assert(waitHandles.Length <= MaxWaitHandles); 303if (waitHandles.Length > MaxWaitHandles) 368Debug.Assert(safeWaitHandles.Length <= MaxWaitHandles);