15 references to GetThunk
System.Private.CoreLib (15)
System\Delegate.NativeAot.cs (15)
37if (_methodPtr == GetThunk(ClosedStaticThunk) || 38_methodPtr == GetThunk(ClosedInstanceThunkOverGenericMethod) || 39_methodPtr == GetThunk(ObjectArrayThunk)) 132if (GetThunk(OpenInstanceThunk) != _methodPtr) 174_methodPtr = GetThunk(ClosedInstanceThunkOverGenericMethod); 201_methodPtr = GetThunk(ClosedInstanceThunkOverGenericMethod); 229_methodPtr = GetThunk(ClosedInstanceThunkOverGenericMethod); 291if (_target is NativeFunctionPointerWrapper || _methodPtr == GetThunk(ObjectArrayThunk)) 310if (_target is NativeFunctionPointerWrapper || _methodPtr == GetThunk(ObjectArrayThunk)) 359internal IntPtr TryGetOpenStaticFunctionPointer() => GetThunk(OpenStaticThunk) == _methodPtr ? _extraFunctionPointerOrData : 0; 377IntPtr objArrayThunk = del.GetThunk(ObjectArrayThunk); 408IntPtr thunk = del.GetThunk(OpenStaticThunk); 413IntPtr thunk = del.GetThunk(ClosedStaticThunk); 421IntPtr thunk = del.GetThunk(OpenInstanceThunk); 439result._methodPtr = thisIsMultiCastAlready ? _methodPtr : GetThunk(MulticastThunk);