private static unsafe RuntimeTypeHandle IntPtrToRuntimeTypeHandle(IntPtr rtth)
        {
            RuntimeTypeHandle  handle = default(RuntimeTypeHandle);
            RuntimeTypeHandle *pRTTH  = &handle;

            *((IntPtr *)pRTTH) = rtth;

            return(handle);
        }
Exemplo n.º 2
0
 private extern unsafe RuntimeFieldHandle ResolveField(int fieldToken, RuntimeTypeHandle *typeInstArgs, int typeInstCount, RuntimeTypeHandle *methodInstArgs, int methodInstCount);