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