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: 0x02000262 RID: 610
[Token(Token = "0x2000262")]
[ComDefaultInterface(typeof(_PropertyInfo))]
[ComVisible(true)]
[ClassInterface(ClassInterfaceType.None)]
[Serializable]
public abstract class PropertyInfo : MemberInfo, _PropertyInfo
{
/// Gets the attributes for this property.
/// The attributes of this property.
// Token: 0x1700027A RID: 634
// (get) Token: 0x060015FF RID: 5631
[Token(Token = "0x1700027A")]
public abstract PropertyAttributes Attributes
{
[Token(Token = "0x60015FF")]
[Address(Slot = "18")]
get;
}
/// Gets a value indicating whether the property can be read.
///
/// if this property can be read; otherwise, .
// Token: 0x1700027B RID: 635
// (get) Token: 0x06001600 RID: 5632
[Token(Token = "0x1700027B")]
public abstract bool CanRead
{
[Token(Token = "0x6001600")]
[Address(Slot = "19")]
get;
}
/// Gets a value indicating whether the property can be written to.
///
/// if this property can be written to; otherwise, .
// Token: 0x1700027C RID: 636
// (get) Token: 0x06001601 RID: 5633
[Token(Token = "0x1700027C")]
public abstract bool CanWrite
{
[Token(Token = "0x6001601")]
[Address(Slot = "20")]
get;
}
/// Gets the accessor for this property.
/// The accessor for this property.
// Token: 0x1700027D RID: 637
// (get) Token: 0x06001602 RID: 5634 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700027D")]
public virtual MethodInfo GetMethod
{
[Token(Token = "0x6001602")]
[Address(RVA = "0x2954DC0", Offset = "0x2953BC0", VA = "0x182954DC0", Slot = "21")]
get
{
return null;
}
}
/// Gets the accessor for this property.
/// The accessor for this property, or if the property is read-only.
// Token: 0x1700027E RID: 638
// (get) Token: 0x06001603 RID: 5635 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700027E")]
public virtual MethodInfo SetMethod
{
[Token(Token = "0x6001603")]
[Address(RVA = "0x2954DE0", Offset = "0x2953BE0", VA = "0x182954DE0", 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: 0x1700027F RID: 639
// (get) Token: 0x06001604 RID: 5636 RVA: 0x0000FA38 File Offset: 0x0000DC38
[Token(Token = "0x1700027F")]
public override MemberTypes MemberType
{
[Token(Token = "0x6001604")]
[Address(RVA = "0x4B6B10", Offset = "0x4B5910", VA = "0x1804B6B10", Slot = "7")]
get
{
return (MemberTypes)0;
}
}
/// Gets the type of this property.
/// The type of this property.
// Token: 0x17000280 RID: 640
// (get) Token: 0x06001605 RID: 5637
[Token(Token = "0x17000280")]
public abstract Type PropertyType
{
[Token(Token = "0x6001605")]
[Address(Slot = "23")]
get;
}
/// Initializes a new instance of the class.
// Token: 0x06001606 RID: 5638 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001606")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
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: 0x06001607 RID: 5639
[Token(Token = "0x6001607")]
[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: 0x06001608 RID: 5640 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001608")]
[Address(RVA = "0x2954AE0", Offset = "0x29538E0", VA = "0x182954AE0", 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: 0x06001609 RID: 5641
[Token(Token = "0x6001609")]
[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: 0x0600160A RID: 5642
[Token(Token = "0x600160A")]
[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: 0x0600160B RID: 5643 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600160B")]
[Address(RVA = "0x2954CE0", Offset = "0x2953AE0", VA = "0x182954CE0", 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: 0x0600160C RID: 5644
[Token(Token = "0x600160C")]
[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: 0x0600160D RID: 5645 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600160D")]
[Address(RVA = "0x29533F0", Offset = "0x29521F0", VA = "0x1829533F0", 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: 0x0600160E RID: 5646 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600160E")]
[Address(RVA = "0x2954D00", Offset = "0x2953B00", VA = "0x182954D00")]
[DebuggerHidden]
[DebuggerStepThrough]
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: 0x0600160F RID: 5647
[Token(Token = "0x600160F")]
[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: 0x06001610 RID: 5648 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001610")]
[Address(RVA = "0x2954D80", Offset = "0x2953B80", VA = "0x182954D80", Slot = "32")]
[DebuggerHidden]
[DebuggerStepThrough]
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: 0x06001611 RID: 5649 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001611")]
[Address(RVA = "0x2954D40", Offset = "0x2953B40", VA = "0x182954D40")]
[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: 0x06001612 RID: 5650
[Token(Token = "0x6001612")]
[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: 0x06001613 RID: 5651 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001613")]
[Address(RVA = "0x2954B00", Offset = "0x2953900", VA = "0x182954B00", 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: 0x06001614 RID: 5652 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001614")]
[Address(RVA = "0x2954C80", Offset = "0x2953A80", VA = "0x182954C80", Slot = "35")]
public virtual Type[] GetRequiredCustomModifiers()
{
return null;
}
// Token: 0x06001615 RID: 5653 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001615")]
[Address(RVA = "0x2954A50", Offset = "0x2953850", VA = "0x182954A50")]
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: 0x06001616 RID: 5654 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001616")]
[Address(RVA = "0x2954AA0", Offset = "0x29538A0", VA = "0x182954AA0", 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: 0x06001617 RID: 5655 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001617")]
[Address(RVA = "0x2954C40", Offset = "0x2953A40", VA = "0x182954C40", 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: 0x06001618 RID: 5656 RVA: 0x0000FA50 File Offset: 0x0000DC50
[Token(Token = "0x6001618")]
[Address(RVA = "0x1746070", Offset = "0x1744E70", VA = "0x181746070", 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: 0x06001619 RID: 5657 RVA: 0x0000FA68 File Offset: 0x0000DC68
[Token(Token = "0x6001619")]
[Address(RVA = "0x19424F0", Offset = "0x19412F0", VA = "0x1819424F0", 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: 0x0600161A RID: 5658 RVA: 0x0000FA80 File Offset: 0x0000DC80
[Token(Token = "0x600161A")]
[Address(RVA = "0x2954E10", Offset = "0x2953C10", VA = "0x182954E10")]
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: 0x0600161B RID: 5659 RVA: 0x0000FA98 File Offset: 0x0000DC98
[Token(Token = "0x600161B")]
[Address(RVA = "0x2954E60", Offset = "0x2953C60", VA = "0x182954E60")]
public static bool operator !=(PropertyInfo left, PropertyInfo right)
{
return default(bool);
}
// Token: 0x0600161C RID: 5660 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600161C")]
[Address(RVA = "0x2954E00", Offset = "0x2953C00", VA = "0x182954E00")]
private static PropertyInfo internal_from_handle_type(IntPtr event_handle, IntPtr type_handle)
{
return null;
}
// Token: 0x0600161D RID: 5661 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600161D")]
[Address(RVA = "0x2954B60", Offset = "0x2953960", VA = "0x182954B60")]
internal static PropertyInfo GetPropertyFromHandle(RuntimePropertyHandle handle, RuntimeTypeHandle reflectedType)
{
return null;
}
}
}