using System; using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Reflection { /// Discovers the attributes of a class constructor and provides access to constructor metadata. // Token: 0x0200023C RID: 572 [Token(Token = "0x200023C")] [ComDefaultInterface(typeof(_ConstructorInfo))] [ClassInterface(ClassInterfaceType.None)] [ComVisible(true)] [Serializable] public abstract class ConstructorInfo : MethodBase, _ConstructorInfo { /// Initializes a new instance of the class. // Token: 0x0600149D RID: 5277 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600149D")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")] protected ConstructorInfo() { } /// Gets a value indicating that this member is a constructor. /// A value indicating that this member is a constructor. // Token: 0x17000221 RID: 545 // (get) Token: 0x0600149E RID: 5278 RVA: 0x0000F1E0 File Offset: 0x0000D3E0 [Token(Token = "0x17000221")] [ComVisible(true)] public override MemberTypes MemberType { [Token(Token = "0x600149E")] [Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "7")] get { return (MemberTypes)0; } } /// Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used. /// An array of values that matches the number, order and type (under the constraints of the default binder) of the parameters for this constructor. If this constructor takes no parameters, then use either an array with zero elements or , as in Object[] parameters = new Object[0]. 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 the class associated with the constructor. /// The class is abstract. /// -or- /// The constructor is a class initializer. /// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead. /// /// /// /// /// The constructor is private or protected, and the caller lacks . /// The array does not contain values that match the types accepted by this constructor. /// The invoked constructor throws an exception. /// An incorrect number of parameters was passed. /// Creation of , , and types is not supported. /// The caller does not have the necessary code access permission. // Token: 0x0600149F RID: 5279 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600149F")] [Address(RVA = "0x2A03520", Offset = "0x2A02320", VA = "0x182A03520")] [DebuggerHidden] [DebuggerStepThrough] public object Invoke(object[] parameters) { return null; } /// When implemented in a derived class, invokes the constructor reflected by this with the specified arguments, under the constraints of the specified . /// One of the values that specifies the type of binding. /// A that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If is , then is used. /// An array of type used to match the number, order and type of the parameters for this constructor, under the constraints of . If this constructor does not require parameters, pass an array with zero elements, as in Object[] parameters = new Object[0]. 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. /// A used to govern the coercion of types. If this is , the for the current thread is used. /// An instance of the class associated with the constructor. /// The array does not contain values that match the types accepted by this constructor, under the constraints of the . /// The invoked constructor throws an exception. /// An incorrect number of parameters was passed. /// Creation of , , and types is not supported. /// The caller does not have the necessary code access permissions. /// The class is abstract. /// -or- /// The constructor is a class initializer. /// The constructor is private or protected, and the caller lacks . // Token: 0x060014A0 RID: 5280 [Token(Token = "0x60014A0")] [Address(Slot = "43")] public abstract object Invoke(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture); /// 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: 0x060014A1 RID: 5281 RVA: 0x0000F1F8 File Offset: 0x0000D3F8 [Token(Token = "0x60014A1")] [Address(RVA = "0x1746070", Offset = "0x1744E70", VA = "0x181746070", 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: 0x060014A2 RID: 5282 RVA: 0x0000F210 File Offset: 0x0000D410 [Token(Token = "0x60014A2")] [Address(RVA = "0x2A02170", Offset = "0x2A00F70", VA = "0x182A02170", Slot = "2")] public override int GetHashCode() { return 0; } /// Indicates whether two objects are equal. /// The first to compare. /// The second to compare. /// /// if is equal to ; otherwise . // Token: 0x060014A3 RID: 5283 RVA: 0x0000F228 File Offset: 0x0000D428 [Token(Token = "0x60014A3")] [Address(RVA = "0x2954E10", Offset = "0x2953C10", VA = "0x182954E10")] public static bool operator ==(ConstructorInfo left, ConstructorInfo right) { return default(bool); } /// Indicates whether two objects are not equal. /// The first to compare. /// The second to compare. /// /// if is not equal to ; otherwise . // Token: 0x060014A4 RID: 5284 RVA: 0x0000F240 File Offset: 0x0000D440 [Token(Token = "0x60014A4")] [Address(RVA = "0x2954E60", Offset = "0x2953C60", VA = "0x182954E60")] public static bool operator !=(ConstructorInfo left, ConstructorInfo right) { return default(bool); } /// Represents the name of the class constructor method as it is stored in metadata. This name is always ".ctor". This field is read-only. // Token: 0x04000B18 RID: 2840 [Token(Token = "0x4000B18")] [ComVisible(true)] public static readonly string ConstructorName; /// Represents the name of the type constructor method as it is stored in metadata. This name is always ".cctor". This property is read-only. // Token: 0x04000B19 RID: 2841 [Token(Token = "0x4000B19")] [ComVisible(true)] public static readonly string TypeConstructorName; } }