6 references to MaxMultiElements
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\AsyncLocal.cs (6)
394
Debug.Assert(keyValues.Length is >= 5 and <=
MaxMultiElements
);
448
if (_keyValues.Length <
MaxMultiElements
)
457
var manyValues = new KeyValuePair<IAsyncLocal, object?>[
MaxMultiElements
+ 1];
487
Debug.Assert(keyValues.Length > MultiElementAsyncLocalValueMap.
MaxMultiElements
);
539
if (_keyValues.Length == MultiElementAsyncLocalValueMap.
MaxMultiElements
+ 1)
541
var newValues = new KeyValuePair<IAsyncLocal, object?>[MultiElementAsyncLocalValueMap.
MaxMultiElements
];