321 lines
13 KiB
C#
321 lines
13 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
/// <summary>Discovers the attributes of a parameter and provides access to parameter metadata.</summary>
|
|
// Token: 0x02000261 RID: 609
|
|
[Token(Token = "0x2000261")]
|
|
[ComVisible(true)]
|
|
[ComDefaultInterface(typeof(_ParameterInfo))]
|
|
[ClassInterface(ClassInterfaceType.None)]
|
|
[Serializable]
|
|
[StructLayout(0)]
|
|
public class ParameterInfo : ICustomAttributeProvider, IObjectReference, _ParameterInfo
|
|
{
|
|
/// <summary>Initializes a new instance of the <see langword="ParameterInfo" /> class.</summary>
|
|
// Token: 0x060015EB RID: 5611 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60015EB")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected ParameterInfo()
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the parameter type and name represented as a string.</summary>
|
|
/// <returns>A string containing the type and the name of the parameter.</returns>
|
|
// Token: 0x060015EC RID: 5612 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60015EC")]
|
|
[Address(RVA = "0x29543E0", Offset = "0x29531E0", VA = "0x1829543E0", Slot = "3")]
|
|
public override string ToString()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060015ED RID: 5613 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60015ED")]
|
|
[Address(RVA = "0x2953D60", Offset = "0x2952B60", VA = "0x182953D60")]
|
|
internal static void FormatParameters(StringBuilder sb, ParameterInfo[] p, CallingConventions callingConvention, bool serialization)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the <see langword="Type" /> of this parameter.</summary>
|
|
/// <returns>The <see langword="Type" /> object that represents the <see langword="Type" /> of this parameter.</returns>
|
|
// Token: 0x17000270 RID: 624
|
|
// (get) Token: 0x060015EE RID: 5614 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000270")]
|
|
public virtual Type ParameterType
|
|
{
|
|
[Token(Token = "0x60015EE")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "8")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the attributes for this parameter.</summary>
|
|
/// <returns>A <see langword="ParameterAttributes" /> object representing the attributes for this parameter.</returns>
|
|
// Token: 0x17000271 RID: 625
|
|
// (get) Token: 0x060015EF RID: 5615 RVA: 0x0000F990 File Offset: 0x0000DB90
|
|
[Token(Token = "0x17000271")]
|
|
public virtual ParameterAttributes Attributes
|
|
{
|
|
[Token(Token = "0x60015EF")]
|
|
[Address(RVA = "0x436510", Offset = "0x435310", VA = "0x180436510", Slot = "9")]
|
|
get
|
|
{
|
|
return ParameterAttributes.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether this is an input parameter.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the parameter is an input parameter; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000272 RID: 626
|
|
// (get) Token: 0x060015F0 RID: 5616 RVA: 0x0000F9A8 File Offset: 0x0000DBA8
|
|
[Token(Token = "0x17000272")]
|
|
public bool IsIn
|
|
{
|
|
[Token(Token = "0x60015F0")]
|
|
[Address(RVA = "0x2954610", Offset = "0x2953410", VA = "0x182954610")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether this parameter is optional.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the parameter is optional; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000273 RID: 627
|
|
// (get) Token: 0x060015F1 RID: 5617 RVA: 0x0000F9C0 File Offset: 0x0000DBC0
|
|
[Token(Token = "0x17000273")]
|
|
public bool IsOptional
|
|
{
|
|
[Token(Token = "0x60015F1")]
|
|
[Address(RVA = "0x2954630", Offset = "0x2953430", VA = "0x182954630")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether this is an output parameter.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the parameter is an output parameter; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000274 RID: 628
|
|
// (get) Token: 0x060015F2 RID: 5618 RVA: 0x0000F9D8 File Offset: 0x0000DBD8
|
|
[Token(Token = "0x17000274")]
|
|
public bool IsOut
|
|
{
|
|
[Token(Token = "0x60015F2")]
|
|
[Address(RVA = "0x2954650", Offset = "0x2953450", VA = "0x182954650")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether this is a <see langword="Retval" /> parameter.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the parameter is a <see langword="Retval" />; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x17000275 RID: 629
|
|
// (get) Token: 0x060015F3 RID: 5619 RVA: 0x0000F9F0 File Offset: 0x0000DBF0
|
|
[Token(Token = "0x17000275")]
|
|
public bool IsRetval
|
|
{
|
|
[Token(Token = "0x60015F3")]
|
|
[Address(RVA = "0x2954670", Offset = "0x2953470", VA = "0x182954670")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating the member in which the parameter is implemented.</summary>
|
|
/// <returns>The member which implanted the parameter represented by this <see cref="T:System.Reflection.ParameterInfo" />.</returns>
|
|
// Token: 0x17000276 RID: 630
|
|
// (get) Token: 0x060015F4 RID: 5620 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000276")]
|
|
public virtual MemberInfo Member
|
|
{
|
|
[Token(Token = "0x60015F4")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of the parameter.</summary>
|
|
/// <returns>The simple name of this parameter.</returns>
|
|
// Token: 0x17000277 RID: 631
|
|
// (get) Token: 0x060015F5 RID: 5621 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000277")]
|
|
public virtual string Name
|
|
{
|
|
[Token(Token = "0x60015F5")]
|
|
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "11")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the zero-based position of the parameter in the formal parameter list.</summary>
|
|
/// <returns>An integer representing the position this parameter occupies in the parameter list.</returns>
|
|
// Token: 0x17000278 RID: 632
|
|
// (get) Token: 0x060015F6 RID: 5622 RVA: 0x0000FA08 File Offset: 0x0000DC08
|
|
[Token(Token = "0x17000278")]
|
|
public virtual int Position
|
|
{
|
|
[Token(Token = "0x60015F6")]
|
|
[Address(RVA = "0x4730E0", Offset = "0x471EE0", VA = "0x1804730E0", Slot = "12")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060015F7 RID: 5623 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60015F7")]
|
|
[Address(RVA = "0x2953FD0", Offset = "0x2952DD0", VA = "0x182953FD0")]
|
|
internal object[] GetPseudoCustomAttributes()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060015F8 RID: 5624 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60015F8")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
|
internal object GetDefaultValueImpl()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets a value indicating the default value if the parameter has a default value.</summary>
|
|
/// <returns>The default value of the parameter, or <see cref="F:System.DBNull.Value" /> if the parameter has no default value.</returns>
|
|
// Token: 0x17000279 RID: 633
|
|
// (get) Token: 0x060015F9 RID: 5625 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x17000279")]
|
|
public virtual object DefaultValue
|
|
{
|
|
[Token(Token = "0x60015F9")]
|
|
[Address(RVA = "0x29545C0", Offset = "0x29533C0", VA = "0x1829545C0", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets all the custom attributes defined on this parameter.</summary>
|
|
/// <param name="inherit">This argument is ignored for objects of this type.</param>
|
|
/// <returns>An array that contains all the custom attributes applied to this parameter.</returns>
|
|
/// <exception cref="T:System.TypeLoadException">A custom attribute type could not be loaded.</exception>
|
|
// Token: 0x060015FA RID: 5626 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60015FA")]
|
|
[Address(RVA = "0x2953F50", Offset = "0x2952D50", VA = "0x182953F50", Slot = "14")]
|
|
public virtual object[] GetCustomAttributes(bool inherit)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the custom attributes of the specified type or its derived types that are applied to this parameter.</summary>
|
|
/// <param name="attributeType">The custom attributes identified by type.</param>
|
|
/// <param name="inherit">This argument is ignored for objects of this type.</param>
|
|
/// <returns>An array that contains the custom attributes of the specified type or its derived types.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The type must be a type provided by the underlying runtime system.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="attributeType" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.TypeLoadException">A custom attribute type could not be loaded.</exception>
|
|
// Token: 0x060015FB RID: 5627 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60015FB")]
|
|
[Address(RVA = "0x2953F90", Offset = "0x2952D90", VA = "0x182953F90", Slot = "15")]
|
|
public virtual object[] GetCustomAttributes(Type attributeType, bool inherit)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the real object that should be deserialized instead of the object that the serialized stream specifies.</summary>
|
|
/// <param name="context">The serialized stream from which the current object is deserialized.</param>
|
|
/// <returns>The actual object that is put into the graph.</returns>
|
|
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The parameter's position in the parameter list of its associated member is not valid for that member's type.</exception>
|
|
// Token: 0x060015FC RID: 5628 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60015FC")]
|
|
[Address(RVA = "0x29542C0", Offset = "0x29530C0", VA = "0x1829542C0", Slot = "7")]
|
|
public object GetRealObject(StreamingContext context)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Determines whether the custom attribute of the specified type or its derived types is applied to this parameter.</summary>
|
|
/// <param name="attributeType">The <see langword="Type" /> object to search for.</param>
|
|
/// <param name="inherit">This argument is ignored for objects of this type.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if one or more instances of <paramref name="attributeType" /> or its derived types are applied to this parameter; otherwise, <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="attributeType" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="attributeType" /> is not a <see cref="T:System.Type" /> object supplied by the common language runtime.</exception>
|
|
// Token: 0x060015FD RID: 5629 RVA: 0x0000FA20 File Offset: 0x0000DC20
|
|
[Token(Token = "0x60015FD")]
|
|
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "16")]
|
|
public virtual bool IsDefined(Type attributeType, bool inherit)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060015FE RID: 5630 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60015FE")]
|
|
[Address(RVA = "0x2954310", Offset = "0x2953110", VA = "0x182954310")]
|
|
internal static ParameterInfo New(ParameterInfo pinfo, MemberInfo member)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>The <see langword="Type" /> of the parameter.</summary>
|
|
// Token: 0x04000B6C RID: 2924
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000B6C")]
|
|
protected Type ClassImpl;
|
|
|
|
/// <summary>The default value of the parameter.</summary>
|
|
// Token: 0x04000B6D RID: 2925
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000B6D")]
|
|
protected object DefaultValueImpl;
|
|
|
|
/// <summary>The member in which the field is implemented.</summary>
|
|
// Token: 0x04000B6E RID: 2926
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000B6E")]
|
|
protected MemberInfo MemberImpl;
|
|
|
|
/// <summary>The name of the parameter.</summary>
|
|
// Token: 0x04000B6F RID: 2927
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000B6F")]
|
|
protected string NameImpl;
|
|
|
|
/// <summary>The zero-based position of the parameter in the parameter list.</summary>
|
|
// Token: 0x04000B70 RID: 2928
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000B70")]
|
|
protected int PositionImpl;
|
|
|
|
/// <summary>The attributes of the parameter.</summary>
|
|
// Token: 0x04000B71 RID: 2929
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x4000B71")]
|
|
protected ParameterAttributes AttrsImpl;
|
|
|
|
// Token: 0x04000B72 RID: 2930
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000B72")]
|
|
internal MarshalAsAttribute marshalAs;
|
|
}
|
|
}
|