Files
2026-04-10 22:50:51 +02:00

183 lines
12 KiB
C#

using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.Reflection.Emit
{
/// <summary>Defines and represents a constructor of a dynamic class.</summary>
// Token: 0x02000266 RID: 614
[Token(Token = "0x2000266")]
public abstract class ConstructorBuilder : ConstructorInfo
{
/// <summary>Gets the attributes for this constructor.</summary>
/// <returns>The attributes for this constructor.</returns>
// Token: 0x17000281 RID: 641
// (get) Token: 0x06001625 RID: 5669 RVA: 0x0000FAB0 File Offset: 0x0000DCB0
[Token(Token = "0x17000281")]
public override MethodAttributes Attributes
{
[Token(Token = "0x6001625")]
[Address(RVA = "0x2A033D0", Offset = "0x2A021D0", VA = "0x182A033D0", Slot = "22")]
get
{
return MethodAttributes.PrivateScope;
}
}
/// <summary>Gets a reference to the <see cref="T:System.Type" /> object for the type that declares this member.</summary>
/// <returns>The type that declares this member.</returns>
// Token: 0x17000282 RID: 642
// (get) Token: 0x06001626 RID: 5670 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000282")]
public override Type DeclaringType
{
[Token(Token = "0x6001626")]
[Address(RVA = "0x2A03420", Offset = "0x2A02220", VA = "0x182A03420", Slot = "9")]
get
{
return null;
}
}
/// <summary>Retrieves the name of this constructor.</summary>
/// <returns>The name of this constructor.</returns>
// Token: 0x17000283 RID: 643
// (get) Token: 0x06001627 RID: 5671 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000283")]
public override string Name
{
[Token(Token = "0x6001627")]
[Address(RVA = "0x2A034A0", Offset = "0x2A022A0", VA = "0x182A034A0", Slot = "8")]
get
{
return null;
}
}
/// <summary>Returns the parameters of this constructor.</summary>
/// <returns>An array that represents the parameters of this constructor.</returns>
/// <exception cref="T:System.InvalidOperationException">
/// <see cref="M:System.Reflection.Emit.TypeBuilder.CreateType" /> has not been called on this constructor's type, in the .NET Framework versions 1.0 and 1.1.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <see cref="M:System.Reflection.Emit.TypeBuilder.CreateType" /> has not been called on this constructor's type, in the .NET Framework version 2.0.</exception>
// Token: 0x06001628 RID: 5672 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001628")]
[Address(RVA = "0x2A032F0", Offset = "0x2A020F0", VA = "0x182A032F0", Slot = "19")]
public override ParameterInfo[] GetParameters()
{
return null;
}
/// <summary>Gets the internal handle for the method. Use this handle to access the underlying metadata handle.</summary>
/// <returns>The internal handle for the method. Use this handle to access the underlying metadata handle.</returns>
/// <exception cref="T:System.NotSupportedException">This property is not supported on this class.</exception>
// Token: 0x17000284 RID: 644
// (get) Token: 0x06001629 RID: 5673 RVA: 0x0000FAC8 File Offset: 0x0000DCC8
[Token(Token = "0x17000284")]
public override RuntimeMethodHandle MethodHandle
{
[Token(Token = "0x6001629")]
[Address(RVA = "0x2A03470", Offset = "0x2A02270", VA = "0x182A03470", Slot = "21")]
get
{
return default(RuntimeMethodHandle);
}
}
/// <summary>Holds a reference to the <see cref="T:System.Type" /> object from which this object was obtained.</summary>
/// <returns>The <see langword="Type" /> object from which this object was obtained.</returns>
// Token: 0x17000285 RID: 645
// (get) Token: 0x0600162A RID: 5674 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000285")]
public override Type ReflectedType
{
[Token(Token = "0x600162A")]
[Address(RVA = "0x2A034F0", Offset = "0x2A022F0", VA = "0x182A034F0", Slot = "10")]
get
{
return null;
}
}
/// <summary>Returns all the custom attributes defined for this constructor.</summary>
/// <param name="inherit">Controls inheritance of custom attributes from base classes. This parameter is ignored.</param>
/// <returns>An array of objects representing all the custom attributes of the constructor represented by this <see cref="T:System.Reflection.Emit.ConstructorBuilder" /> instance.</returns>
/// <exception cref="T:System.NotSupportedException">This method is not currently supported.</exception>
// Token: 0x0600162B RID: 5675 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600162B")]
[Address(RVA = "0x2A03260", Offset = "0x2A02060", VA = "0x182A03260", Slot = "12")]
public override object[] GetCustomAttributes(bool inherit)
{
return null;
}
/// <summary>Returns the custom attributes identified by the given type.</summary>
/// <param name="attributeType">The custom attribute type.</param>
/// <param name="inherit">Controls inheritance of custom attributes from base classes. This parameter is ignored.</param>
/// <returns>An object array that represents the attributes of this constructor.</returns>
/// <exception cref="T:System.NotSupportedException">This method is not currently supported.</exception>
// Token: 0x0600162C RID: 5676 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600162C")]
[Address(RVA = "0x2A03290", Offset = "0x2A02090", VA = "0x182A03290", Slot = "13")]
public override object[] GetCustomAttributes(Type attributeType, bool inherit)
{
return null;
}
/// <summary>Returns the method implementation flags for this constructor.</summary>
/// <returns>The method implementation flags for this constructor.</returns>
// Token: 0x0600162D RID: 5677 RVA: 0x0000FAE0 File Offset: 0x0000DCE0
[Token(Token = "0x600162D")]
[Address(RVA = "0x2A032C0", Offset = "0x2A020C0", VA = "0x182A032C0", Slot = "20")]
public override MethodImplAttributes GetMethodImplementationFlags()
{
return MethodImplAttributes.IL;
}
/// <summary>Dynamically invokes the constructor reflected by this instance with the specified arguments, under the constraints of the specified <see langword="Binder" />.</summary>
/// <param name="obj">The object that needs to be reinitialized.</param>
/// <param name="invokeAttr">One of the <see langword="BindingFlags" /> values that specifies the type of binding that is desired.</param>
/// <param name="binder">A <see langword="Binder" /> that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If <paramref name="binder" /> is <see langword="null" />, then Binder.DefaultBinding is used.</param>
/// <param name="parameters">An argument list. This is an array of arguments with the same number, order, and type as the parameters of the constructor to be invoked. If there are no parameters, this should be a null reference (<see langword="Nothing" /> in Visual Basic).</param>
/// <param name="culture">A <see cref="T:System.Globalization.CultureInfo" /> used to govern the coercion of types. If this is null, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used.</param>
/// <returns>An instance of the class associated with the constructor.</returns>
/// <exception cref="T:System.NotSupportedException">This method is not currently supported. You can retrieve the constructor using <see cref="M:System.Type.GetConstructor(System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[])" /> and call <see cref="M:System.Reflection.ConstructorInfo.Invoke(System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" /> on the returned <see cref="T:System.Reflection.ConstructorInfo" />.</exception>
// Token: 0x0600162E RID: 5678 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600162E")]
[Address(RVA = "0x2A03340", Offset = "0x2A02140", VA = "0x182A03340", Slot = "23")]
public override object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
{
return null;
}
/// <summary>Dynamically invokes the constructor represented by this instance on the given object, passing along the specified parameters, and under the constraints of the given binder.</summary>
/// <param name="invokeAttr">This must be a bit flag from <see cref="T:System.Reflection.BindingFlags" />, such as InvokeMethod, NonPublic, and so on.</param>
/// <param name="binder">An object that enables the binding, coercion of argument types, invocation of members, and retrieval of <see langword="MemberInfo" /> objects using reflection. If binder is <see langword="null" />, the default binder is used. See <see cref="T:System.Reflection.Binder" />.</param>
/// <param name="parameters">An argument list. This is an array of arguments with the same number, order, and type as the parameters of the constructor to be invoked. If there are no parameters this should be <see langword="null" />.</param>
/// <param name="culture">An instance of <see cref="T:System.Globalization.CultureInfo" /> used to govern the coercion of types. If this is null, the <see cref="T:System.Globalization.CultureInfo" /> for the current thread is used. (For example, this is necessary to convert a <see cref="T:System.String" /> that represents 1000 to a <see cref="T:System.Double" /> value, since 1000 is represented differently by different cultures.)</param>
/// <returns>The value returned by the invoked constructor.</returns>
/// <exception cref="T:System.NotSupportedException">This method is not currently supported. You can retrieve the constructor using <see cref="M:System.Type.GetConstructor(System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[])" /> and call <see cref="M:System.Reflection.ConstructorInfo.Invoke(System.Reflection.BindingFlags,System.Reflection.Binder,System.Object[],System.Globalization.CultureInfo)" /> on the returned <see cref="T:System.Reflection.ConstructorInfo" />.</exception>
// Token: 0x0600162F RID: 5679 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600162F")]
[Address(RVA = "0x2A03370", Offset = "0x2A02170", VA = "0x182A03370", Slot = "43")]
public override object Invoke(BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
{
return null;
}
/// <summary>Checks if the specified custom attribute type is defined.</summary>
/// <param name="attributeType">A custom attribute type.</param>
/// <param name="inherit">Controls inheritance of custom attributes from base classes. This parameter is ignored.</param>
/// <returns>
/// <see langword="true" /> if the specified custom attribute type is defined; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.NotSupportedException">This method is not currently supported. You can retrieve the constructor using <see cref="M:System.Type.GetConstructor(System.Reflection.BindingFlags,System.Reflection.Binder,System.Reflection.CallingConventions,System.Type[],System.Reflection.ParameterModifier[])" /> and call <see cref="M:System.Reflection.MemberInfo.IsDefined(System.Type,System.Boolean)" /> on the returned <see cref="T:System.Reflection.ConstructorInfo" />.</exception>
// Token: 0x06001630 RID: 5680 RVA: 0x0000FAF8 File Offset: 0x0000DCF8
[Token(Token = "0x6001630")]
[Address(RVA = "0x2A033A0", Offset = "0x2A021A0", VA = "0x182A033A0", Slot = "14")]
public override bool IsDefined(Type attributeType, bool inherit)
{
return default(bool);
}
}
}