16 references to GetThunk
System.Private.CoreLib (16)
System\Delegate.cs (16)
93
if (
GetThunk
(OpenInstanceThunk) == _methodPtr)
135
_methodPtr =
GetThunk
(ClosedInstanceThunkOverGenericMethod);
162
_methodPtr =
GetThunk
(ClosedInstanceThunkOverGenericMethod);
192
_methodPtr =
GetThunk
(ClosedInstanceThunkOverGenericMethod);
232
internal bool IsDynamicDelegate() =>
GetThunk
(MulticastThunk) == IntPtr.Zero;
267
if ((_target is NativeFunctionPointerWrapper) || (_methodPtr ==
GetThunk
(ObjectArrayThunk)))
287
if ((_target is NativeFunctionPointerWrapper) || (_methodPtr ==
GetThunk
(ObjectArrayThunk)))
337
if (_methodPtr ==
GetThunk
(ClosedStaticThunk) ||
338
_methodPtr ==
GetThunk
(ClosedInstanceThunkOverGenericMethod) ||
339
_methodPtr ==
GetThunk
(ObjectArrayThunk))
372
internal IntPtr TryGetOpenStaticFunctionPointer() => (
GetThunk
(OpenStaticThunk) == _methodPtr) ? _extraFunctionPointerOrData : 0;
395
IntPtr objArrayThunk = del.
GetThunk
(Delegate.ObjectArrayThunk);
426
IntPtr thunk = del.
GetThunk
(Delegate.OpenStaticThunk);
431
IntPtr thunk = del.
GetThunk
(Delegate.ClosedStaticThunk);
439
IntPtr thunk = del.
GetThunk
(Delegate.OpenInstanceThunk);
457
result._methodPtr = thisIsMultiCastAlready ? _methodPtr :
GetThunk
(MulticastThunk);