Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x02000268 RID: 616
[Token(Token = "0x2000268")]
[ClassInterface(ClassInterfaceType.None)]
[ComDefaultInterface(typeof(_ParameterInfo))]
[ComVisible(true)]
[Serializable]
[StructLayout(0)]
public class ParameterInfo : ICustomAttributeProvider, IObjectReference, _ParameterInfo
{
/// <summary>Initializes a new instance of the <see langword="ParameterInfo" /> class.</summary>
// Token: 0x0600162A RID: 5674 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600162A")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
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: 0x0600162B RID: 5675 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600162B")]
[Address(RVA = "0x30C9580", Offset = "0x30C8580", VA = "0x1830C9580", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x0600162C RID: 5676 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600162C")]
[Address(RVA = "0x30C8F00", Offset = "0x30C7F00", VA = "0x1830C8F00")]
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: 0x1700027B RID: 635
// (get) Token: 0x0600162D RID: 5677 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700027B")]
public virtual Type ParameterType
{
[Token(Token = "0x600162D")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", 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: 0x1700027C RID: 636
// (get) Token: 0x0600162E RID: 5678 RVA: 0x0000FCF0 File Offset: 0x0000DEF0
[Token(Token = "0x1700027C")]
public virtual ParameterAttributes Attributes
{
[Token(Token = "0x600162E")]
[Address(RVA = "0x4D9880", Offset = "0x4D8880", VA = "0x1804D9880", 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: 0x1700027D RID: 637
// (get) Token: 0x0600162F RID: 5679 RVA: 0x0000FD08 File Offset: 0x0000DF08
[Token(Token = "0x1700027D")]
public bool IsIn
{
[Token(Token = "0x600162F")]
[Address(RVA = "0x30C97B0", Offset = "0x30C87B0", VA = "0x1830C97B0")]
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: 0x1700027E RID: 638
// (get) Token: 0x06001630 RID: 5680 RVA: 0x0000FD20 File Offset: 0x0000DF20
[Token(Token = "0x1700027E")]
public bool IsOptional
{
[Token(Token = "0x6001630")]
[Address(RVA = "0x30C97D0", Offset = "0x30C87D0", VA = "0x1830C97D0")]
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: 0x1700027F RID: 639
// (get) Token: 0x06001631 RID: 5681 RVA: 0x0000FD38 File Offset: 0x0000DF38
[Token(Token = "0x1700027F")]
public bool IsOut
{
[Token(Token = "0x6001631")]
[Address(RVA = "0x30C97F0", Offset = "0x30C87F0", VA = "0x1830C97F0")]
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: 0x17000280 RID: 640
// (get) Token: 0x06001632 RID: 5682 RVA: 0x0000FD50 File Offset: 0x0000DF50
[Token(Token = "0x17000280")]
public bool IsRetval
{
[Token(Token = "0x6001632")]
[Address(RVA = "0x30C9810", Offset = "0x30C8810", VA = "0x1830C9810")]
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: 0x17000281 RID: 641
// (get) Token: 0x06001633 RID: 5683 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000281")]
public virtual MemberInfo Member
{
[Token(Token = "0x6001633")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "10")]
get
{
return null;
}
}
/// <summary>Gets the name of the parameter.</summary>
/// <returns>The simple name of this parameter.</returns>
// Token: 0x17000282 RID: 642
// (get) Token: 0x06001634 RID: 5684 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000282")]
public virtual string Name
{
[Token(Token = "0x6001634")]
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", 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: 0x17000283 RID: 643
// (get) Token: 0x06001635 RID: 5685 RVA: 0x0000FD68 File Offset: 0x0000DF68
[Token(Token = "0x17000283")]
public virtual int Position
{
[Token(Token = "0x6001635")]
[Address(RVA = "0x4257C0", Offset = "0x4247C0", VA = "0x1804257C0", Slot = "12")]
get
{
return 0;
}
}
// Token: 0x06001636 RID: 5686 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001636")]
[Address(RVA = "0x30C9170", Offset = "0x30C8170", VA = "0x1830C9170")]
internal object[] GetPseudoCustomAttributes()
{
return null;
}
// Token: 0x06001637 RID: 5687 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001637")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
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: 0x17000284 RID: 644
// (get) Token: 0x06001638 RID: 5688 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000284")]
public virtual object DefaultValue
{
[Token(Token = "0x6001638")]
[Address(RVA = "0x30C9760", Offset = "0x30C8760", VA = "0x1830C9760", 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: 0x06001639 RID: 5689 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001639")]
[Address(RVA = "0x30C90F0", Offset = "0x30C80F0", VA = "0x1830C90F0", 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: 0x0600163A RID: 5690 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600163A")]
[Address(RVA = "0x30C9130", Offset = "0x30C8130", VA = "0x1830C9130", 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: 0x0600163B RID: 5691 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600163B")]
[Address(RVA = "0x30C9460", Offset = "0x30C8460", VA = "0x1830C9460", 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: 0x0600163C RID: 5692 RVA: 0x0000FD80 File Offset: 0x0000DF80
[Token(Token = "0x600163C")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "16")]
public virtual bool IsDefined(Type attributeType, bool inherit)
{
return default(bool);
}
// Token: 0x0600163D RID: 5693 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600163D")]
[Address(RVA = "0x30C94B0", Offset = "0x30C84B0", VA = "0x1830C94B0")]
internal static ParameterInfo New(ParameterInfo pinfo, MemberInfo member)
{
return null;
}
/// <summary>The <see langword="Type" /> of the parameter.</summary>
// Token: 0x04000B76 RID: 2934
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000B76")]
protected Type ClassImpl;
/// <summary>The default value of the parameter.</summary>
// Token: 0x04000B77 RID: 2935
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000B77")]
protected object DefaultValueImpl;
/// <summary>The member in which the field is implemented.</summary>
// Token: 0x04000B78 RID: 2936
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000B78")]
protected MemberInfo MemberImpl;
/// <summary>The name of the parameter.</summary>
// Token: 0x04000B79 RID: 2937
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000B79")]
protected string NameImpl;
/// <summary>The zero-based position of the parameter in the parameter list.</summary>
// Token: 0x04000B7A RID: 2938
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000B7A")]
protected int PositionImpl;
/// <summary>The attributes of the parameter.</summary>
// Token: 0x04000B7B RID: 2939
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
[Token(Token = "0x4000B7B")]
protected ParameterAttributes AttrsImpl;
// Token: 0x04000B7C RID: 2940
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000B7C")]
internal MarshalAsAttribute marshalAs;
}
}