250 lines
14 KiB
C#
250 lines
14 KiB
C#
using System;
|
|
using System.Globalization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Reflection.Emit
|
|
{
|
|
/// <summary>Defines the properties for a type.</summary>
|
|
// Token: 0x02000275 RID: 629
|
|
[Token(Token = "0x2000275")]
|
|
public abstract class PropertyBuilder : PropertyInfo
|
|
{
|
|
/// <summary>Gets the attributes for this property.</summary>
|
|
/// <returns>Attributes of this property.</returns>
|
|
// Token: 0x170002A4 RID: 676
|
|
// (get) Token: 0x060016A0 RID: 5792 RVA: 0x0000FDE0 File Offset: 0x0000DFE0
|
|
[Token(Token = "0x170002A4")]
|
|
public override PropertyAttributes Attributes
|
|
{
|
|
[Token(Token = "0x60016A0")]
|
|
[Address(RVA = "0x2A16E90", Offset = "0x2A15C90", VA = "0x182A16E90", Slot = "18")]
|
|
get
|
|
{
|
|
return PropertyAttributes.None;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the property can be read.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if this property can be read; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170002A5 RID: 677
|
|
// (get) Token: 0x060016A1 RID: 5793 RVA: 0x0000FDF8 File Offset: 0x0000DFF8
|
|
[Token(Token = "0x170002A5")]
|
|
public override bool CanRead
|
|
{
|
|
[Token(Token = "0x60016A1")]
|
|
[Address(RVA = "0x2A16EE0", Offset = "0x2A15CE0", VA = "0x182A16EE0", Slot = "19")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value indicating whether the property can be written to.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if this property can be written to; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x170002A6 RID: 678
|
|
// (get) Token: 0x060016A2 RID: 5794 RVA: 0x0000FE10 File Offset: 0x0000E010
|
|
[Token(Token = "0x170002A6")]
|
|
public override bool CanWrite
|
|
{
|
|
[Token(Token = "0x60016A2")]
|
|
[Address(RVA = "0x2A16F30", Offset = "0x2A15D30", VA = "0x182A16F30", Slot = "20")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the class that declares this member.</summary>
|
|
/// <returns>The <see langword="Type" /> object for the class that declares this member.</returns>
|
|
// Token: 0x170002A7 RID: 679
|
|
// (get) Token: 0x060016A3 RID: 5795 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002A7")]
|
|
public override Type DeclaringType
|
|
{
|
|
[Token(Token = "0x60016A3")]
|
|
[Address(RVA = "0x2A16F80", Offset = "0x2A15D80", VA = "0x182A16F80", Slot = "9")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the name of this member.</summary>
|
|
/// <returns>A <see cref="T:System.String" /> containing the name of this member.</returns>
|
|
// Token: 0x170002A8 RID: 680
|
|
// (get) Token: 0x060016A4 RID: 5796 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002A8")]
|
|
public override string Name
|
|
{
|
|
[Token(Token = "0x60016A4")]
|
|
[Address(RVA = "0x2A16FD0", Offset = "0x2A15DD0", VA = "0x182A16FD0", Slot = "8")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the type of the field of this property.</summary>
|
|
/// <returns>The type of this property.</returns>
|
|
// Token: 0x170002A9 RID: 681
|
|
// (get) Token: 0x060016A5 RID: 5797 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002A9")]
|
|
public override Type PropertyType
|
|
{
|
|
[Token(Token = "0x60016A5")]
|
|
[Address(RVA = "0x2A17020", Offset = "0x2A15E20", VA = "0x182A17020", Slot = "23")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns an array of all the index parameters for the property.</summary>
|
|
/// <returns>An array of type <see langword="ParameterInfo" /> containing the parameters for the indexes.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
|
// Token: 0x060016A6 RID: 5798 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016A6")]
|
|
[Address(RVA = "0x2A16D80", Offset = "0x2A15B80", VA = "0x182A16D80", Slot = "27")]
|
|
public override ParameterInfo[] GetIndexParameters()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the class object that was used to obtain this instance of <see langword="MemberInfo" />.</summary>
|
|
/// <returns>The <see langword="Type" /> object through which this <see langword="MemberInfo" /> object was obtained.</returns>
|
|
// Token: 0x170002AA RID: 682
|
|
// (get) Token: 0x060016A7 RID: 5799 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002AA")]
|
|
public override Type ReflectedType
|
|
{
|
|
[Token(Token = "0x60016A7")]
|
|
[Address(RVA = "0x2A17070", Offset = "0x2A15E70", VA = "0x182A17070", Slot = "10")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns an array of the public and non-public <see langword="get" /> and <see langword="set" /> accessors on this property.</summary>
|
|
/// <param name="nonPublic">Indicates whether non-public methods should be returned in the <see langword="MethodInfo" /> array. <see langword="true" /> if non-public methods are to be included; otherwise, <see langword="false" />.</param>
|
|
/// <returns>An array of type <see langword="MethodInfo" /> containing the matching public or non-public accessors, or an empty array if matching accessors do not exist on this property.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
|
// Token: 0x060016A8 RID: 5800 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016A8")]
|
|
[Address(RVA = "0x2A16CC0", Offset = "0x2A15AC0", VA = "0x182A16CC0", Slot = "24")]
|
|
public override MethodInfo[] GetAccessors(bool nonPublic)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns an array of all the custom attributes for this property.</summary>
|
|
/// <param name="inherit">If <see langword="true" />, walks up this property's inheritance chain to find the custom attributes</param>
|
|
/// <returns>An array of all the custom attributes.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
|
// Token: 0x060016A9 RID: 5801 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016A9")]
|
|
[Address(RVA = "0x2A16CF0", Offset = "0x2A15AF0", VA = "0x182A16CF0", Slot = "12")]
|
|
public override object[] GetCustomAttributes(bool inherit)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns an array of custom attributes identified by <see cref="T:System.Type" />.</summary>
|
|
/// <param name="attributeType">An array of custom attributes identified by type.</param>
|
|
/// <param name="inherit">If <see langword="true" />, walks up this property's inheritance chain to find the custom attributes.</param>
|
|
/// <returns>An array of custom attributes defined on this reflected member, or <see langword="null" /> if no attributes are defined on this member.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
|
// Token: 0x060016AA RID: 5802 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016AA")]
|
|
[Address(RVA = "0x2A16D20", Offset = "0x2A15B20", VA = "0x182A16D20", Slot = "13")]
|
|
public override object[] GetCustomAttributes(Type attributeType, bool inherit)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the public and non-public get accessor for this property.</summary>
|
|
/// <param name="nonPublic">Indicates whether non-public get accessors should be returned. <see langword="true" /> if non-public methods are to be included; otherwise, <see langword="false" />.</param>
|
|
/// <returns>A <see langword="MethodInfo" /> object representing the get accessor for this property, if <paramref name="nonPublic" /> is <see langword="true" />. Returns <see langword="null" /> if <paramref name="nonPublic" /> is <see langword="false" /> and the get accessor is non-public, or if <paramref name="nonPublic" /> is <see langword="true" /> but no get accessors exist.</returns>
|
|
// Token: 0x060016AB RID: 5803 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016AB")]
|
|
[Address(RVA = "0x2A16D50", Offset = "0x2A15B50", VA = "0x182A16D50", Slot = "26")]
|
|
public override MethodInfo GetGetMethod(bool nonPublic)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Returns the set accessor for this property.</summary>
|
|
/// <param name="nonPublic">Indicates whether the accessor should be returned if it is non-public. <see langword="true" /> if non-public methods are to be included; otherwise, <see langword="false" />.</param>
|
|
/// <returns>The property's <see langword="Set" /> method, or <see langword="null" />, as shown in the following table.
|
|
/// Value
|
|
///
|
|
/// Condition
|
|
///
|
|
/// A <see cref="T:System.Reflection.MethodInfo" /> object representing the Set method for this property.
|
|
///
|
|
/// The set accessor is public.
|
|
///
|
|
/// <paramref name="nonPublic" /> is true and non-public methods can be returned.
|
|
///
|
|
/// null
|
|
///
|
|
/// <paramref name="nonPublic" /> is true, but the property is read-only.
|
|
///
|
|
/// <paramref name="nonPublic" /> is false and the set accessor is non-public.</returns>
|
|
// Token: 0x060016AC RID: 5804 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016AC")]
|
|
[Address(RVA = "0x2A16DD0", Offset = "0x2A15BD0", VA = "0x182A16DD0", Slot = "29")]
|
|
public override MethodInfo GetSetMethod(bool nonPublic)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Gets the value of a property having the specified binding, index, and <see langword="CultureInfo" />.</summary>
|
|
/// <param name="obj">The object whose property value will be returned.</param>
|
|
/// <param name="invokeAttr">The invocation attribute. This must be a bit flag from <see langword="BindingFlags" /> : <see langword="InvokeMethod" />, <see langword="CreateInstance" />, <see langword="Static" />, <see langword="GetField" />, <see langword="SetField" />, <see langword="GetProperty" />, or <see langword="SetProperty" />. A suitable invocation attribute must be specified. If a static member is to be invoked, the <see langword="Static" /> flag of <see langword="BindingFlags" /> must be set.</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 <paramref name="binder" /> is <see langword="null" />, the default binder is used.</param>
|
|
/// <param name="index">Optional index values for indexed properties. This value should be <see langword="null" /> for non-indexed properties.</param>
|
|
/// <param name="culture">The <see langword="CultureInfo" /> object that represents the culture for which the resource is to be localized. Note that if the resource is not localized for this culture, the <see langword="CultureInfo.Parent" /> method will be called successively in search of a match. If this value is <see langword="null" />, the <see langword="CultureInfo" /> is obtained from the <see langword="CultureInfo.CurrentUICulture" /> property.</param>
|
|
/// <returns>The property value for <paramref name="obj" />.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
|
// Token: 0x060016AD RID: 5805 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016AD")]
|
|
[Address(RVA = "0x2A16E00", Offset = "0x2A15C00", VA = "0x182A16E00", Slot = "31")]
|
|
public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Indicates whether one or more instance of <paramref name="attributeType" /> is defined on this property.</summary>
|
|
/// <param name="attributeType">The <see langword="Type" /> object to which the custom attributes are applied.</param>
|
|
/// <param name="inherit">Specifies whether to walk up this property's inheritance chain to find the custom attributes.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if one or more instance of <paramref name="attributeType" /> is defined on this property; otherwise <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
|
// Token: 0x060016AE RID: 5806 RVA: 0x0000FE28 File Offset: 0x0000E028
|
|
[Token(Token = "0x60016AE")]
|
|
[Address(RVA = "0x2A16E30", Offset = "0x2A15C30", VA = "0x182A16E30", Slot = "14")]
|
|
public override bool IsDefined(Type attributeType, bool inherit)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Sets the property value for the given object to the given value.</summary>
|
|
/// <param name="obj">The object whose property value will be returned.</param>
|
|
/// <param name="value">The new value for this property.</param>
|
|
/// <param name="invokeAttr">The invocation attribute. This must be a bit flag from <see langword="BindingFlags" /> : <see langword="InvokeMethod" />, <see langword="CreateInstance" />, <see langword="Static" />, <see langword="GetField" />, <see langword="SetField" />, <see langword="GetProperty" />, or <see langword="SetProperty" />. A suitable invocation attribute must be specified. If a static member is to be invoked, the <see langword="Static" /> flag of <see langword="BindingFlags" /> must be set.</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 <paramref name="binder" /> is <see langword="null" />, the default binder is used.</param>
|
|
/// <param name="index">Optional index values for indexed properties. This value should be <see langword="null" /> for non-indexed properties.</param>
|
|
/// <param name="culture">The <see langword="CultureInfo" /> object that represents the culture for which the resource is to be localized. Note that if the resource is not localized for this culture, the <see langword="CultureInfo.Parent" /> method will be called successively in search of a match. If this value is <see langword="null" />, the <see langword="CultureInfo" /> is obtained from the <see langword="CultureInfo.CurrentUICulture" /> property.</param>
|
|
/// <exception cref="T:System.NotSupportedException">This method is not supported.</exception>
|
|
// Token: 0x060016AF RID: 5807 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60016AF")]
|
|
[Address(RVA = "0x2A16E60", Offset = "0x2A15C60", VA = "0x182A16E60", Slot = "33")]
|
|
public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
|
|
{
|
|
}
|
|
}
|
|
}
|