5 references to ThunkCodeSize
System.Private.CoreLib (5)
System\Runtime\ThunkPool.cs (5)
40
public static readonly uint PageSize = BitOperations.RoundUpToPowerOf2((uint)Math.Max(
ThunkCodeSize
* NumThunksPerBlock, ThunkDataSize * NumThunksPerBlock));
162
IntPtr thunkAddress = RuntimeImports.RhpGetThunkStubsBlockAddress(nextAvailableThunkPtr) + thunkIndex * Constants.
ThunkCodeSize
;
198
thunkAddressValue < (nuint)(nint)currentBlock._blockBaseAddress + (nuint)(Constants.NumThunksPerBlock * Constants.
ThunkCodeSize
))
217
if ((thunkAddressValue - currentThunksBlockAddress) % (nuint)Constants.
ThunkCodeSize
!= 0)
221
int thunkIndex = (int)((thunkAddressValue - currentThunksBlockAddress) / (nuint)Constants.
ThunkCodeSize
);