m
This commit is contained in:
@@ -0,0 +1,650 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>Represents a delegate, which is a data structure that refers to a static method or to a class instance and an instance method of that class.</summary>
|
||||
// Token: 0x02000177 RID: 375
|
||||
[Token(Token = "0x2000177")]
|
||||
[ClassInterface(ClassInterfaceType.AutoDual)]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
[StructLayout(0)]
|
||||
public abstract class Delegate : ICloneable, ISerializable
|
||||
{
|
||||
/// <summary>Gets the method represented by the delegate.</summary>
|
||||
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> describing the method represented by the delegate.</returns>
|
||||
/// <exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).</exception>
|
||||
// Token: 0x17000174 RID: 372
|
||||
// (get) Token: 0x06000F4A RID: 3914 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000174")]
|
||||
public MethodInfo Method
|
||||
{
|
||||
[Token(Token = "0x6000F4A")]
|
||||
[Address(RVA = "0x677D80", Offset = "0x676D80", VA = "0x180677D80")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000F4B RID: 3915 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F4B")]
|
||||
[Address(RVA = "0x92BEF0", Offset = "0x92AEF0", VA = "0x18092BEF0")]
|
||||
private MethodInfo GetVirtualMethod_internal()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets the class instance on which the current delegate invokes the instance method.</summary>
|
||||
/// <returns>The object on which the current delegate invokes the instance method, if the delegate represents an instance method; <see langword="null" /> if the delegate represents a static method.</returns>
|
||||
// Token: 0x17000175 RID: 373
|
||||
// (get) Token: 0x06000F4C RID: 3916 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000175")]
|
||||
public object Target
|
||||
{
|
||||
[Token(Token = "0x6000F4C")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000F4D RID: 3917 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F4D")]
|
||||
[Address(RVA = "0x2552A80", Offset = "0x2551A80", VA = "0x182552A80")]
|
||||
internal static Delegate CreateDelegate_internal(Type type, object target, MethodInfo info, bool throwOnBindFailure)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000F4E RID: 3918 RVA: 0x0000CA20 File Offset: 0x0000AC20
|
||||
[Token(Token = "0x6000F4E")]
|
||||
[Address(RVA = "0x25548E0", Offset = "0x25538E0", VA = "0x1825548E0")]
|
||||
private static bool arg_type_match(Type delArgType, Type argType)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000F4F RID: 3919 RVA: 0x0000CA38 File Offset: 0x0000AC38
|
||||
[Token(Token = "0x6000F4F")]
|
||||
[Address(RVA = "0x2554A90", Offset = "0x2553A90", VA = "0x182554A90")]
|
||||
private static bool arg_type_match_this(Type delArgType, Type argType, bool boxedThis)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000F50 RID: 3920 RVA: 0x0000CA50 File Offset: 0x0000AC50
|
||||
[Token(Token = "0x6000F50")]
|
||||
[Address(RVA = "0x2554CA0", Offset = "0x2553CA0", VA = "0x182554CA0")]
|
||||
private static bool return_type_match(Type delReturnType, Type returnType)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument and the specified behavior on failure to bind.</summary>
|
||||
/// <param name="type">A <see cref="T:System.Type" /> representing the type of delegate to create.</param>
|
||||
/// <param name="firstArgument">An <see cref="T:System.Object" /> that is the first argument of the method the delegate represents. For instance methods, it must be compatible with the instance type.</param>
|
||||
/// <param name="method">The <see cref="T:System.Reflection.MethodInfo" /> describing the static or instance method the delegate is to represent.</param>
|
||||
/// <param name="throwOnBindFailure">
|
||||
/// <see langword="true" /> to throw an exception if <paramref name="method" /> cannot be bound; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>A delegate of the specified type that represents the specified static or instance method, or <see langword="null" /> if <paramref name="throwOnBindFailure" /> is <see langword="false" /> and the delegate cannot be bound to <paramref name="method" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound, and <paramref name="throwOnBindFailure" /> is <see langword="true" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not a <see langword="RuntimeMethodInfo" />. See Runtime Types in Reflection.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F51 RID: 3921 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F51")]
|
||||
[Address(RVA = "0x2552A90", Offset = "0x2551A90", VA = "0x182552A90")]
|
||||
public static Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method, bool throwOnBindFailure)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000F52 RID: 3922 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F52")]
|
||||
[Address(RVA = "0x2552BB0", Offset = "0x2551BB0", VA = "0x182552BB0")]
|
||||
private static Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method, bool throwOnBindFailure, bool allowClosed)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="firstArgument">The object to which the delegate is bound, or <see langword="null" /> to treat <paramref name="method" /> as <see langword="static" /> (<see langword="Shared" /> in Visual Basic).</param>
|
||||
/// <param name="method">The <see cref="T:System.Reflection.MethodInfo" /> describing the static or instance method the delegate is to represent.</param>
|
||||
/// <returns>A delegate of the specified type that represents the specified static or instance method.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not a <see langword="RuntimeMethodInfo" />. See Runtime Types in Reflection.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F53 RID: 3923 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F53")]
|
||||
[Address(RVA = "0x2552AB0", Offset = "0x2551AB0", VA = "0x182552AB0")]
|
||||
public static Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type to represent the specified static method, with the specified behavior on failure to bind.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="method">The <see cref="T:System.Reflection.MethodInfo" /> describing the static or instance method the delegate is to represent.</param>
|
||||
/// <param name="throwOnBindFailure">
|
||||
/// <see langword="true" /> to throw an exception if <paramref name="method" /> cannot be bound; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>A delegate of the specified type to represent the specified static method.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound, and <paramref name="throwOnBindFailure" /> is <see langword="true" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not a <see langword="RuntimeMethodInfo" />. See Runtime Types in Reflection.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F54 RID: 3924 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F54")]
|
||||
[Address(RVA = "0x2553840", Offset = "0x2552840", VA = "0x182553840")]
|
||||
public static Delegate CreateDelegate(Type type, MethodInfo method, bool throwOnBindFailure)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type to represent the specified static method.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="method">The <see cref="T:System.Reflection.MethodInfo" /> describing the static or instance method the delegate is to represent. Only static methods are supported in the .NET Framework version 1.0 and 1.1.</param>
|
||||
/// <returns>A delegate of the specified type to represent the specified static method.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not a static method, and the .NET Framework version is 1.0 or 1.1.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not a <see langword="RuntimeMethodInfo" />. See Runtime Types in Reflection.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F55 RID: 3925 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F55")]
|
||||
[Address(RVA = "0x2553810", Offset = "0x2552810", VA = "0x182553810")]
|
||||
public static Delegate CreateDelegate(Type type, MethodInfo method)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="target">The class instance on which <paramref name="method" /> is invoked.</param>
|
||||
/// <param name="method">The name of the instance method that the delegate is to represent.</param>
|
||||
/// <returns>A delegate of the specified type that represents the specified instance method to invoke on the specified class instance.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not an instance method.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound, for example because it cannot be found.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F56 RID: 3926 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F56")]
|
||||
[Address(RVA = "0x2552AD0", Offset = "0x2551AD0", VA = "0x182552AD0")]
|
||||
public static Delegate CreateDelegate(Type type, object target, string method)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000F57 RID: 3927 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F57")]
|
||||
[Address(RVA = "0x2553FE0", Offset = "0x2552FE0", VA = "0x182553FE0")]
|
||||
private static MethodInfo GetCandidateMethod(Type type, Type target, string method, BindingFlags bflags, bool ignoreCase, bool throwOnBindFailure)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type that represents the specified static method of the specified class, with the specified case-sensitivity and the specified behavior on failure to bind.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="target">The <see cref="T:System.Type" /> representing the class that implements <paramref name="method" />.</param>
|
||||
/// <param name="method">The name of the static method that the delegate is to represent.</param>
|
||||
/// <param name="ignoreCase">A Boolean indicating whether to ignore the case when comparing the name of the method.</param>
|
||||
/// <param name="throwOnBindFailure">
|
||||
/// <see langword="true" /> to throw an exception if <paramref name="method" /> cannot be bound; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>A delegate of the specified type that represents the specified static method of the specified class.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is not a <see langword="RuntimeType" />.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is an open generic type. That is, its <see cref="P:System.Type.ContainsGenericParameters" /> property is <see langword="true" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not a <see langword="static" /> method (<see langword="Shared" /> method in Visual Basic).
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound, for example because it cannot be found, and <paramref name="throwOnBindFailure" /> is <see langword="true" />.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F58 RID: 3928 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F58")]
|
||||
[Address(RVA = "0x2553870", Offset = "0x2552870", VA = "0x182553870")]
|
||||
public static Delegate CreateDelegate(Type type, Type target, string method, bool ignoreCase, bool throwOnBindFailure)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type that represents the specified static method of the specified class.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="target">The <see cref="T:System.Type" /> representing the class that implements <paramref name="method" />.</param>
|
||||
/// <param name="method">The name of the static method that the delegate is to represent.</param>
|
||||
/// <returns>A delegate of the specified type that represents the specified static method of the specified class.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is not a <see langword="RuntimeType" />.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is an open generic type. That is, its <see cref="P:System.Type.ContainsGenericParameters" /> property is <see langword="true" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not a <see langword="static" /> method (<see langword="Shared" /> method in Visual Basic).
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound, for example because it cannot be found, and <paramref name="throwOnBindFailure" /> is <see langword="true" />.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F59 RID: 3929 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F59")]
|
||||
[Address(RVA = "0x2553710", Offset = "0x2552710", VA = "0x182553710")]
|
||||
public static Delegate CreateDelegate(Type type, Type target, string method)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance, with the specified case-sensitivity and the specified behavior on failure to bind.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="target">The class instance on which <paramref name="method" /> is invoked.</param>
|
||||
/// <param name="method">The name of the instance method that the delegate is to represent.</param>
|
||||
/// <param name="ignoreCase">A Boolean indicating whether to ignore the case when comparing the name of the method.</param>
|
||||
/// <param name="throwOnBindFailure">
|
||||
/// <see langword="true" /> to throw an exception if <paramref name="method" /> cannot be bound; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>A delegate of the specified type that represents the specified instance method to invoke on the specified class instance.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not an instance method.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound, for example because it cannot be found, and <paramref name="throwOnBindFailure" /> is <see langword="true" />.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F5A RID: 3930 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F5A")]
|
||||
[Address(RVA = "0x2553610", Offset = "0x2552610", VA = "0x182553610")]
|
||||
public static Delegate CreateDelegate(Type type, object target, string method, bool ignoreCase, bool throwOnBindFailure)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a delegate of the specified type that represents the specified instance method to invoke on the specified class instance with the specified case-sensitivity.</summary>
|
||||
/// <param name="type">The <see cref="T:System.Type" /> of delegate to create.</param>
|
||||
/// <param name="target">The class instance on which <paramref name="method" /> is invoked.</param>
|
||||
/// <param name="method">The name of the instance method that the delegate is to represent.</param>
|
||||
/// <param name="ignoreCase">A Boolean indicating whether to ignore the case when comparing the name of the method.</param>
|
||||
/// <returns>A delegate of the specified type that represents the specified instance method to invoke on the specified class instance.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="target" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> does not inherit <see cref="T:System.MulticastDelegate" />.
|
||||
/// -or-
|
||||
/// <paramref name="type" /> is not a <see langword="RuntimeType" />. See Runtime Types in Reflection.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> is not an instance method.
|
||||
/// -or-
|
||||
/// <paramref name="method" /> cannot be bound, for example because it cannot be found.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The <see langword="Invoke" /> method of <paramref name="type" /> is not found.</exception>
|
||||
/// <exception cref="T:System.MethodAccessException">The caller does not have the permissions necessary to access <paramref name="method" />.</exception>
|
||||
// Token: 0x06000F5B RID: 3931 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F5B")]
|
||||
[Address(RVA = "0x2553520", Offset = "0x2552520", VA = "0x182553520")]
|
||||
public static Delegate CreateDelegate(Type type, object target, string method, bool ignoreCase)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Dynamically invokes (late-bound) the method represented by the current delegate.</summary>
|
||||
/// <param name="args">An array of objects that are the arguments to pass to the method represented by the current delegate.
|
||||
/// -or-
|
||||
/// <see langword="null" />, if the method represented by the current delegate does not require arguments.</param>
|
||||
/// <returns>The object returned by the method represented by the delegate.</returns>
|
||||
/// <exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).
|
||||
/// -or-
|
||||
/// The number, order, or type of parameters listed in <paramref name="args" /> is invalid.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The method represented by the delegate is invoked on an object or a class that does not support it.</exception>
|
||||
/// <exception cref="T:System.Reflection.TargetInvocationException">The method represented by the delegate is an instance method and the target object is <see langword="null" />.
|
||||
/// -or-
|
||||
/// One of the encapsulated methods throws an exception.</exception>
|
||||
// Token: 0x06000F5C RID: 3932 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F5C")]
|
||||
[Address(RVA = "0x949C70", Offset = "0x948C70", VA = "0x180949C70")]
|
||||
public object DynamicInvoke(params object[] args)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000F5D RID: 3933 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F5D")]
|
||||
[Address(RVA = "0x25545F0", Offset = "0x25535F0", VA = "0x1825545F0")]
|
||||
private void InitializeDelegateData()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Dynamically invokes (late-bound) the method represented by the current delegate.</summary>
|
||||
/// <param name="args">An array of objects that are the arguments to pass to the method represented by the current delegate.
|
||||
/// -or-
|
||||
/// <see langword="null" />, if the method represented by the current delegate does not require arguments.</param>
|
||||
/// <returns>The object returned by the method represented by the delegate.</returns>
|
||||
/// <exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).
|
||||
/// -or-
|
||||
/// The number, order, or type of parameters listed in <paramref name="args" /> is invalid.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The method represented by the delegate is invoked on an object or a class that does not support it.</exception>
|
||||
/// <exception cref="T:System.Reflection.TargetInvocationException">The method represented by the delegate is an instance method and the target object is <see langword="null" />.
|
||||
/// -or-
|
||||
/// One of the encapsulated methods throws an exception.</exception>
|
||||
// Token: 0x06000F5E RID: 3934 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F5E")]
|
||||
[Address(RVA = "0x2553990", Offset = "0x2552990", VA = "0x182553990", Slot = "6")]
|
||||
protected virtual object DynamicInvokeImpl(object[] args)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a shallow copy of the delegate.</summary>
|
||||
/// <returns>A shallow copy of the delegate.</returns>
|
||||
// Token: 0x06000F5F RID: 3935 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F5F")]
|
||||
[Address(RVA = "0x64CFC0", Offset = "0x64BFC0", VA = "0x18064CFC0", Slot = "7")]
|
||||
public virtual object Clone()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified object and the current delegate are of the same type and share the same targets, methods, and invocation list.</summary>
|
||||
/// <param name="obj">The object to compare with the current delegate.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="obj" /> and the current delegate have the same targets, methods, and invocation list; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).</exception>
|
||||
// Token: 0x06000F60 RID: 3936 RVA: 0x0000CA68 File Offset: 0x0000AC68
|
||||
[Token(Token = "0x6000F60")]
|
||||
[Address(RVA = "0x2553E20", Offset = "0x2552E20", VA = "0x182553E20", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns a hash code for the delegate.</summary>
|
||||
/// <returns>A hash code for the delegate.</returns>
|
||||
// Token: 0x06000F61 RID: 3937 RVA: 0x0000CA80 File Offset: 0x0000AC80
|
||||
[Token(Token = "0x6000F61")]
|
||||
[Address(RVA = "0x2554410", Offset = "0x2553410", VA = "0x182554410", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Gets the static method represented by the current delegate.</summary>
|
||||
/// <returns>A <see cref="T:System.Reflection.MethodInfo" /> describing the static method represented by the current delegate.</returns>
|
||||
/// <exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).</exception>
|
||||
// Token: 0x06000F62 RID: 3938 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F62")]
|
||||
[Address(RVA = "0x2554540", Offset = "0x2553540", VA = "0x182554540", Slot = "8")]
|
||||
protected virtual MethodInfo GetMethodImpl()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Not supported.</summary>
|
||||
/// <param name="info">Not supported.</param>
|
||||
/// <param name="context">Not supported.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
||||
// Token: 0x06000F63 RID: 3939 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000F63")]
|
||||
[Address(RVA = "0x25545D0", Offset = "0x25535D0", VA = "0x1825545D0", Slot = "9")]
|
||||
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns the invocation list of the delegate.</summary>
|
||||
/// <returns>An array of delegates representing the invocation list of the current delegate.</returns>
|
||||
// Token: 0x06000F64 RID: 3940 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F64")]
|
||||
[Address(RVA = "0x25544A0", Offset = "0x25534A0", VA = "0x1825544A0", Slot = "10")]
|
||||
public virtual Delegate[] GetInvocationList()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Concatenates the invocation lists of two delegates.</summary>
|
||||
/// <param name="a">The delegate whose invocation list comes first.</param>
|
||||
/// <param name="b">The delegate whose invocation list comes last.</param>
|
||||
/// <returns>A new delegate with an invocation list that concatenates the invocation lists of <paramref name="a" /> and <paramref name="b" /> in that order. Returns <paramref name="a" /> if <paramref name="b" /> is <see langword="null" />, returns <paramref name="b" /> if <paramref name="a" /> is a null reference, and returns a null reference if both <paramref name="a" /> and <paramref name="b" /> are null references.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">Both <paramref name="a" /> and <paramref name="b" /> are not <see langword="null" />, and <paramref name="a" /> and <paramref name="b" /> are not instances of the same delegate type.</exception>
|
||||
// Token: 0x06000F65 RID: 3941 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F65")]
|
||||
[Address(RVA = "0x25528A0", Offset = "0x25518A0", VA = "0x1825528A0")]
|
||||
public static Delegate Combine(Delegate a, Delegate b)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Concatenates the invocation lists of an array of delegates.</summary>
|
||||
/// <param name="delegates">The array of delegates to combine.</param>
|
||||
/// <returns>A new delegate with an invocation list that concatenates the invocation lists of the delegates in the <paramref name="delegates" /> array. Returns <see langword="null" /> if <paramref name="delegates" /> is <see langword="null" />, if <paramref name="delegates" /> contains zero elements, or if every entry in <paramref name="delegates" /> is <see langword="null" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">Not all the non-null entries in <paramref name="delegates" /> are instances of the same delegate type.</exception>
|
||||
// Token: 0x06000F66 RID: 3942 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F66")]
|
||||
[Address(RVA = "0x2552830", Offset = "0x2551830", VA = "0x182552830")]
|
||||
[ComVisible(true)]
|
||||
public static Delegate Combine(params Delegate[] delegates)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Concatenates the invocation lists of the specified multicast (combinable) delegate and the current multicast (combinable) delegate.</summary>
|
||||
/// <param name="d">The multicast (combinable) delegate whose invocation list to append to the end of the invocation list of the current multicast (combinable) delegate.</param>
|
||||
/// <returns>A new multicast (combinable) delegate with an invocation list that concatenates the invocation list of the current multicast (combinable) delegate and the invocation list of <paramref name="d" />, or the current multicast (combinable) delegate if <paramref name="d" /> is <see langword="null" />.</returns>
|
||||
/// <exception cref="T:System.MulticastNotSupportedException">Always thrown.</exception>
|
||||
// Token: 0x06000F67 RID: 3943 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F67")]
|
||||
[Address(RVA = "0x25527C0", Offset = "0x25517C0", VA = "0x1825527C0", Slot = "11")]
|
||||
protected virtual Delegate CombineImpl(Delegate d)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate.</summary>
|
||||
/// <param name="source">The delegate from which to remove the invocation list of <paramref name="value" />.</param>
|
||||
/// <param name="value">The delegate that supplies the invocation list to remove from the invocation list of <paramref name="source" />.</param>
|
||||
/// <returns>A new delegate with an invocation list formed by taking the invocation list of <paramref name="source" /> and removing the last occurrence of the invocation list of <paramref name="value" />, if the invocation list of <paramref name="value" /> is found within the invocation list of <paramref name="source" />. Returns <paramref name="source" /> if <paramref name="value" /> is <see langword="null" /> or if the invocation list of <paramref name="value" /> is not found within the invocation list of <paramref name="source" />. Returns a null reference if the invocation list of <paramref name="value" /> is equal to the invocation list of <paramref name="source" /> or if <paramref name="source" /> is a null reference.</returns>
|
||||
/// <exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The delegate types do not match.</exception>
|
||||
// Token: 0x06000F68 RID: 3944 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F68")]
|
||||
[Address(RVA = "0x2554710", Offset = "0x2553710", VA = "0x182554710")]
|
||||
public static Delegate Remove(Delegate source, Delegate value)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Removes the invocation list of a delegate from the invocation list of another delegate.</summary>
|
||||
/// <param name="d">The delegate that supplies the invocation list to remove from the invocation list of the current delegate.</param>
|
||||
/// <returns>A new delegate with an invocation list formed by taking the invocation list of the current delegate and removing the invocation list of <paramref name="value" />, if the invocation list of <paramref name="value" /> is found within the current delegate's invocation list. Returns the current delegate if <paramref name="value" /> is <see langword="null" /> or if the invocation list of <paramref name="value" /> is not found within the current delegate's invocation list. Returns <see langword="null" /> if the invocation list of <paramref name="value" /> is equal to the current delegate's invocation list.</returns>
|
||||
/// <exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).</exception>
|
||||
// Token: 0x06000F69 RID: 3945 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F69")]
|
||||
[Address(RVA = "0x25546E0", Offset = "0x25536E0", VA = "0x1825546E0", Slot = "12")]
|
||||
protected virtual Delegate RemoveImpl(Delegate d)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified delegates are equal.</summary>
|
||||
/// <param name="d1">The first delegate to compare.</param>
|
||||
/// <param name="d2">The second delegate to compare.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="d1" /> is equal to <paramref name="d2" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000F6A RID: 3946 RVA: 0x0000CA98 File Offset: 0x0000AC98
|
||||
[Token(Token = "0x6000F6A")]
|
||||
[Address(RVA = "0x2554C20", Offset = "0x2553C20", VA = "0x182554C20")]
|
||||
public static bool operator ==(Delegate d1, Delegate d2)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified delegates are not equal.</summary>
|
||||
/// <param name="d1">The first delegate to compare.</param>
|
||||
/// <param name="d2">The second delegate to compare.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="d1" /> is not equal to <paramref name="d2" />; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000F6B RID: 3947 RVA: 0x0000CAB0 File Offset: 0x0000ACB0
|
||||
[Token(Token = "0x6000F6B")]
|
||||
[Address(RVA = "0x2554C50", Offset = "0x2553C50", VA = "0x182554C50")]
|
||||
public static bool operator !=(Delegate d1, Delegate d2)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06000F6C RID: 3948 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F6C")]
|
||||
[Address(RVA = "0x2552A70", Offset = "0x2551A70", VA = "0x182552A70")]
|
||||
internal static Delegate CreateDelegateNoSecurityCheck(RuntimeType type, object firstArgument, MethodInfo method)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000F6D RID: 3949 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6000F6D")]
|
||||
[Address(RVA = "0x25527B0", Offset = "0x25517B0", VA = "0x1825527B0")]
|
||||
internal static MulticastDelegate AllocDelegateLike_internal(Delegate d)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400061D RID: 1565
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400061D")]
|
||||
private IntPtr method_ptr;
|
||||
|
||||
// Token: 0x0400061E RID: 1566
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400061E")]
|
||||
private IntPtr invoke_impl;
|
||||
|
||||
// Token: 0x0400061F RID: 1567
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400061F")]
|
||||
private object m_target;
|
||||
|
||||
// Token: 0x04000620 RID: 1568
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000620")]
|
||||
private IntPtr method;
|
||||
|
||||
// Token: 0x04000621 RID: 1569
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000621")]
|
||||
private IntPtr delegate_trampoline;
|
||||
|
||||
// Token: 0x04000622 RID: 1570
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000622")]
|
||||
private IntPtr extra_arg;
|
||||
|
||||
// Token: 0x04000623 RID: 1571
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000623")]
|
||||
private IntPtr method_code;
|
||||
|
||||
// Token: 0x04000624 RID: 1572
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000624")]
|
||||
private MethodInfo method_info;
|
||||
|
||||
// Token: 0x04000625 RID: 1573
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000625")]
|
||||
private MethodInfo original_method_info;
|
||||
|
||||
// Token: 0x04000626 RID: 1574
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4000626")]
|
||||
private DelegateData data;
|
||||
|
||||
// Token: 0x04000627 RID: 1575
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000627")]
|
||||
private bool method_is_virtual;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user