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