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: 0x02000249 RID: 585
[Token(Token = "0x2000249")]
[ComDefaultInterface(typeof(_EventInfo))]
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
[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: 0x17000234 RID: 564
// (get) Token: 0x06001505 RID: 5381 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000234")]
public virtual Type EventHandlerType
{
[Token(Token = "0x6001505")]
[Address(RVA = "0x30B7CB0", Offset = "0x30B6CB0", VA = "0x1830B7CB0", 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: 0x17000235 RID: 565
// (get) Token: 0x06001506 RID: 5382 RVA: 0x0000F660 File Offset: 0x0000D860
[Token(Token = "0x17000235")]
public override MemberTypes MemberType
{
[Token(Token = "0x6001506")]
[Address(RVA = "0x4E86A0", Offset = "0x4E76A0", VA = "0x1804E86A0", Slot = "7")]
get
{
return (MemberTypes)0;
}
}
/// Initializes a new instance of the class.
// Token: 0x06001507 RID: 5383 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001507")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
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: 0x06001508 RID: 5384 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001508")]
[Address(RVA = "0x30B7B90", Offset = "0x30B6B90", VA = "0x1830B7B90", 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: 0x06001509 RID: 5385
[Token(Token = "0x6001509")]
[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: 0x0600150A RID: 5386
[Token(Token = "0x600150A")]
[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: 0x0600150B RID: 5387 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600150B")]
[Address(RVA = "0x30B7C90", Offset = "0x30B6C90", VA = "0x1830B7C90", 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: 0x0600150C RID: 5388
[Token(Token = "0x600150C")]
[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: 0x0600150D RID: 5389 RVA: 0x0000F678 File Offset: 0x0000D878
[Token(Token = "0x600150D")]
[Address(RVA = "0x21EBB30", Offset = "0x21EAB30", VA = "0x1821EBB30", 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: 0x0600150E RID: 5390 RVA: 0x0000F690 File Offset: 0x0000D890
[Token(Token = "0x600150E")]
[Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150", 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: 0x0600150F RID: 5391 RVA: 0x0000F6A8 File Offset: 0x0000D8A8
[Token(Token = "0x600150F")]
[Address(RVA = "0x2D66AB0", Offset = "0x2D65AB0", VA = "0x182D66AB0")]
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: 0x06001510 RID: 5392 RVA: 0x0000F6C0 File Offset: 0x0000D8C0
[Token(Token = "0x6001510")]
[Address(RVA = "0x2D66B00", Offset = "0x2D65B00", VA = "0x182D66B00")]
public static bool operator !=(EventInfo left, EventInfo right)
{
return default(bool);
}
// Token: 0x06001511 RID: 5393 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001511")]
[Address(RVA = "0x30B7D30", Offset = "0x30B6D30", VA = "0x1830B7D30")]
private static EventInfo internal_from_handle_type(IntPtr event_handle, IntPtr type_handle)
{
return null;
}
// Token: 0x06001512 RID: 5394 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001512")]
[Address(RVA = "0x30B7BB0", Offset = "0x30B6BB0", VA = "0x1830B7BB0")]
internal static EventInfo GetEventFromHandle(RuntimeEventHandle handle, RuntimeTypeHandle reflectedType)
{
return null;
}
// Token: 0x04000B2F RID: 2863
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000B2F")]
private EventInfo.AddEventAdapter cached_add_event;
// Token: 0x0200024A RID: 586
// (Invoke) Token: 0x06001514 RID: 5396
[Token(Token = "0x200024A")]
private delegate void AddEventAdapter(object _this, Delegate dele);
}
}