115 return GetType().GetHashCode();
294 if (
method.IsNullHandle())
374 return MemberwiseClone();
381 if ((
object)
a ==
null)
385 return a.CombineImpl(
b);
395 for (
int i = 1; i <
delegates.Length; i++)
465 if ((
object)
source ==
null)
469 if ((
object)
value ==
null)
495 if ((
object)
d2 ==
null)
497 if ((
object)
d1 !=
null)
503 if ((
object)
d2 !=
d1)
505 return d2.Equals(
d1);
513 if ((
object)
d2 ==
null)
515 if ((
object)
d1 !=
null)
521 if ((
object)
d2 !=
d1)
523 return !
d2.Equals(
d1);
void DelegateConstruct(object target, IntPtr slot)
bool BindToMethodInfo(object target, IRuntimeMethodInfo method, RuntimeType methodType, DelegateBindingFlags flags)
static ? Delegate CreateDelegate(Type type, object? firstArgument, MethodInfo method, bool throwOnBindFailure)
virtual Delegate[] GetInvocationList()
static Delegate CreateDelegate(Type type, object? firstArgument, MethodInfo method)
static bool InternalEqualMethodHandles(Delegate left, Delegate right)
virtual ? Delegate RemoveImpl(Delegate d)
static ? Delegate CreateDelegate(Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method, bool ignoreCase, bool throwOnBindFailure)
static ? Delegate RemoveAll(Delegate? source, Delegate? value)
object? DynamicInvoke(params object?[]? args)
bool BindToMethodName(object target, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] RuntimeType methodType, string method, DelegateBindingFlags flags)
static ? Delegate Combine(params Delegate?[]? delegates)
IRuntimeMethodInfo FindMethodHandle()
static Delegate CreateDelegate(Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method)
static ? Delegate CreateDelegate(Type type, object target, string method, bool ignoreCase, bool throwOnBindFailure)
IntPtr AdjustTarget(object target, IntPtr methodPtr)
static Delegate CreateDelegate(Type type, object target, string method, bool ignoreCase)
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
virtual Delegate CombineImpl(Delegate? d)
static Delegate CreateDelegateInternal(RuntimeType rtType, RuntimeMethodInfo rtMethod, object firstArgument, DelegateBindingFlags flags)
static MulticastDelegate InternalAllocLike(Delegate d)
IntPtr GetCallStub(IntPtr methodPtr)
static MulticastDelegate InternalAlloc(RuntimeType type)
virtual MethodInfo GetMethodImpl()
static Delegate CreateDelegate(Type type, MethodInfo method)
static Delegate CreateDelegateNoSecurityCheck(Type type, object target, RuntimeMethodHandle method)
virtual ? object DynamicInvokeImpl(object?[]? args)
static bool operator==(Delegate? d1, Delegate? d2)
static Delegate CreateDelegate(Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method, bool ignoreCase)
Delegate([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method)
Delegate(object target, string method)
virtual object GetTarget()
override int GetHashCode()
static bool InternalEqualTypes(object a, object b)
static Delegate CreateDelegate(Type type, object target, string method)
static bool operator!=(Delegate? d1, Delegate? d2)
static bool CompareUnmanagedFunctionPtrs(Delegate d1, Delegate d2)
IntPtr GetMulticastInvoke()
static ? Delegate CreateDelegate(Type type, MethodInfo method, bool throwOnBindFailure)
static ? Delegate Remove(Delegate? source, Delegate? value)
override bool Equals([NotNullWhen(true)] object? obj)
static ? Delegate Combine(Delegate? a, Delegate? b)
ParameterInfo[] GetParameters()
virtual Type ParameterType
static MethodBase GetMethodBase(RuntimeModule scope, int typeMetadataToken)
static int GetHashCode(object? o)
static string Arg_UnboundGenParam
static string Arg_MustBeDelegate
static string Arg_DlgtTypeMis
static string Argument_MustBeRuntimeMethodInfo
static string Arg_DlgtTargMeth
static string Multicast_Combine
static string Argument_MustBeRuntimeType
virtual bool ContainsGenericParameters
virtual Type GetGenericTypeDefinition()
DynamicallyAccessedMemberTypes
static readonly IntPtr Zero
static RuntimeType GetDeclaringType(RuntimeMethodHandleInternal method)
static MethodAttributes GetAttributes(RuntimeMethodHandleInternal method)
static bool HasInstantiation(RuntimeType type)
static bool IsGenericTypeDefinition(RuntimeType type)