using System; using System.Diagnostics; using System.Globalization; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Reflection { /// Discovers the attributes of a field and provides access to field metadata. // Token: 0x0200024C RID: 588 [Token(Token = "0x200024C")] [ComVisible(true)] [ComDefaultInterface(typeof(_FieldInfo))] [ClassInterface(ClassInterfaceType.None)] [Serializable] public abstract class FieldInfo : MemberInfo, _FieldInfo { /// Gets the attributes associated with this field. /// The for this field. // Token: 0x17000236 RID: 566 // (get) Token: 0x06001519 RID: 5401 [Token(Token = "0x17000236")] public abstract FieldAttributes Attributes { [Token(Token = "0x6001519")] [Address(Slot = "18")] get; } /// Gets a , which is a handle to the internal metadata representation of a field. /// A handle to the internal metadata representation of a field. // Token: 0x17000237 RID: 567 // (get) Token: 0x0600151A RID: 5402 [Token(Token = "0x17000237")] public abstract RuntimeFieldHandle FieldHandle { [Token(Token = "0x600151A")] [Address(Slot = "19")] get; } /// Initializes a new instance of the class. // Token: 0x0600151B RID: 5403 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600151B")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected FieldInfo() { } /// Gets the type of this field object. /// The type of this field object. // Token: 0x17000238 RID: 568 // (get) Token: 0x0600151C RID: 5404 [Token(Token = "0x17000238")] public abstract Type FieldType { [Token(Token = "0x600151C")] [Address(Slot = "20")] get; } /// When overridden in a derived class, returns the value of a field supported by a given object. /// The object whose field value will be returned. /// An object containing the value of the field reflected by this instance. /// In the .NET for Windows Store apps or the Portable Class Library, catch instead. /// /// /// /// /// The field is non-static and is . /// A field is marked literal, but the field does not have one of the accepted literal types. /// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead. /// /// /// /// /// The caller does not have permission to access this field. /// The method is neither declared nor inherited by the class of . // Token: 0x0600151D RID: 5405 [Token(Token = "0x600151D")] [Address(Slot = "21")] public abstract object GetValue(object obj); /// Gets a value indicating that this member is a field. /// A value indicating that this member is a field. // Token: 0x17000239 RID: 569 // (get) Token: 0x0600151E RID: 5406 RVA: 0x0000F6D8 File Offset: 0x0000D8D8 [Token(Token = "0x17000239")] public override MemberTypes MemberType { [Token(Token = "0x600151E")] [Address(RVA = "0x680C20", Offset = "0x67FC20", VA = "0x180680C20", Slot = "7")] get { return (MemberTypes)0; } } /// Gets a value indicating whether the value is written at compile time and cannot be changed. /// /// if the field has the attribute set; otherwise, . // Token: 0x1700023A RID: 570 // (get) Token: 0x0600151F RID: 5407 RVA: 0x0000F6F0 File Offset: 0x0000D8F0 [Token(Token = "0x1700023A")] public bool IsLiteral { [Token(Token = "0x600151F")] [Address(RVA = "0x30B8E50", Offset = "0x30B7E50", VA = "0x1830B8E50", Slot = "22")] get { return default(bool); } } /// Gets a value indicating whether the field is static. /// /// if this field is static; otherwise, . // Token: 0x1700023B RID: 571 // (get) Token: 0x06001520 RID: 5408 RVA: 0x0000F708 File Offset: 0x0000D908 [Token(Token = "0x1700023B")] public bool IsStatic { [Token(Token = "0x6001520")] [Address(RVA = "0x30B8EE0", Offset = "0x30B7EE0", VA = "0x1830B8EE0", Slot = "23")] get { return default(bool); } } /// Gets a value indicating whether the field can only be set in the body of the constructor. /// /// if the field has the attribute set; otherwise, . // Token: 0x1700023C RID: 572 // (get) Token: 0x06001521 RID: 5409 RVA: 0x0000F720 File Offset: 0x0000D920 [Token(Token = "0x1700023C")] public bool IsInitOnly { [Token(Token = "0x6001521")] [Address(RVA = "0x30B8E30", Offset = "0x30B7E30", VA = "0x1830B8E30", Slot = "24")] get { return default(bool); } } /// Gets a value indicating whether the field is public. /// /// if this field is public; otherwise, . // Token: 0x1700023D RID: 573 // (get) Token: 0x06001522 RID: 5410 RVA: 0x0000F738 File Offset: 0x0000D938 [Token(Token = "0x1700023D")] public bool IsPublic { [Token(Token = "0x6001522")] [Address(RVA = "0x30B8EB0", Offset = "0x30B7EB0", VA = "0x1830B8EB0", Slot = "25")] get { return default(bool); } } /// Gets a value indicating whether the field is private. /// /// if the field is private; otherwise; . // Token: 0x1700023E RID: 574 // (get) Token: 0x06001523 RID: 5411 RVA: 0x0000F750 File Offset: 0x0000D950 [Token(Token = "0x1700023E")] public bool IsPrivate { [Token(Token = "0x6001523")] [Address(RVA = "0x30B8E90", Offset = "0x30B7E90", VA = "0x1830B8E90", Slot = "26")] get { return default(bool); } } /// Gets a value indicating whether this field has the attribute. /// /// if the field has the attribute set; otherwise, . // Token: 0x1700023F RID: 575 // (get) Token: 0x06001524 RID: 5412 RVA: 0x0000F768 File Offset: 0x0000D968 [Token(Token = "0x1700023F")] public bool IsNotSerialized { [Token(Token = "0x6001524")] [Address(RVA = "0x30B8E70", Offset = "0x30B7E70", VA = "0x1830B8E70", Slot = "27")] get { return default(bool); } } /// When overridden in a derived class, sets the value of the field supported by the given object. /// The object whose field value will be set. /// The value to assign to the field. /// A field of that specifies the type of binding that is desired (for example, or ). /// A set of properties that enables the binding, coercion of argument types, and invocation of members through reflection. If is , then is used. /// The software preferences of a particular culture. /// The caller does not have permission to access this field. /// The parameter is and the field is an instance field. /// The field does not exist on the object. /// -or- /// The parameter cannot be converted and stored in the field. // Token: 0x06001525 RID: 5413 [Token(Token = "0x6001525")] [Address(Slot = "28")] public abstract void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture); /// Sets the value of the field supported by the given object. /// The object whose field value will be set. /// The value to assign to the field. /// In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, , instead. /// /// /// /// /// The caller does not have permission to access this field. /// In the .NET for Windows Store apps or the Portable Class Library, catch instead. /// /// /// /// /// The parameter is and the field is an instance field. /// The field does not exist on the object. /// -or- /// The parameter cannot be converted and stored in the field. // Token: 0x06001526 RID: 5414 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001526")] [Address(RVA = "0x30B8E00", Offset = "0x30B7E00", VA = "0x1830B8E00", Slot = "29")] [DebuggerStepThrough] [DebuggerHidden] public void SetValue(object obj, object value) { } // Token: 0x06001527 RID: 5415 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001527")] [Address(RVA = "0x30B8F00", Offset = "0x30B7F00", VA = "0x1830B8F00")] private static FieldInfo internal_from_handle_type(IntPtr field_handle, IntPtr type_handle) { return null; } /// Gets a for the field represented by the specified handle. /// A structure that contains the handle to the internal metadata representation of a field. /// A object representing the field specified by . /// /// is invalid. // Token: 0x06001528 RID: 5416 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001528")] [Address(RVA = "0x30B8900", Offset = "0x30B7900", VA = "0x1830B8900")] public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle) { return null; } /// Gets a for the field represented by the specified handle, for the specified generic type. /// A structure that contains the handle to the internal metadata representation of a field. /// A structure that contains the handle to the generic type that defines the field. /// A object representing the field specified by , in the generic type specified by . /// /// is invalid. /// -or- /// is not compatible with . For example, is the runtime type handle of the generic type definition, and comes from a constructed type. // Token: 0x06001529 RID: 5417 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001529")] [Address(RVA = "0x30B8980", Offset = "0x30B7980", VA = "0x1830B8980")] [ComVisible(false)] public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle, RuntimeTypeHandle declaringType) { return null; } // Token: 0x0600152A RID: 5418 RVA: 0x0000F780 File Offset: 0x0000D980 [Token(Token = "0x600152A")] [Address(RVA = "0x30B8A60", Offset = "0x30B7A60", VA = "0x1830B8A60", Slot = "30")] internal virtual int GetFieldOffset() { return 0; } /// Sets the value of the field supported by the given object. /// A structure that encapsulates a managed pointer to a location and a runtime representation of the type that can be stored at that location. /// The value to assign to the field. /// The caller requires the Common Language Specification (CLS) alternative, but called this method instead. // Token: 0x0600152B RID: 5419 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600152B")] [Address(RVA = "0x30B8D90", Offset = "0x30B7D90", VA = "0x1830B8D90", Slot = "31")] [CLSCompliant(false)] public virtual void SetValueDirect(TypedReference obj, object value) { } // Token: 0x0600152C RID: 5420 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600152C")] [Address(RVA = "0x2D65690", Offset = "0x2D64690", VA = "0x182D65690")] private MarshalAsAttribute get_marshal_info() { return null; } // Token: 0x0600152D RID: 5421 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600152D")] [Address(RVA = "0x30B8AC0", Offset = "0x30B7AC0", VA = "0x1830B8AC0")] internal object[] GetPseudoCustomAttributes() { return null; } /// Returns a literal value associated with the field by a compiler. /// An that contains the literal value associated with the field. 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 field. /// 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. /// The constant value for the field is not set. // Token: 0x0600152E RID: 5422 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x600152E")] [Address(RVA = "0x30B8D30", Offset = "0x30B7D30", VA = "0x1830B8D30", Slot = "32")] 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: 0x0600152F RID: 5423 RVA: 0x0000F798 File Offset: 0x0000D998 [Token(Token = "0x600152F")] [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: 0x06001530 RID: 5424 RVA: 0x0000F7B0 File Offset: 0x0000D9B0 [Token(Token = "0x6001530")] [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: 0x06001531 RID: 5425 RVA: 0x0000F7C8 File Offset: 0x0000D9C8 [Token(Token = "0x6001531")] [Address(RVA = "0x2D66AB0", Offset = "0x2D65AB0", VA = "0x182D66AB0")] public static bool operator ==(FieldInfo left, FieldInfo 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: 0x06001532 RID: 5426 RVA: 0x0000F7E0 File Offset: 0x0000D9E0 [Token(Token = "0x6001532")] [Address(RVA = "0x2D66B00", Offset = "0x2D65B00", VA = "0x182D66B00")] public static bool operator !=(FieldInfo left, FieldInfo right) { return default(bool); } } }