using System; using IL2CPU.API.Attribs; namespace Cosmos.Core_Asm { [Plug(Target = typeof(Delegate), Inheritable = true)] public static unsafe class DelegateImpl { [PlugMethod(Assembler = typeof(DelegateCtorAsm), IsWildcard = true, WildcardMatchParameters = true)] public static void Ctor(Delegate aThis, object aTarget, IntPtr aMethod) { throw new NotImplementedException(); } [PlugMethod(IsWildcard = true, Assembler = typeof(DelegateInvokeAsm))] public static void Invoke() { throw new NotImplementedException(); } [PlugMethod(Assembler = typeof(DelegateGetMulticastInvokeAsm))] public static IntPtr GetMulticastInvoke(Delegate aThis) { throw new NotImplementedException(); } public static bool Equals(Delegate aThis, object aThat) { throw new NotImplementedException(); } public static int GetHashCode(Delegate aThis, [FieldAccess(Name = "System.IntPtr System.Delegate._methodPtr")] ref IntPtr aAddress) { return (int)aAddress.ToPointer(); } } }