unsafe public static IntPtr ResolveMethod(IntPtr resolver, object thisObject)
        {
            IntPtr nonVirtualOpenInvokeCodePointer = ((OpenMethodResolver *)resolver)->_nonVirtualOpenInvokeCodePointer;

            if (nonVirtualOpenInvokeCodePointer != IntPtr.Zero)
            {
                return(nonVirtualOpenInvokeCodePointer);
            }

            return(TypeLoaderExports.OpenInstanceMethodLookup(resolver, thisObject));
        }
Exemplo n.º 2
0
 unsafe public static IntPtr ResolveMethod(IntPtr resolver, object thisObject)
 {
     return(TypeLoaderExports.OpenInstanceMethodLookup(resolver, thisObject));
 }