651 lines
39 KiB
C#
651 lines
39 KiB
C#
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: 0x02000170 RID: 368
|
|
[Token(Token = "0x2000170")]
|
|
[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: 0x1700016D RID: 365
|
|
// (get) Token: 0x06000F14 RID: 3860 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700016D")]
|
|
public MethodInfo Method
|
|
{
|
|
[Token(Token = "0x6000F14")]
|
|
[Address(RVA = "0x5C2230", Offset = "0x5C1030", VA = "0x1805C2230")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000F15 RID: 3861 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F15")]
|
|
[Address(RVA = "0x450D90", Offset = "0x44FB90", VA = "0x180450D90")]
|
|
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: 0x1700016E RID: 366
|
|
// (get) Token: 0x06000F16 RID: 3862 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700016E")]
|
|
public object Target
|
|
{
|
|
[Token(Token = "0x6000F16")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000F17 RID: 3863 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F17")]
|
|
[Address(RVA = "0x1B6C840", Offset = "0x1B6B640", VA = "0x181B6C840")]
|
|
internal static Delegate CreateDelegate_internal(Type type, object target, MethodInfo info, bool throwOnBindFailure)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F18 RID: 3864 RVA: 0x0000C708 File Offset: 0x0000A908
|
|
[Token(Token = "0x6000F18")]
|
|
[Address(RVA = "0x1B6E6C0", Offset = "0x1B6D4C0", VA = "0x181B6E6C0")]
|
|
private static bool arg_type_match(Type delArgType, Type argType)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000F19 RID: 3865 RVA: 0x0000C720 File Offset: 0x0000A920
|
|
[Token(Token = "0x6000F19")]
|
|
[Address(RVA = "0x1B6E870", Offset = "0x1B6D670", VA = "0x181B6E870")]
|
|
private static bool arg_type_match_this(Type delArgType, Type argType, bool boxedThis)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000F1A RID: 3866 RVA: 0x0000C738 File Offset: 0x0000A938
|
|
[Token(Token = "0x6000F1A")]
|
|
[Address(RVA = "0x1B6EA80", Offset = "0x1B6D880", VA = "0x181B6EA80")]
|
|
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: 0x06000F1B RID: 3867 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F1B")]
|
|
[Address(RVA = "0x1B6C850", Offset = "0x1B6B650", VA = "0x181B6C850")]
|
|
public static Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method, bool throwOnBindFailure)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F1C RID: 3868 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F1C")]
|
|
[Address(RVA = "0x1B6C970", Offset = "0x1B6B770", VA = "0x181B6C970")]
|
|
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: 0x06000F1D RID: 3869 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F1D")]
|
|
[Address(RVA = "0x1B6C870", Offset = "0x1B6B670", VA = "0x181B6C870")]
|
|
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: 0x06000F1E RID: 3870 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F1E")]
|
|
[Address(RVA = "0x1B6D600", Offset = "0x1B6C400", VA = "0x181B6D600")]
|
|
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: 0x06000F1F RID: 3871 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F1F")]
|
|
[Address(RVA = "0x1B6D5D0", Offset = "0x1B6C3D0", VA = "0x181B6D5D0")]
|
|
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: 0x06000F20 RID: 3872 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F20")]
|
|
[Address(RVA = "0x1B6C890", Offset = "0x1B6B690", VA = "0x181B6C890")]
|
|
public static Delegate CreateDelegate(Type type, object target, string method)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F21 RID: 3873 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F21")]
|
|
[Address(RVA = "0x1B6DDC0", Offset = "0x1B6CBC0", VA = "0x181B6DDC0")]
|
|
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: 0x06000F22 RID: 3874 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F22")]
|
|
[Address(RVA = "0x1B6D630", Offset = "0x1B6C430", VA = "0x181B6D630")]
|
|
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: 0x06000F23 RID: 3875 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F23")]
|
|
[Address(RVA = "0x1B6D4D0", Offset = "0x1B6C2D0", VA = "0x181B6D4D0")]
|
|
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: 0x06000F24 RID: 3876 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F24")]
|
|
[Address(RVA = "0x1B6D3D0", Offset = "0x1B6C1D0", VA = "0x181B6D3D0")]
|
|
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: 0x06000F25 RID: 3877 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F25")]
|
|
[Address(RVA = "0x1B6D2E0", Offset = "0x1B6C0E0", VA = "0x181B6D2E0")]
|
|
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: 0x06000F26 RID: 3878 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F26")]
|
|
[Address(RVA = "0x1B6DBE0", Offset = "0x1B6C9E0", VA = "0x181B6DBE0")]
|
|
public object DynamicInvoke(params object[] args)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F27 RID: 3879 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F27")]
|
|
[Address(RVA = "0x1B6E3D0", Offset = "0x1B6D1D0", VA = "0x181B6E3D0")]
|
|
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: 0x06000F28 RID: 3880 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F28")]
|
|
[Address(RVA = "0x1B6D750", Offset = "0x1B6C550", VA = "0x181B6D750", 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: 0x06000F29 RID: 3881 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F29")]
|
|
[Address(RVA = "0x6A0DF0", Offset = "0x69FBF0", VA = "0x1806A0DF0", 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: 0x06000F2A RID: 3882 RVA: 0x0000C750 File Offset: 0x0000A950
|
|
[Token(Token = "0x6000F2A")]
|
|
[Address(RVA = "0x1B6DC00", Offset = "0x1B6CA00", VA = "0x181B6DC00", 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: 0x06000F2B RID: 3883 RVA: 0x0000C768 File Offset: 0x0000A968
|
|
[Token(Token = "0x6000F2B")]
|
|
[Address(RVA = "0x1B6E1F0", Offset = "0x1B6CFF0", VA = "0x181B6E1F0", 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: 0x06000F2C RID: 3884 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F2C")]
|
|
[Address(RVA = "0x1B6E320", Offset = "0x1B6D120", VA = "0x181B6E320", 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: 0x06000F2D RID: 3885 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000F2D")]
|
|
[Address(RVA = "0x1B6E3B0", Offset = "0x1B6D1B0", VA = "0x181B6E3B0", 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: 0x06000F2E RID: 3886 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F2E")]
|
|
[Address(RVA = "0x1B6E280", Offset = "0x1B6D080", VA = "0x181B6E280", 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: 0x06000F2F RID: 3887 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F2F")]
|
|
[Address(RVA = "0x1B6C660", Offset = "0x1B6B460", VA = "0x181B6C660")]
|
|
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: 0x06000F30 RID: 3888 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F30")]
|
|
[Address(RVA = "0x1B6C5F0", Offset = "0x1B6B3F0", VA = "0x181B6C5F0")]
|
|
[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: 0x06000F31 RID: 3889 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F31")]
|
|
[Address(RVA = "0x1B6C580", Offset = "0x1B6B380", VA = "0x181B6C580", 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: 0x06000F32 RID: 3890 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F32")]
|
|
[Address(RVA = "0x1B6E4F0", Offset = "0x1B6D2F0", VA = "0x181B6E4F0")]
|
|
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: 0x06000F33 RID: 3891 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F33")]
|
|
[Address(RVA = "0x1B6E4C0", Offset = "0x1B6D2C0", VA = "0x181B6E4C0", 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: 0x06000F34 RID: 3892 RVA: 0x0000C780 File Offset: 0x0000A980
|
|
[Token(Token = "0x6000F34")]
|
|
[Address(RVA = "0x1B6EA00", Offset = "0x1B6D800", VA = "0x181B6EA00")]
|
|
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: 0x06000F35 RID: 3893 RVA: 0x0000C798 File Offset: 0x0000A998
|
|
[Token(Token = "0x6000F35")]
|
|
[Address(RVA = "0x1B6EA30", Offset = "0x1B6D830", VA = "0x181B6EA30")]
|
|
public static bool operator !=(Delegate d1, Delegate d2)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x06000F36 RID: 3894 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F36")]
|
|
[Address(RVA = "0x1B6C830", Offset = "0x1B6B630", VA = "0x181B6C830")]
|
|
internal static Delegate CreateDelegateNoSecurityCheck(RuntimeType type, object firstArgument, MethodInfo method)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000F37 RID: 3895 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6000F37")]
|
|
[Address(RVA = "0x1B6C570", Offset = "0x1B6B370", VA = "0x181B6C570")]
|
|
internal static MulticastDelegate AllocDelegateLike_internal(Delegate d)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x04000613 RID: 1555
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000613")]
|
|
private IntPtr method_ptr;
|
|
|
|
// Token: 0x04000614 RID: 1556
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000614")]
|
|
private IntPtr invoke_impl;
|
|
|
|
// Token: 0x04000615 RID: 1557
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000615")]
|
|
private object m_target;
|
|
|
|
// Token: 0x04000616 RID: 1558
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000616")]
|
|
private IntPtr method;
|
|
|
|
// Token: 0x04000617 RID: 1559
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000617")]
|
|
private IntPtr delegate_trampoline;
|
|
|
|
// Token: 0x04000618 RID: 1560
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000618")]
|
|
private IntPtr extra_arg;
|
|
|
|
// Token: 0x04000619 RID: 1561
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000619")]
|
|
private IntPtr method_code;
|
|
|
|
// Token: 0x0400061A RID: 1562
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400061A")]
|
|
private MethodInfo method_info;
|
|
|
|
// Token: 0x0400061B RID: 1563
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400061B")]
|
|
private MethodInfo original_method_info;
|
|
|
|
// Token: 0x0400061C RID: 1564
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400061C")]
|
|
private DelegateData data;
|
|
|
|
// Token: 0x0400061D RID: 1565
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x400061D")]
|
|
private bool method_is_virtual;
|
|
}
|
|
}
|