using System;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using Mono;
namespace System.Reflection
{
/// Discovers the attributes of a property and provides access to property metadata.
// Token: 0x02000269 RID: 617
[Token(Token = "0x2000269")]
[ComVisible(true)]
[ComDefaultInterface(typeof(_PropertyInfo))]
[ClassInterface(ClassInterfaceType.None)]
[Serializable]
public abstract class PropertyInfo : MemberInfo, _PropertyInfo
{
/// Gets the attributes for this property.
/// The attributes of this property.
// Token: 0x17000285 RID: 645
// (get) Token: 0x0600163E RID: 5694
[Token(Token = "0x17000285")]
public abstract PropertyAttributes Attributes
{
[Token(Token = "0x600163E")]
[Address(Slot = "18")]
get;
}
/// Gets a value indicating whether the property can be read.
///
/// if this property can be read; otherwise, .
// Token: 0x17000286 RID: 646
// (get) Token: 0x0600163F RID: 5695
[Token(Token = "0x17000286")]
public abstract bool CanRead
{
[Token(Token = "0x600163F")]
[Address(Slot = "19")]
get;
}
/// Gets a value indicating whether the property can be written to.
///
/// if this property can be written to; otherwise, .
// Token: 0x17000287 RID: 647
// (get) Token: 0x06001640 RID: 5696
[Token(Token = "0x17000287")]
public abstract bool CanWrite
{
[Token(Token = "0x6001640")]
[Address(Slot = "20")]
get;
}
/// Gets the accessor for this property.
/// The accessor for this property.
// Token: 0x17000288 RID: 648
// (get) Token: 0x06001641 RID: 5697 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000288")]
public virtual MethodInfo GetMethod
{
[Token(Token = "0x6001641")]
[Address(RVA = "0x30CA340", Offset = "0x30C9340", VA = "0x1830CA340", Slot = "21")]
get
{
return null;
}
}
/// Gets the accessor for this property.
/// The accessor for this property, or if the property is read-only.
// Token: 0x17000289 RID: 649
// (get) Token: 0x06001642 RID: 5698 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000289")]
public virtual MethodInfo SetMethod
{
[Token(Token = "0x6001642")]
[Address(RVA = "0x30CA360", Offset = "0x30C9360", VA = "0x1830CA360", Slot = "22")]
get
{
return null;
}
}
/// Gets a value indicating that this member is a property.
/// A value indicating that this member is a property.
// Token: 0x1700028A RID: 650
// (get) Token: 0x06001643 RID: 5699 RVA: 0x0000FD98 File Offset: 0x0000DF98
[Token(Token = "0x1700028A")]
public override MemberTypes MemberType
{
[Token(Token = "0x6001643")]
[Address(RVA = "0x8BB9C0", Offset = "0x8BA9C0", VA = "0x1808BB9C0", Slot = "7")]
get
{
return (MemberTypes)0;
}
}
/// Gets the type of this property.
/// The type of this property.
// Token: 0x1700028B RID: 651
// (get) Token: 0x06001644 RID: 5700
[Token(Token = "0x1700028B")]
public abstract Type PropertyType
{
[Token(Token = "0x6001644")]
[Address(Slot = "23")]
get;
}
/// Initializes a new instance of the class.
// Token: 0x06001645 RID: 5701 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001645")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected PropertyInfo()
{
}
/// Returns an array whose elements reflect the public and, if specified, non-public and accessors of the property reflected by the current instance.
/// Indicates whether non-public methods should be returned in the returned array. if non-public methods are to be included; otherwise, .
/// An array whose elements reflect the and accessors of the property reflected by the current instance. If is , this array contains public and non-public and accessors. If is , this array contains only public and accessors. If no accessors with the specified visibility are found, this method returns an array with zero (0) elements.
// Token: 0x06001646 RID: 5702
[Token(Token = "0x6001646")]
[Address(Slot = "24")]
public abstract MethodInfo[] GetAccessors(bool nonPublic);
/// Returns the public accessor for this property.
/// A object representing the public accessor for this property, or if the accessor is non-public or does not exist.
// Token: 0x06001647 RID: 5703 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001647")]
[Address(RVA = "0x30CA060", Offset = "0x30C9060", VA = "0x1830CA060", Slot = "25")]
public MethodInfo GetGetMethod()
{
return null;
}
/// When overridden in a derived class, returns the public or non-public accessor for this property.
/// Indicates whether a non-public accessor should be returned. if a non-public accessor is to be returned; otherwise, .
/// A object representing the accessor for this property, if is . Returns if is and the accessor is non-public, or if is but no accessors exist.
/// The requested method is non-public and the caller does not have to reflect on this non-public method.
// Token: 0x06001648 RID: 5704
[Token(Token = "0x6001648")]
[Address(Slot = "26")]
public abstract MethodInfo GetGetMethod(bool nonPublic);
/// When overridden in a derived class, returns an array of all the index parameters for the property.
/// An array of type containing the parameters for the indexes. If the property is not indexed, the array has 0 (zero) elements.
// Token: 0x06001649 RID: 5705
[Token(Token = "0x6001649")]
[Address(Slot = "27")]
public abstract ParameterInfo[] GetIndexParameters();
/// Returns the public accessor for this property.
/// The object representing the method for this property if the accessor is public, or if the accessor is not public.
// Token: 0x0600164A RID: 5706 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600164A")]
[Address(RVA = "0x30CA260", Offset = "0x30C9260", VA = "0x1830CA260", Slot = "28")]
public MethodInfo GetSetMethod()
{
return null;
}
/// When overridden in a derived class, returns the accessor for this property.
/// Indicates whether the accessor should be returned if it is non-public. if a non-public accessor is to be returned; otherwise, .
/// This property's method, or , as shown in the following table.
/// Value
///
/// Condition
///
/// The method for this property.
///
/// The accessor is public.
///
/// -or-
///
/// is and the accessor is non-public.
///
/// is , but the property is read-only.
///
/// -or-
///
/// is and the accessor is non-public.
///
/// -or-
///
/// There is no accessor.
/// The requested method is non-public and the caller does not have to reflect on this non-public method.
// Token: 0x0600164B RID: 5707
[Token(Token = "0x600164B")]
[Address(Slot = "29")]
public abstract MethodInfo GetSetMethod(bool nonPublic);
/// Returns the property value of a specified object with optional index values for indexed properties.
/// The object whose property value will be returned.
/// Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be for non-indexed properties.
/// The property value of the specified object.
/// The array does not contain the type of arguments needed.
/// -or-
/// The property's accessor is not found.
/// In the .NET for Windows Store apps or the Portable Class Library, catch instead.
///
///
///
///
/// The object does not match the target type, or a property is an instance property but is .
/// The number of parameters in does not match the number of parameters the indexed property takes.
/// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
///
///
///
///
/// There was an illegal attempt to access a private or protected method inside a class.
/// An error occurred while retrieving the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
// Token: 0x0600164C RID: 5708 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600164C")]
[Address(RVA = "0x30C1010", Offset = "0x30C0010", VA = "0x1830C1010", Slot = "30")]
[DebuggerHidden]
[DebuggerStepThrough]
public virtual object GetValue(object obj, object[] index)
{
return null;
}
/// Returns the property value of a specified object.
/// The object whose property value will be returned.
/// The property value of the specified object.
// Token: 0x0600164D RID: 5709 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600164D")]
[Address(RVA = "0x30CA280", Offset = "0x30C9280", VA = "0x1830CA280")]
[DebuggerStepThrough]
[DebuggerHidden]
public object GetValue(object obj)
{
return null;
}
/// When overridden in a derived class, returns the property value of a specified object that has the specified binding, index, and culture-specific information.
/// The object whose property value will be returned.
/// A bitwise combination of the following enumeration members that specify the invocation attribute: , , , , , , and . You must specify a suitable invocation attribute. For example, to invoke a static member, set the flag.
/// An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects through reflection. If is , the default binder is used.
/// Optional index values for indexed properties. This value should be for non-indexed properties.
/// The culture for which the resource is to be localized. If the resource is not localized for this culture, the property will be called successively in search of a match. If this value is , the culture-specific information is obtained from the property.
/// The property value of the specified object.
/// The array does not contain the type of arguments needed.
/// -or-
/// The property's accessor is not found.
/// The object does not match the target type, or a property is an instance property but is .
/// The number of parameters in does not match the number of parameters the indexed property takes.
/// There was an illegal attempt to access a private or protected method inside a class.
/// An error occurred while retrieving the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
// Token: 0x0600164E RID: 5710
[Token(Token = "0x600164E")]
[Address(Slot = "31")]
public abstract object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
/// Sets the property value of a specified object with optional index values for index properties.
/// The object whose property value will be set.
/// The new property value.
/// Optional index values for indexed properties. This value should be for non-indexed properties.
/// The array does not contain the type of arguments needed.
/// -or-
/// The property's accessor is not found.
/// -or-
/// cannot be converted to the type of .
/// In the .NET for Windows Store apps or the Portable Class Library, catch instead.
///
///
///
///
/// The object does not match the target type, or a property is an instance property but is .
/// The number of parameters in does not match the number of parameters the indexed property takes.
/// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
///
///
///
///
/// There was an illegal attempt to access a private or protected method inside a class.
/// An error occurred while setting the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
// Token: 0x0600164F RID: 5711 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600164F")]
[Address(RVA = "0x30CA300", Offset = "0x30C9300", VA = "0x1830CA300", Slot = "32")]
[DebuggerStepThrough]
[DebuggerHidden]
public virtual void SetValue(object obj, object value, object[] index)
{
}
/// Sets the property value of a specified object.
/// The object whose property value will be set.
/// The new property value.
/// The property's accessor is not found.
/// -or-
/// cannot be converted to the type of .
/// In the .NET for Windows Store apps or the Portable Class Library, catch instead.
///
///
///
///
/// The type of does not match the target type, or a property is an instance property but is .
/// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead.
///
///
///
///
/// There was an illegal attempt to access a private or protected method inside a class.
/// An error occurred while setting the property value. The property indicates the reason for the error.
// Token: 0x06001650 RID: 5712 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001650")]
[Address(RVA = "0x30CA2C0", Offset = "0x30C92C0", VA = "0x1830CA2C0")]
[DebuggerHidden]
[DebuggerStepThrough]
public void SetValue(object obj, object value)
{
}
/// When overridden in a derived class, sets the property value for a specified object that has the specified binding, index, and culture-specific information.
/// The object whose property value will be set.
/// The new property value.
/// A bitwise combination of the following enumeration members that specify the invocation attribute: , , , , , , or . You must specify a suitable invocation attribute. For example, to invoke a static member, set the flag.
/// An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects through reflection. If is , the default binder is used.
/// Optional index values for indexed properties. This value should be for non-indexed properties.
/// The culture for which the resource is to be localized. If the resource is not localized for this culture, the property will be called successively in search of a match. If this value is , the culture-specific information is obtained from the property.
/// The array does not contain the type of arguments needed.
/// -or-
/// The property's accessor is not found.
/// -or-
/// cannot be converted to the type of .
/// The object does not match the target type, or a property is an instance property but is .
/// The number of parameters in does not match the number of parameters the indexed property takes.
/// There was an illegal attempt to access a private or protected method inside a class.
/// An error occurred while setting the property value. For example, an index value specified for an indexed property is out of range. The property indicates the reason for the error.
// Token: 0x06001651 RID: 5713
[Token(Token = "0x6001651")]
[Address(Slot = "33")]
public abstract void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture);
/// Returns an array of types representing the optional custom modifiers of the property.
/// An array of objects that identify the optional custom modifiers of the current property, such as or .
// Token: 0x06001652 RID: 5714 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001652")]
[Address(RVA = "0x30CA080", Offset = "0x30C9080", VA = "0x1830CA080", Slot = "34")]
public virtual Type[] GetOptionalCustomModifiers()
{
return null;
}
/// Returns an array of types representing the required custom modifiers of the property.
/// An array of objects that identify the required custom modifiers of the current property, such as or .
// Token: 0x06001653 RID: 5715 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001653")]
[Address(RVA = "0x30CA200", Offset = "0x30C9200", VA = "0x1830CA200", Slot = "35")]
public virtual Type[] GetRequiredCustomModifiers()
{
return null;
}
// Token: 0x06001654 RID: 5716 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001654")]
[Address(RVA = "0x30C9FD0", Offset = "0x30C8FD0", VA = "0x1830C9FD0")]
private static NotImplementedException CreateNIE()
{
return null;
}
/// Returns a literal value associated with the property by a compiler.
/// An that contains the literal value associated with the property. If the literal value is a class type with an element value of zero, the return value is .
/// The Constant table in unmanaged metadata does not contain a constant value for the current property.
/// The type of the value is not one of the types permitted by the Common Language Specification (CLS). See the ECMA Partition II specification, Metadata.
// Token: 0x06001655 RID: 5717 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001655")]
[Address(RVA = "0x30CA020", Offset = "0x30C9020", VA = "0x1830CA020", Slot = "36")]
public virtual object GetConstantValue()
{
return null;
}
/// Returns a literal value associated with the property by a compiler.
/// An that contains the literal value associated with the property. If the literal value is a class type with an element value of zero, the return value is .
/// The Constant table in unmanaged metadata does not contain a constant value for the current property.
/// The type of the value is not one of the types permitted by the Common Language Specification (CLS). See the ECMA Partition II specification, Metadata Logical Format: Other Structures, Element Types used in Signatures.
// Token: 0x06001656 RID: 5718 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001656")]
[Address(RVA = "0x30CA1C0", Offset = "0x30C91C0", VA = "0x1830CA1C0", Slot = "37")]
public virtual object GetRawConstantValue()
{
return null;
}
/// Returns a value that indicates whether this instance is equal to a specified object.
/// An object to compare with this instance, or .
///
/// if equals the type and value of this instance; otherwise, .
// Token: 0x06001657 RID: 5719 RVA: 0x0000FDB0 File Offset: 0x0000DFB0
[Token(Token = "0x6001657")]
[Address(RVA = "0x21EBB30", Offset = "0x21EAB30", VA = "0x1821EBB30", Slot = "0")]
public override bool Equals(object obj)
{
return default(bool);
}
/// Returns the hash code for this instance.
/// A 32-bit signed integer hash code.
// Token: 0x06001658 RID: 5720 RVA: 0x0000FDC8 File Offset: 0x0000DFC8
[Token(Token = "0x6001658")]
[Address(RVA = "0x4F9150", Offset = "0x4F8150", VA = "0x1804F9150", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
/// Indicates whether two objects are equal.
/// The first object to compare.
/// The second object to compare.
///
/// if is equal to ; otherwise, .
// Token: 0x06001659 RID: 5721 RVA: 0x0000FDE0 File Offset: 0x0000DFE0
[Token(Token = "0x6001659")]
[Address(RVA = "0x2D66AB0", Offset = "0x2D65AB0", VA = "0x182D66AB0")]
public static bool operator ==(PropertyInfo left, PropertyInfo right)
{
return default(bool);
}
/// Indicates whether two objects are not equal.
/// The first object to compare.
/// The second object to compare.
///
/// if is not equal to ; otherwise, .
// Token: 0x0600165A RID: 5722 RVA: 0x0000FDF8 File Offset: 0x0000DFF8
[Token(Token = "0x600165A")]
[Address(RVA = "0x2D66B00", Offset = "0x2D65B00", VA = "0x182D66B00")]
public static bool operator !=(PropertyInfo left, PropertyInfo right)
{
return default(bool);
}
// Token: 0x0600165B RID: 5723 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600165B")]
[Address(RVA = "0x30CA380", Offset = "0x30C9380", VA = "0x1830CA380")]
private static PropertyInfo internal_from_handle_type(IntPtr event_handle, IntPtr type_handle)
{
return null;
}
// Token: 0x0600165C RID: 5724 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600165C")]
[Address(RVA = "0x30CA0E0", Offset = "0x30C90E0", VA = "0x1830CA0E0")]
internal static PropertyInfo GetPropertyFromHandle(RuntimePropertyHandle handle, RuntimeTypeHandle reflectedType)
{
return null;
}
}
}