using System;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Reflection
{
/// Provides information about methods and constructors.
// Token: 0x0200022F RID: 559
[Token(Token = "0x200022F")]
[ComDefaultInterface(typeof(_MethodBase))]
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
[Serializable]
public abstract class MethodBase : MemberInfo, _MethodBase
{
/// Gets method information by using the method's internal metadata representation (handle).
/// The method's handle.
/// A containing information about the method.
///
/// is invalid.
// Token: 0x06001431 RID: 5169 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001431")]
[Address(RVA = "0x30BBF70", Offset = "0x30BAF70", VA = "0x1830BBF70")]
public static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x06001432 RID: 5170 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001432")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected MethodBase()
{
}
/// Indicates whether two objects are equal.
/// The first object to compare.
/// The second object to compare.
///
/// if is equal to ; otherwise, .
// Token: 0x06001433 RID: 5171 RVA: 0x0000F1E0 File Offset: 0x0000D3E0
[Token(Token = "0x6001433")]
[Address(RVA = "0x30BC500", Offset = "0x30BB500", VA = "0x1830BC500")]
public static bool operator ==(MethodBase left, MethodBase right)
{
return default(bool);
}
/// Indicates whether two objects are not equal.
/// The first object to compare.
/// The second object to compare.
///
/// if is not equal to ; otherwise, .
// Token: 0x06001434 RID: 5172 RVA: 0x0000F1F8 File Offset: 0x0000D3F8
[Token(Token = "0x6001434")]
[Address(RVA = "0x30BC680", Offset = "0x30BB680", VA = "0x1830BC680")]
public static bool operator !=(MethodBase left, MethodBase right)
{
return default(bool);
}
/// Returns a value that indicates whether this instance is equal to a specified object.
/// An object to compare with this instance, or .
///
/// if equals the type and value of this instance; otherwise, .
// Token: 0x06001435 RID: 5173 RVA: 0x0000F210 File Offset: 0x0000D410
[Token(Token = "0x6001435")]
[Address(RVA = "0x2112960", Offset = "0x2111960", VA = "0x182112960", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// Returns the hash code for this instance.
/// A 32-bit signed integer hash code.
// Token: 0x06001436 RID: 5174 RVA: 0x0000F228 File Offset: 0x0000D428
[Token(Token = "0x6001436")]
[Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x06001437 RID: 5175 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001437")]
[Address(RVA = "0x51F360", Offset = "0x51E360", VA = "0x18051F360", Slot = "18")]
internal virtual ParameterInfo[] GetParametersNoCopy()
{
return null;
}
/// When overridden in a derived class, gets the parameters of the specified method or constructor.
/// An array of type containing information that matches the signature of the method (or constructor) reflected by this instance.
// Token: 0x06001438 RID: 5176
[Token(Token = "0x6001438")]
[Address(Slot = "19")]
public abstract ParameterInfo[] GetParameters();
/// When overridden in a derived class, returns the flags.
/// The flags.
// Token: 0x06001439 RID: 5177
[Token(Token = "0x6001439")]
[Address(Slot = "20")]
public abstract MethodImplAttributes GetMethodImplementationFlags();
/// Gets a handle to the internal metadata representation of a method.
/// A object.
// Token: 0x1700020C RID: 524
// (get) Token: 0x0600143A RID: 5178
[Token(Token = "0x1700020C")]
public abstract RuntimeMethodHandle MethodHandle
{
[Token(Token = "0x600143A")]
[Address(Slot = "21")]
get;
}
/// Gets the attributes associated with this method.
/// One of the values.
// Token: 0x1700020D RID: 525
// (get) Token: 0x0600143B RID: 5179
[Token(Token = "0x1700020D")]
public abstract MethodAttributes Attributes
{
[Token(Token = "0x600143B")]
[Address(Slot = "22")]
get;
}
/// When overridden in a derived class, invokes the reflected method or constructor with the given parameters.
/// The object on which to invoke the method or constructor. If a method is static, this argument is ignored. If a constructor is static, this argument must be or an instance of the class that defines the constructor.
/// A bitmask that is a combination of 0 or more bit flags from . If is , this parameter is assigned the value ; thus, whatever you pass in is ignored.
/// An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects via reflection. If is , the default binder is used.
/// An argument list for the invoked method or constructor. This is an array of objects with the same number, order, and type as the parameters of the method or constructor to be invoked. If there are no parameters, this should be .
/// If the method or constructor represented by this instance takes a ByRef parameter, there is no special attribute required for that parameter in order to invoke the method or constructor using this function. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is . For value-type elements, this value is 0, 0.0, or , depending on the specific element type.
/// An instance of used to govern the coercion of types. If this is , the for the current thread is used. (This is necessary to convert a that represents 1000 to a value, for example, since 1000 is represented differently by different cultures.)
/// An containing the return value of the invoked method, or in the case of a constructor, or if the method's return type is . Before calling the method or constructor, checks to see if the user has access permission and verifies that the parameters are valid.
/// The parameter is and the method is not static.
/// -or-
/// The method is not declared or inherited by the class of .
/// -or-
/// A static constructor is invoked, and is neither nor an instance of the class that declared the constructor.
/// The type of the parameter does not match the signature of the method or constructor reflected by this instance.
/// The array does not have the correct number of arguments.
/// The invoked method or constructor throws an exception.
/// The caller does not have permission to execute the method or constructor that is represented by the current instance.
/// The type that declares the method is an open generic type. That is, the property returns for the declaring type.
// Token: 0x0600143C RID: 5180
[Token(Token = "0x600143C")]
[Address(Slot = "23")]
public abstract object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
/// Gets a value indicating the calling conventions for this method.
/// The for this method.
// Token: 0x1700020E RID: 526
// (get) Token: 0x0600143D RID: 5181 RVA: 0x0000F240 File Offset: 0x0000D440
[Token(Token = "0x1700020E")]
public virtual CallingConventions CallingConvention
{
[Token(Token = "0x600143D")]
[Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "24")]
get
{
return (CallingConventions)0;
}
}
/// Returns an array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
/// An array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.
/// The current object is a . Generic constructors are not supported in the .NET Framework version 2.0. This exception is the default behavior if this method is not overridden in a derived class.
// Token: 0x0600143E RID: 5182 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600143E")]
[Address(RVA = "0x30BBE30", Offset = "0x30BAE30", VA = "0x1830BBE30", Slot = "25")]
[ComVisible(true)]
public virtual Type[] GetGenericArguments()
{
return null;
}
/// Gets a value indicating whether the method is a generic method definition.
///
/// if the current object represents the definition of a generic method; otherwise, .
// Token: 0x1700020F RID: 527
// (get) Token: 0x0600143F RID: 5183 RVA: 0x0000F258 File Offset: 0x0000D458
[Token(Token = "0x1700020F")]
public virtual bool IsGenericMethodDefinition
{
[Token(Token = "0x600143F")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "26")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the generic method contains unassigned generic type parameters.
///
/// if the current object represents a generic method that contains unassigned generic type parameters; otherwise, .
// Token: 0x17000210 RID: 528
// (get) Token: 0x06001440 RID: 5184 RVA: 0x0000F270 File Offset: 0x0000D470
[Token(Token = "0x17000210")]
public virtual bool ContainsGenericParameters
{
[Token(Token = "0x6001440")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "27")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the method is generic.
///
/// if the current represents a generic method; otherwise, .
// Token: 0x17000211 RID: 529
// (get) Token: 0x06001441 RID: 5185 RVA: 0x0000F288 File Offset: 0x0000D488
[Token(Token = "0x17000211")]
public virtual bool IsGenericMethod
{
[Token(Token = "0x6001441")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "28")]
get
{
return default(bool);
}
}
/// Gets a value that indicates whether the current method or constructor is security-critical or security-safe-critical at the current trust level, and therefore can perform critical operations.
///
/// if the current method or constructor is security-critical or security-safe-critical at the current trust level; if it is transparent.
// Token: 0x17000212 RID: 530
// (get) Token: 0x06001442 RID: 5186 RVA: 0x0000F2A0 File Offset: 0x0000D4A0
[Token(Token = "0x17000212")]
public virtual bool IsSecurityCritical
{
[Token(Token = "0x6001442")]
[Address(RVA = "0x30BC440", Offset = "0x30BB440", VA = "0x1830BC440", Slot = "29")]
get
{
return default(bool);
}
}
/// Invokes the method or constructor represented by the current instance, using the specified parameters.
/// The object on which to invoke the method or constructor. If a method is static, this argument is ignored. If a constructor is static, this argument must be or an instance of the class that defines the constructor.
/// An argument list for the invoked method or constructor. This is an array of objects with the same number, order, and type as the parameters of the method or constructor to be invoked. If there are no parameters, should be .
/// If the method or constructor represented by this instance takes a parameter ( in Visual Basic), no special attribute is required for that parameter in order to invoke the method or constructor using this function. Any object in this array that is not explicitly initialized with a value will contain the default value for that object type. For reference-type elements, this value is . For value-type elements, this value is 0, 0.0, or , depending on the specific element type.
/// An object containing the return value of the invoked method, or in the case of a constructor.
/// In the.NET for Windows Store apps or the Portable Class Library, catch instead.
///
///
///
///
/// The parameter is and the method is not static.
/// -or-
/// The method is not declared or inherited by the class of .
/// -or-
/// A static constructor is invoked, and is neither nor an instance of the class that declared the constructor.
/// The elements of the array do not match the signature of the method or constructor reflected by this instance.
/// The invoked method or constructor throws an exception.
/// -or-
/// The current instance is a that contains unverifiable code. See the "Verification" section in Remarks for .
/// The array does not have the correct number of arguments.
/// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
///
///
///
///
/// The caller does not have permission to execute the method or constructor that is represented by the current instance.
/// The type that declares the method is an open generic type. That is, the property returns for the declaring type.
/// The current instance is a .
// Token: 0x06001443 RID: 5187 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001443")]
[Address(RVA = "0x30BC2D0", Offset = "0x30BB2D0", VA = "0x1830BC2D0", Slot = "30")]
[DebuggerStepThrough]
[DebuggerHidden]
public object Invoke(object obj, object[] parameters)
{
return null;
}
/// Gets a value indicating whether this is a public method.
///
/// if this method is public; otherwise, .
// Token: 0x17000213 RID: 531
// (get) Token: 0x06001444 RID: 5188 RVA: 0x0000F2B8 File Offset: 0x0000D4B8
[Token(Token = "0x17000213")]
public bool IsPublic
{
[Token(Token = "0x6001444")]
[Address(RVA = "0x30BC410", Offset = "0x30BB410", VA = "0x1830BC410", Slot = "31")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the method is .
///
/// if this method is ; otherwise, .
// Token: 0x17000214 RID: 532
// (get) Token: 0x06001445 RID: 5189 RVA: 0x0000F2D0 File Offset: 0x0000D4D0
[Token(Token = "0x17000214")]
public bool IsStatic
{
[Token(Token = "0x6001445")]
[Address(RVA = "0x30BC4C0", Offset = "0x30BB4C0", VA = "0x1830BC4C0", Slot = "32")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether this method is .
///
/// if this method is ; otherwise, .
// Token: 0x17000215 RID: 533
// (get) Token: 0x06001446 RID: 5190 RVA: 0x0000F2E8 File Offset: 0x0000D4E8
[Token(Token = "0x17000215")]
public bool IsFinal
{
[Token(Token = "0x6001446")]
[Address(RVA = "0x30BC3F0", Offset = "0x30BB3F0", VA = "0x1830BC3F0", Slot = "33")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the method is .
///
/// if this method is ; otherwise, .
// Token: 0x17000216 RID: 534
// (get) Token: 0x06001447 RID: 5191 RVA: 0x0000F300 File Offset: 0x0000D500
[Token(Token = "0x17000216")]
public bool IsVirtual
{
[Token(Token = "0x6001447")]
[Address(RVA = "0x30BC4E0", Offset = "0x30BB4E0", VA = "0x1830BC4E0", Slot = "34")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the method is abstract.
///
/// if the method is abstract; otherwise, .
// Token: 0x17000217 RID: 535
// (get) Token: 0x06001448 RID: 5192 RVA: 0x0000F318 File Offset: 0x0000D518
[Token(Token = "0x17000217")]
public bool IsAbstract
{
[Token(Token = "0x6001448")]
[Address(RVA = "0x30BC310", Offset = "0x30BB310", VA = "0x1830BC310", Slot = "35")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether this method has a special name.
///
/// if this method has a special name; otherwise, .
// Token: 0x17000218 RID: 536
// (get) Token: 0x06001449 RID: 5193 RVA: 0x0000F330 File Offset: 0x0000D530
[Token(Token = "0x17000218")]
public bool IsSpecialName
{
[Token(Token = "0x6001449")]
[Address(RVA = "0x30BC490", Offset = "0x30BB490", VA = "0x1830BC490", Slot = "36")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the method is a constructor.
///
/// if this method is a constructor represented by a object (see note in Remarks about objects); otherwise, .
// Token: 0x17000219 RID: 537
// (get) Token: 0x0600144A RID: 5194 RVA: 0x0000F348 File Offset: 0x0000D548
[Token(Token = "0x17000219")]
[ComVisible(true)]
public bool IsConstructor
{
[Token(Token = "0x600144A")]
[Address(RVA = "0x30BC340", Offset = "0x30BB340", VA = "0x1830BC340", Slot = "37")]
get
{
return default(bool);
}
}
/// When overridden in a derived class, gets a object that provides access to the MSIL stream, local variables, and exceptions for the current method.
/// A object that provides access to the MSIL stream, local variables, and exceptions for the current method.
/// This method is invalid unless overridden in a derived class.
// Token: 0x0600144B RID: 5195 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600144B")]
[Address(RVA = "0x30BBEB0", Offset = "0x30BAEB0", VA = "0x1830BBEB0", Slot = "38")]
public virtual MethodBody GetMethodBody()
{
return null;
}
// Token: 0x0600144C RID: 5196 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600144C")]
[Address(RVA = "0x30BBB50", Offset = "0x30BAB50", VA = "0x1830BBB50")]
internal static string ConstructParameters(Type[] parameterTypes, CallingConventions callingConvention, bool serialization)
{
return null;
}
// Token: 0x0600144D RID: 5197 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600144D")]
[Address(RVA = "0x30BBD20", Offset = "0x30BAD20", VA = "0x1830BBD20", Slot = "39")]
internal virtual string FormatNameAndSig(bool serialization)
{
return null;
}
// Token: 0x0600144E RID: 5198 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600144E")]
[Address(RVA = "0x30BC180", Offset = "0x30BB180", VA = "0x1830BC180", Slot = "40")]
internal virtual Type[] GetParameterTypes()
{
return null;
}
// Token: 0x0600144F RID: 5199 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600144F")]
[Address(RVA = "0x51F360", Offset = "0x51E360", VA = "0x18051F360", Slot = "41")]
internal virtual ParameterInfo[] GetParametersInternal()
{
return null;
}
// Token: 0x06001450 RID: 5200 RVA: 0x0000F360 File Offset: 0x0000D560
[Token(Token = "0x6001450")]
[Address(RVA = "0x30BC2A0", Offset = "0x30BB2A0", VA = "0x1830BC2A0", Slot = "42")]
internal virtual int GetParametersCount()
{
return 0;
}
// Token: 0x06001451 RID: 5201 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001451")]
[Address(RVA = "0x30BBF30", Offset = "0x30BAF30", VA = "0x1830BBF30")]
internal static MethodBase GetMethodFromHandleNoGenericCheck(RuntimeMethodHandle handle)
{
return null;
}
// Token: 0x06001452 RID: 5202 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001452")]
[Address(RVA = "0x30BBF20", Offset = "0x30BAF20", VA = "0x1830BBF20")]
internal static MethodBase GetMethodFromHandleNoGenericCheck(RuntimeMethodHandle handle, RuntimeTypeHandle reflectedType)
{
return null;
}
// Token: 0x06001453 RID: 5203 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001453")]
[Address(RVA = "0x30BBEA0", Offset = "0x30BAEA0", VA = "0x1830BBEA0")]
internal static MethodBody GetMethodBodyInternal(IntPtr handle)
{
return null;
}
// Token: 0x06001454 RID: 5204 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001454")]
[Address(RVA = "0x30BBEA0", Offset = "0x30BAEA0", VA = "0x1830BBEA0")]
internal static MethodBody GetMethodBody(IntPtr handle)
{
return null;
}
// Token: 0x06001455 RID: 5205 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001455")]
[Address(RVA = "0x30BBF00", Offset = "0x30BAF00", VA = "0x1830BBF00")]
private static MethodBase GetMethodFromHandleInternalType(IntPtr method_handle, IntPtr type_handle)
{
return null;
}
// Token: 0x06001456 RID: 5206 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001456")]
[Address(RVA = "0x30BBF10", Offset = "0x30BAF10", VA = "0x1830BBF10")]
internal static MethodBase GetMethodFromHandleInternalType_native(IntPtr method_handle, IntPtr type_handle, bool genericCheck)
{
return null;
}
}
}