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: 0x0200027C RID: 636
|
|
[Token(Token = "0x200027C")]
|
|
public abstract class PropertyBuilder : PropertyInfo
|
|
{
|
|
/// <summary>Gets the attributes for this property.</summary>
|
|
/// <returns>Attributes of this property.</returns>
|
|
// Token: 0x170002AF RID: 687
|
|
// (get) Token: 0x060016DF RID: 5855 RVA: 0x00010140 File Offset: 0x0000E340
|
|
[Token(Token = "0x170002AF")]
|
|
public override PropertyAttributes Attributes
|
|
{
|
|
[Token(Token = "0x60016DF")]
|
|
[Address(RVA = "0x30C9DC0", Offset = "0x30C8DC0", VA = "0x1830C9DC0", 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: 0x170002B0 RID: 688
|
|
// (get) Token: 0x060016E0 RID: 5856 RVA: 0x00010158 File Offset: 0x0000E358
|
|
[Token(Token = "0x170002B0")]
|
|
public override bool CanRead
|
|
{
|
|
[Token(Token = "0x60016E0")]
|
|
[Address(RVA = "0x30C9E10", Offset = "0x30C8E10", VA = "0x1830C9E10", 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: 0x170002B1 RID: 689
|
|
// (get) Token: 0x060016E1 RID: 5857 RVA: 0x00010170 File Offset: 0x0000E370
|
|
[Token(Token = "0x170002B1")]
|
|
public override bool CanWrite
|
|
{
|
|
[Token(Token = "0x60016E1")]
|
|
[Address(RVA = "0x30C9E60", Offset = "0x30C8E60", VA = "0x1830C9E60", 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: 0x170002B2 RID: 690
|
|
// (get) Token: 0x060016E2 RID: 5858 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002B2")]
|
|
public override Type DeclaringType
|
|
{
|
|
[Token(Token = "0x60016E2")]
|
|
[Address(RVA = "0x30C9EB0", Offset = "0x30C8EB0", VA = "0x1830C9EB0", 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: 0x170002B3 RID: 691
|
|
// (get) Token: 0x060016E3 RID: 5859 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002B3")]
|
|
public override string Name
|
|
{
|
|
[Token(Token = "0x60016E3")]
|
|
[Address(RVA = "0x30C9F00", Offset = "0x30C8F00", VA = "0x1830C9F00", Slot = "8")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the type of the field of this property.</summary>
|
|
/// <returns>The type of this property.</returns>
|
|
// Token: 0x170002B4 RID: 692
|
|
// (get) Token: 0x060016E4 RID: 5860 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002B4")]
|
|
public override Type PropertyType
|
|
{
|
|
[Token(Token = "0x60016E4")]
|
|
[Address(RVA = "0x30C9F50", Offset = "0x30C8F50", VA = "0x1830C9F50", 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: 0x060016E5 RID: 5861 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016E5")]
|
|
[Address(RVA = "0x30C9CB0", Offset = "0x30C8CB0", VA = "0x1830C9CB0", 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: 0x170002B5 RID: 693
|
|
// (get) Token: 0x060016E6 RID: 5862 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002B5")]
|
|
public override Type ReflectedType
|
|
{
|
|
[Token(Token = "0x60016E6")]
|
|
[Address(RVA = "0x30C9FA0", Offset = "0x30C8FA0", VA = "0x1830C9FA0", 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: 0x060016E7 RID: 5863 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016E7")]
|
|
[Address(RVA = "0x30C9BF0", Offset = "0x30C8BF0", VA = "0x1830C9BF0", 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: 0x060016E8 RID: 5864 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016E8")]
|
|
[Address(RVA = "0x30C9C20", Offset = "0x30C8C20", VA = "0x1830C9C20", 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: 0x060016E9 RID: 5865 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016E9")]
|
|
[Address(RVA = "0x30C9C50", Offset = "0x30C8C50", VA = "0x1830C9C50", 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: 0x060016EA RID: 5866 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016EA")]
|
|
[Address(RVA = "0x30C9C80", Offset = "0x30C8C80", VA = "0x1830C9C80", 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: 0x060016EB RID: 5867 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016EB")]
|
|
[Address(RVA = "0x30C9D00", Offset = "0x30C8D00", VA = "0x1830C9D00", 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: 0x060016EC RID: 5868 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x60016EC")]
|
|
[Address(RVA = "0x30C9D30", Offset = "0x30C8D30", VA = "0x1830C9D30", 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: 0x060016ED RID: 5869 RVA: 0x00010188 File Offset: 0x0000E388
|
|
[Token(Token = "0x60016ED")]
|
|
[Address(RVA = "0x30C9D60", Offset = "0x30C8D60", VA = "0x1830C9D60", 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: 0x060016EE RID: 5870 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60016EE")]
|
|
[Address(RVA = "0x30C9D90", Offset = "0x30C8D90", VA = "0x1830C9D90", Slot = "33")]
|
|
public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
|
|
{
|
|
}
|
|
}
|
|
}
|