8 references to ThunkDataSize
System.Private.CoreLib (8)
System\Runtime\ThunkPool.cs (8)
49
public static readonly uint PageSize = BitOperations.RoundUpToPowerOf2((uint)Math.Max(ThunkCodeSize * NumThunksPerBlock,
ThunkDataSize
* NumThunksPerBlock + IntPtr.Size));
103
_lastThunkPtr = _nextAvailableThunkPtr + Constants.
ThunkDataSize
* (Constants.NumThunksPerBlock - 1);
139
_lastThunkPtr = *((IntPtr*)_lastThunkPtr) + Constants.
ThunkDataSize
* (Constants.NumThunksPerBlock - 1);
179
Debug.Assert((thunkIndex % Constants.
ThunkDataSize
) == 0);
180
thunkIndex /= Constants.
ThunkDataSize
;
246
return thunkDataBlockAddress + thunkIndex * Constants.
ThunkDataSize
;
347
*((IntPtr*)(dataAddress)) = dataAddress + Constants.
ThunkDataSize
;
354
dataAddress += Constants.
ThunkDataSize
;