16 references to GetThunk
System.Private.CoreLib (16)
System\Delegate.cs (16)
95
if (
GetThunk
(OpenInstanceThunk) == _functionPointer)
137
_functionPointer =
GetThunk
(ClosedInstanceThunkOverGenericMethod);
164
_functionPointer =
GetThunk
(ClosedInstanceThunkOverGenericMethod);
194
_functionPointer =
GetThunk
(ClosedInstanceThunkOverGenericMethod);
234
internal bool IsDynamicDelegate() =>
GetThunk
(MulticastThunk) == IntPtr.Zero;
269
if ((_firstParameter is NativeFunctionPointerWrapper) || (_functionPointer ==
GetThunk
(ObjectArrayThunk)))
289
if ((_firstParameter is NativeFunctionPointerWrapper) || (_functionPointer ==
GetThunk
(ObjectArrayThunk)))
339
if (_functionPointer ==
GetThunk
(ClosedStaticThunk) ||
340
_functionPointer ==
GetThunk
(ClosedInstanceThunkOverGenericMethod) ||
341
_functionPointer ==
GetThunk
(ObjectArrayThunk))
374
internal IntPtr TryGetOpenStaticFunctionPointer() => (
GetThunk
(OpenStaticThunk) == _functionPointer) ? _extraFunctionPointerOrData : 0;
397
IntPtr objArrayThunk = del.
GetThunk
(Delegate.ObjectArrayThunk);
428
IntPtr thunk = del.
GetThunk
(Delegate.OpenStaticThunk);
433
IntPtr thunk = del.
GetThunk
(Delegate.ClosedStaticThunk);
441
IntPtr thunk = del.
GetThunk
(Delegate.OpenInstanceThunk);
459
result._functionPointer = thisIsMultiCastAlready ? _functionPointer :
GetThunk
(MulticastThunk);