5 references to s_perCoreCache
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\PoolingAsyncValueTaskMethodBuilderT.cs (5)
378/// <summary>Gets the slot in <see cref="s_perCoreCache"/> for the current core.</summary> 387Debug.Assert(s_perCoreCache.Length == Environment.ProcessorCount, $"{s_perCoreCache.Length} != {Environment.ProcessorCount}"); 395object? transientValue = s_perCoreCache[i].Object; 399return ref Unsafe.As<object?, StateMachineBox<TStateMachine>?>(ref s_perCoreCache[i].Object);