using System; using System.Runtime.InteropServices; using Cpp2IlInjected; using Mono; namespace System.Reflection { /// Discovers the attributes of an event and provides access to event metadata. // Token: 0x02000242 RID: 578 [Token(Token = "0x2000242")] [ClassInterface(ClassInterfaceType.None)] [ComVisible(true)] [ComDefaultInterface(typeof(_EventInfo))] [Serializable] [StructLayout(0)] public abstract class EventInfo : MemberInfo, _EventInfo { /// Gets the object of the underlying event-handler delegate associated with this event. /// A read-only object representing the delegate event handler. /// The caller does not have the required permission. // Token: 0x17000229 RID: 553 // (get) Token: 0x060014C6 RID: 5318 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000229")] public virtual Type EventHandlerType { [Token(Token = "0x60014C6")] [Address(RVA = "0x2A06AD0", Offset = "0x2A058D0", VA = "0x182A06AD0", Slot = "18")] get { return null; } } /// Gets a value indicating that this member is an event. /// A value indicating that this member is an event. // Token: 0x1700022A RID: 554 // (get) Token: 0x060014C7 RID: 5319 RVA: 0x0000F300 File Offset: 0x0000D500 [Token(Token = "0x1700022A")] public override MemberTypes MemberType { [Token(Token = "0x60014C7")] [Address(RVA = "0x460DB0", Offset = "0x45FBB0", VA = "0x180460DB0", Slot = "7")] get { return (MemberTypes)0; } } /// Initializes a new instance of the class. // Token: 0x060014C8 RID: 5320 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60014C8")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")] protected EventInfo() { } /// Returns the method used to add an event handler delegate to the event source. /// A object representing the method used to add an event handler delegate to the event source. // Token: 0x060014C9 RID: 5321 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60014C9")] [Address(RVA = "0x2A069B0", Offset = "0x2A057B0", VA = "0x182A069B0", Slot = "19")] public MethodInfo GetAddMethod() { return null; } /// When overridden in a derived class, retrieves the object for the method of the event, specifying whether to return non-public methods. /// /// if non-public methods can be returned; otherwise, . /// A object representing the method used to add an event handler delegate to the event source. /// /// is , the method used to add an event handler delegate is non-public, and the caller does not have permission to reflect on non-public methods. // Token: 0x060014CA RID: 5322 [Token(Token = "0x60014CA")] [Address(Slot = "20")] public abstract MethodInfo GetAddMethod(bool nonPublic); /// When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods. /// /// if non-public methods can be returned; otherwise, . /// A object that was called when the event was raised. /// /// is , the method used to add an event handler delegate is non-public, and the caller does not have permission to reflect on non-public methods. // Token: 0x060014CB RID: 5323 [Token(Token = "0x60014CB")] [Address(Slot = "21")] public abstract MethodInfo GetRaiseMethod(bool nonPublic); /// Returns the method used to remove an event handler delegate from the event source. /// A object representing the method used to remove an event handler delegate from the event source. // Token: 0x060014CC RID: 5324 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60014CC")] [Address(RVA = "0x2A06AB0", Offset = "0x2A058B0", VA = "0x182A06AB0", Slot = "22")] public MethodInfo GetRemoveMethod() { return null; } /// When overridden in a derived class, retrieves the object for removing a method of the event, specifying whether to return non-public methods. /// /// if non-public methods can be returned; otherwise, . /// A object representing the method used to remove an event handler delegate from the event source. /// /// is , the method used to add an event handler delegate is non-public, and the caller does not have permission to reflect on non-public methods. // Token: 0x060014CD RID: 5325 [Token(Token = "0x60014CD")] [Address(Slot = "23")] public abstract MethodInfo GetRemoveMethod(bool nonPublic); /// Returns a value that indicates whether this instance is equal to a specified object. /// An object to compare with this instance, or . /// /// if equals the type and value of this instance; otherwise, . // Token: 0x060014CE RID: 5326 RVA: 0x0000F318 File Offset: 0x0000D518 [Token(Token = "0x60014CE")] [Address(RVA = "0x1746070", Offset = "0x1744E70", VA = "0x181746070", Slot = "0")] public override bool Equals(object obj) { return default(bool); } /// Returns the hash code for this instance. /// A 32-bit signed integer hash code. // Token: 0x060014CF RID: 5327 RVA: 0x0000F330 File Offset: 0x0000D530 [Token(Token = "0x60014CF")] [Address(RVA = "0x2A02170", Offset = "0x2A00F70", VA = "0x182A02170", Slot = "2")] public override int GetHashCode() { return 0; } /// Indicates whether two objects are equal. /// The first object to compare. /// The second object to compare. /// /// if is equal to ; otherwise, . // Token: 0x060014D0 RID: 5328 RVA: 0x0000F348 File Offset: 0x0000D548 [Token(Token = "0x60014D0")] [Address(RVA = "0x2954E10", Offset = "0x2953C10", VA = "0x182954E10")] public static bool operator ==(EventInfo left, EventInfo right) { return default(bool); } /// Indicates whether two objects are not equal. /// The first object to compare. /// The second object to compare. /// /// if is not equal to ; otherwise, . // Token: 0x060014D1 RID: 5329 RVA: 0x0000F360 File Offset: 0x0000D560 [Token(Token = "0x60014D1")] [Address(RVA = "0x2954E60", Offset = "0x2953C60", VA = "0x182954E60")] public static bool operator !=(EventInfo left, EventInfo right) { return default(bool); } // Token: 0x060014D2 RID: 5330 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60014D2")] [Address(RVA = "0x2A06B50", Offset = "0x2A05950", VA = "0x182A06B50")] private static EventInfo internal_from_handle_type(IntPtr event_handle, IntPtr type_handle) { return null; } // Token: 0x060014D3 RID: 5331 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60014D3")] [Address(RVA = "0x2A069D0", Offset = "0x2A057D0", VA = "0x182A069D0")] internal static EventInfo GetEventFromHandle(RuntimeEventHandle handle, RuntimeTypeHandle reflectedType) { return null; } // Token: 0x04000B25 RID: 2853 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4000B25")] private EventInfo.AddEventAdapter cached_add_event; // Token: 0x02000243 RID: 579 // (Invoke) Token: 0x060014D5 RID: 5333 [Token(Token = "0x2000243")] private delegate void AddEventAdapter(object _this, Delegate dele); } }