Esempio n. 1
0
        public MethodDescChunk GetMethodDescChunk()
        {
            int    offset   = (int)MethodDescChunk.SizeOf + (GetMethodDescIndex() * ALIGNMENT);
            IntPtr chunkPtr = _address - offset;

            return(MethodDescChunk.ReadFromAddress(chunkPtr));
        }
Esempio n. 2
0
        public MethodTable GetMethodTable()
        {
            MethodDescChunk chunk = GetMethodDescChunk();

            return(MethodTable.ReadFromAddress(chunk.GetMethodTablePtr()));
        }