Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.MulticastDelegate Class Referenceabstract

Public Member Functions

override void GetObjectData (SerializationInfo info, StreamingContext context)
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
override Delegate[] GetInvocationList ()
 
override int GetHashCode ()
 
virtual object Clone ()
 
object? DynamicInvoke (params object?[]? args)
 

Static Public Member Functions

static bool operator== (MulticastDelegate? d1, MulticastDelegate? d2)
 
static bool operator!= (MulticastDelegate? d1, MulticastDelegate? d2)
 
static ? Delegate CreateDelegate (Type type, object target, string method, bool ignoreCase, bool throwOnBindFailure)
 
static ? Delegate CreateDelegate (Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method, bool ignoreCase, bool throwOnBindFailure)
 
static ? Delegate CreateDelegate (Type type, MethodInfo method, bool throwOnBindFailure)
 
static ? Delegate CreateDelegate (Type type, object? firstArgument, MethodInfo method, bool throwOnBindFailure)
 
static Delegate CreateDelegate (Type type, object? firstArgument, MethodInfo method)
 
static Delegate CreateDelegate (Type type, MethodInfo method)
 
static Delegate CreateDelegate (Type type, object target, string method)
 
static Delegate CreateDelegate (Type type, object target, string method, bool ignoreCase)
 
static Delegate CreateDelegate (Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method)
 
static Delegate CreateDelegate (Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method, bool ignoreCase)
 
static ? Delegate Combine (Delegate? a, Delegate? b)
 
static ? Delegate Combine (params Delegate?[]? delegates)
 
static ? Delegate Remove (Delegate? source, Delegate? value)
 
static ? Delegate RemoveAll (Delegate? source, Delegate? value)
 
static bool operator== (Delegate? d1, Delegate? d2)
 
static bool operator!= (Delegate? d1, Delegate? d2)
 

Protected Member Functions

 MulticastDelegate (object target, string method)
 
 MulticastDelegate ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type target, string method)
 
override Delegate CombineImpl (Delegate? follow)
 
override? Delegate RemoveImpl (Delegate value)
 
override MethodInfo GetMethodImpl ()
 
virtual ? object DynamicInvokeImpl (object?[]? args)
 

Package Functions

bool IsUnmanagedFunctionPtr ()
 
bool InvocationListLogicallyNull ()
 
MulticastDelegate NewMulticastDelegate (object[] invocationList, int invocationCount)
 
void StoreDynamicMethod (MethodInfo dynamicMethod)
 
override object GetTarget ()
 
static MulticastDelegate InternalAllocLike (Delegate d)
 
static bool InternalEqualTypes (object a, object b)
 
IntPtr GetMulticastInvoke ()
 
IntPtr GetInvokeMethod ()
 
IRuntimeMethodInfo FindMethodHandle ()
 
static bool InternalEqualMethodHandles (Delegate left, Delegate right)
 
IntPtr AdjustTarget (object target, IntPtr methodPtr)
 
IntPtr GetCallStub (IntPtr methodPtr)
 
static bool CompareUnmanagedFunctionPtrs (Delegate d1, Delegate d2)
 

Static Package Functions

static Delegate CreateDelegateNoSecurityCheck (Type type, object target, RuntimeMethodHandle method)
 
static Delegate CreateDelegateInternal (RuntimeType rtType, RuntimeMethodInfo rtMethod, object firstArgument, DelegateBindingFlags flags)
 

Package Attributes

object _target
 
object _methodBase
 
IntPtr _methodPtr
 
IntPtr _methodPtrAux
 

Properties

object? Target [get]
 
MethodInfo Method [get]
 

Private Member Functions

bool InvocationListEquals (MulticastDelegate d)
 
MulticastDelegate NewMulticastDelegate (object[] invocationList, int invocationCount, bool thisIsMultiCastAlready)
 
object[] DeleteFromInvocationList (object[] invocationList, int invocationCount, int deleteIndex, int deleteCount)
 
void CtorClosed (object target, IntPtr methodPtr)
 
void CtorClosedStatic (object target, IntPtr methodPtr)
 
void CtorRTClosed (object target, IntPtr methodPtr)
 
void CtorOpened (object target, IntPtr methodPtr, IntPtr shuffleThunk)
 
void CtorVirtualDispatch (object target, IntPtr methodPtr, IntPtr shuffleThunk)
 
void CtorCollectibleClosedStatic (object target, IntPtr methodPtr, IntPtr gchandle)
 
void CtorCollectibleOpened (object target, IntPtr methodPtr, IntPtr shuffleThunk, IntPtr gchandle)
 
void CtorCollectibleVirtualDispatch (object target, IntPtr methodPtr, IntPtr shuffleThunk, IntPtr gchandle)
 
bool BindToMethodName (object target, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] RuntimeType methodType, string method, DelegateBindingFlags flags)
 
bool BindToMethodInfo (object target, IRuntimeMethodInfo method, RuntimeType methodType, DelegateBindingFlags flags)
 
static MulticastDelegate InternalAlloc (RuntimeType type)
 
void DelegateConstruct (object target, IntPtr slot)
 

Static Private Member Functions

static bool TrySetSlot (object[] a, int index, object o)
 
static bool EqualInvocationLists (object[] a, object[] b, int start, int count)
 
static void ThrowNullThisInDelegateToInstance ()
 

Private Attributes

object _invocationList
 
IntPtr _invocationCount
 

Detailed Description

Definition at line 15 of file MulticastDelegate.cs.


The documentation for this class was generated from the following file: