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: 0x02000243 RID: 579 [Token(Token = "0x2000243")] [ClassInterface(ClassInterfaceType.None)] [ComVisible(true)] [ComDefaultInterface(typeof(_ConstructorInfo))] [Serializable] public abstract class ConstructorInfo : MethodBase, _ConstructorInfo { /// Initializes a new instance of the class. // Token: 0x060014DC RID: 5340 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60014DC")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected ConstructorInfo() { } /// Gets a value indicating that this member is a constructor. /// A value indicating that this member is a constructor. // Token: 0x1700022C RID: 556 // (get) Token: 0x060014DD RID: 5341 RVA: 0x0000F540 File Offset: 0x0000D740 [Token(Token = "0x1700022C")] [ComVisible(true)] public override MemberTypes MemberType { [Token(Token = "0x60014DD")] [Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", 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: 0x060014DE RID: 5342 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60014DE")] [Address(RVA = "0x30B5660", Offset = "0x30B4660", VA = "0x1830B5660")] [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: 0x060014DF RID: 5343 [Token(Token = "0x60014DF")] [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: 0x060014E0 RID: 5344 RVA: 0x0000F558 File Offset: 0x0000D758 [Token(Token = "0x60014E0")] [Address(RVA = "0x21EBB30", Offset = "0x21EAB30", VA = "0x1821EBB30", 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: 0x060014E1 RID: 5345 RVA: 0x0000F570 File Offset: 0x0000D770 [Token(Token = "0x60014E1")] [Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150", 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: 0x060014E2 RID: 5346 RVA: 0x0000F588 File Offset: 0x0000D788 [Token(Token = "0x60014E2")] [Address(RVA = "0x2D66AB0", Offset = "0x2D65AB0", VA = "0x182D66AB0")] 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: 0x060014E3 RID: 5347 RVA: 0x0000F5A0 File Offset: 0x0000D7A0 [Token(Token = "0x60014E3")] [Address(RVA = "0x2D66B00", Offset = "0x2D65B00", VA = "0x182D66B00")] 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: 0x04000B22 RID: 2850 [Token(Token = "0x4000B22")] [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: 0x04000B23 RID: 2851 [Token(Token = "0x4000B23")] [ComVisible(true)] public static readonly string TypeConstructorName; } }