6 references to MaxMultiElements
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Threading\AsyncLocal.cs (6)
392Debug.Assert(keyValues.Length is >= 5 and <= MaxMultiElements); 446if (_keyValues.Length < MaxMultiElements) 455var many = new ManyElementAsyncLocalValueMap(MaxMultiElements + 1); 511if (count == MultiElementAsyncLocalValueMap.MaxMultiElements + 1) 513var newValues = new KeyValuePair<IAsyncLocal, object?>[MultiElementAsyncLocalValueMap.MaxMultiElements]; 522Debug.Assert(index == MultiElementAsyncLocalValueMap.MaxMultiElements);