コード例 #1
0
        public MethodDescChunk GetMethodDescChunk()
        {
            int    offset   = (int)MethodDescChunk.SizeOf + (GetMethodDescIndex() * ALIGNMENT);
            IntPtr chunkPtr = _address - offset;

            return(MethodDescChunk.ReadFromAddress(chunkPtr));
        }
コード例 #2
0
        public MethodTable GetMethodTable()
        {
            MethodDescChunk chunk = GetMethodDescChunk();

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