This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+184
View File
@@ -0,0 +1,184 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using Mono;
namespace System.Reflection
{
/// <summary>Discovers the attributes of an event and provides access to event metadata.</summary>
// Token: 0x02000249 RID: 585
[Token(Token = "0x2000249")]
[ComDefaultInterface(typeof(_EventInfo))]
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
[Serializable]
[StructLayout(0)]
public abstract class EventInfo : MemberInfo, _EventInfo
{
/// <summary>Gets the <see langword="Type" /> object of the underlying event-handler delegate associated with this event.</summary>
/// <returns>A read-only <see langword="Type" /> object representing the delegate event handler.</returns>
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
// 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;
}
}
/// <summary>Gets a <see cref="T:System.Reflection.MemberTypes" /> value indicating that this member is an event.</summary>
/// <returns>A <see cref="T:System.Reflection.MemberTypes" /> value indicating that this member is an event.</returns>
// 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;
}
}
/// <summary>Initializes a new instance of the <see langword="EventInfo" /> class.</summary>
// Token: 0x06001507 RID: 5383 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001507")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected EventInfo()
{
}
/// <summary>Returns the method used to add an event handler delegate to the event source.</summary>
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> object representing the method used to add an event handler delegate to the event source.</returns>
// 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;
}
/// <summary>When overridden in a derived class, retrieves the <see langword="MethodInfo" /> object for the <see cref="M:System.Reflection.EventInfo.AddEventHandler(System.Object,System.Delegate)" /> method of the event, specifying whether to return non-public methods.</summary>
/// <param name="nonPublic">
/// <see langword="true" /> if non-public methods can be returned; otherwise, <see langword="false" />.</param>
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> object representing the method used to add an event handler delegate to the event source.</returns>
/// <exception cref="T:System.MethodAccessException">
/// <paramref name="nonPublic" /> is <see langword="true" />, 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.</exception>
// Token: 0x06001509 RID: 5385
[Token(Token = "0x6001509")]
[Address(Slot = "20")]
public abstract MethodInfo GetAddMethod(bool nonPublic);
/// <summary>When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods.</summary>
/// <param name="nonPublic">
/// <see langword="true" /> if non-public methods can be returned; otherwise, <see langword="false" />.</param>
/// <returns>A <see langword="MethodInfo" /> object that was called when the event was raised.</returns>
/// <exception cref="T:System.MethodAccessException">
/// <paramref name="nonPublic" /> is <see langword="true" />, 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.</exception>
// Token: 0x0600150A RID: 5386
[Token(Token = "0x600150A")]
[Address(Slot = "21")]
public abstract MethodInfo GetRaiseMethod(bool nonPublic);
/// <summary>Returns the method used to remove an event handler delegate from the event source.</summary>
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> object representing the method used to remove an event handler delegate from the event source.</returns>
// 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;
}
/// <summary>When overridden in a derived class, retrieves the <see langword="MethodInfo" /> object for removing a method of the event, specifying whether to return non-public methods.</summary>
/// <param name="nonPublic">
/// <see langword="true" /> if non-public methods can be returned; otherwise, <see langword="false" />.</param>
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> object representing the method used to remove an event handler delegate from the event source.</returns>
/// <exception cref="T:System.MethodAccessException">
/// <paramref name="nonPublic" /> is <see langword="true" />, 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.</exception>
// Token: 0x0600150C RID: 5388
[Token(Token = "0x600150C")]
[Address(Slot = "23")]
public abstract MethodInfo GetRemoveMethod(bool nonPublic);
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
/// <param name="obj">An object to compare with this instance, or <see langword="null" />.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// 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;
}
/// <summary>Indicates whether two <see cref="T:System.Reflection.EventInfo" /> objects are equal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> is equal to <paramref name="right" />; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Indicates whether two <see cref="T:System.Reflection.EventInfo" /> objects are not equal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> is not equal to <paramref name="right" />; otherwise, <see langword="false" />.</returns>
// 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);
}
}