8 references to ThunkDataSize
System.Private.CoreLib (8)
System\Runtime\ThunkPool.cs (8)
40
public static readonly uint PageSize = BitOperations.RoundUpToPowerOf2((uint)Math.Max(ThunkCodeSize * NumThunksPerBlock,
ThunkDataSize
* NumThunksPerBlock));
87
_lastThunkPtr = _nextAvailableThunkPtr + Constants.
ThunkDataSize
* (Constants.NumThunksPerBlock - 1);
119
_lastThunkPtr = *((IntPtr*)_lastThunkPtr) + Constants.
ThunkDataSize
* (Constants.NumThunksPerBlock - 1);
159
Debug.Assert((thunkIndex % Constants.
ThunkDataSize
) == 0);
160
thunkIndex /= Constants.
ThunkDataSize
;
226
return thunkDataBlockAddress + thunkIndex * Constants.
ThunkDataSize
;
327
*((IntPtr*)(dataAddress)) = dataAddress + Constants.
ThunkDataSize
;
334
dataAddress += Constants.
ThunkDataSize
;