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: 0x02000245 RID: 581
[Token(Token = "0x2000245")]
[ComDefaultInterface(typeof(_FieldInfo))]
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
[Serializable]
public abstract class FieldInfo : MemberInfo, _FieldInfo
{
/// Gets the attributes associated with this field.
/// The for this field.
// Token: 0x1700022B RID: 555
// (get) Token: 0x060014DA RID: 5338
[Token(Token = "0x1700022B")]
public abstract FieldAttributes Attributes
{
[Token(Token = "0x60014DA")]
[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: 0x1700022C RID: 556
// (get) Token: 0x060014DB RID: 5339
[Token(Token = "0x1700022C")]
public abstract RuntimeFieldHandle FieldHandle
{
[Token(Token = "0x60014DB")]
[Address(Slot = "19")]
get;
}
/// Initializes a new instance of the class.
// Token: 0x060014DC RID: 5340 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014DC")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
protected FieldInfo()
{
}
/// Gets the type of this field object.
/// The type of this field object.
// Token: 0x1700022D RID: 557
// (get) Token: 0x060014DD RID: 5341
[Token(Token = "0x1700022D")]
public abstract Type FieldType
{
[Token(Token = "0x60014DD")]
[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: 0x060014DE RID: 5342
[Token(Token = "0x60014DE")]
[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: 0x1700022E RID: 558
// (get) Token: 0x060014DF RID: 5343 RVA: 0x0000F378 File Offset: 0x0000D578
[Token(Token = "0x1700022E")]
public override MemberTypes MemberType
{
[Token(Token = "0x60014DF")]
[Address(RVA = "0x4101C0", Offset = "0x40EFC0", VA = "0x1804101C0", 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: 0x1700022F RID: 559
// (get) Token: 0x060014E0 RID: 5344 RVA: 0x0000F390 File Offset: 0x0000D590
[Token(Token = "0x1700022F")]
public bool IsLiteral
{
[Token(Token = "0x60014E0")]
[Address(RVA = "0x2A07650", Offset = "0x2A06450", VA = "0x182A07650", Slot = "22")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the field is static.
///
/// if this field is static; otherwise, .
// Token: 0x17000230 RID: 560
// (get) Token: 0x060014E1 RID: 5345 RVA: 0x0000F3A8 File Offset: 0x0000D5A8
[Token(Token = "0x17000230")]
public bool IsStatic
{
[Token(Token = "0x60014E1")]
[Address(RVA = "0x2A076E0", Offset = "0x2A064E0", VA = "0x182A076E0", 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: 0x17000231 RID: 561
// (get) Token: 0x060014E2 RID: 5346 RVA: 0x0000F3C0 File Offset: 0x0000D5C0
[Token(Token = "0x17000231")]
public bool IsInitOnly
{
[Token(Token = "0x60014E2")]
[Address(RVA = "0x2A07630", Offset = "0x2A06430", VA = "0x182A07630", Slot = "24")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the field is public.
///
/// if this field is public; otherwise, .
// Token: 0x17000232 RID: 562
// (get) Token: 0x060014E3 RID: 5347 RVA: 0x0000F3D8 File Offset: 0x0000D5D8
[Token(Token = "0x17000232")]
public bool IsPublic
{
[Token(Token = "0x60014E3")]
[Address(RVA = "0x2A076B0", Offset = "0x2A064B0", VA = "0x182A076B0", Slot = "25")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the field is private.
///
/// if the field is private; otherwise; .
// Token: 0x17000233 RID: 563
// (get) Token: 0x060014E4 RID: 5348 RVA: 0x0000F3F0 File Offset: 0x0000D5F0
[Token(Token = "0x17000233")]
public bool IsPrivate
{
[Token(Token = "0x60014E4")]
[Address(RVA = "0x2A07690", Offset = "0x2A06490", VA = "0x182A07690", 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: 0x17000234 RID: 564
// (get) Token: 0x060014E5 RID: 5349 RVA: 0x0000F408 File Offset: 0x0000D608
[Token(Token = "0x17000234")]
public bool IsNotSerialized
{
[Token(Token = "0x60014E5")]
[Address(RVA = "0x2A07670", Offset = "0x2A06470", VA = "0x182A07670", 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: 0x060014E6 RID: 5350
[Token(Token = "0x60014E6")]
[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: 0x060014E7 RID: 5351 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014E7")]
[Address(RVA = "0x2A07600", Offset = "0x2A06400", VA = "0x182A07600", Slot = "29")]
[DebuggerStepThrough]
[DebuggerHidden]
public void SetValue(object obj, object value)
{
}
// Token: 0x060014E8 RID: 5352 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014E8")]
[Address(RVA = "0x2A07700", Offset = "0x2A06500", VA = "0x182A07700")]
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: 0x060014E9 RID: 5353 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014E9")]
[Address(RVA = "0x2A07100", Offset = "0x2A05F00", VA = "0x182A07100")]
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: 0x060014EA RID: 5354 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014EA")]
[Address(RVA = "0x2A07180", Offset = "0x2A05F80", VA = "0x182A07180")]
[ComVisible(false)]
public static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle, RuntimeTypeHandle declaringType)
{
return null;
}
// Token: 0x060014EB RID: 5355 RVA: 0x0000F420 File Offset: 0x0000D620
[Token(Token = "0x60014EB")]
[Address(RVA = "0x2A07260", Offset = "0x2A06060", VA = "0x182A07260", 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: 0x060014EC RID: 5356 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60014EC")]
[Address(RVA = "0x2A07590", Offset = "0x2A06390", VA = "0x182A07590", Slot = "31")]
[CLSCompliant(false)]
public virtual void SetValueDirect(TypedReference obj, object value)
{
}
// Token: 0x060014ED RID: 5357 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014ED")]
[Address(RVA = "0x2A01F40", Offset = "0x2A00D40", VA = "0x182A01F40")]
private MarshalAsAttribute get_marshal_info()
{
return null;
}
// Token: 0x060014EE RID: 5358 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014EE")]
[Address(RVA = "0x2A072C0", Offset = "0x2A060C0", VA = "0x182A072C0")]
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: 0x060014EF RID: 5359 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60014EF")]
[Address(RVA = "0x2A07530", Offset = "0x2A06330", VA = "0x182A07530", 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: 0x060014F0 RID: 5360 RVA: 0x0000F438 File Offset: 0x0000D638
[Token(Token = "0x60014F0")]
[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: 0x060014F1 RID: 5361 RVA: 0x0000F450 File Offset: 0x0000D650
[Token(Token = "0x60014F1")]
[Address(RVA = "0x2A02170", Offset = "0x2A00F70", VA = "0x182A02170", 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: 0x060014F2 RID: 5362 RVA: 0x0000F468 File Offset: 0x0000D668
[Token(Token = "0x60014F2")]
[Address(RVA = "0x2954E10", Offset = "0x2953C10", VA = "0x182954E10")]
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: 0x060014F3 RID: 5363 RVA: 0x0000F480 File Offset: 0x0000D680
[Token(Token = "0x60014F3")]
[Address(RVA = "0x2954E60", Offset = "0x2953C60", VA = "0x182954E60")]
public static bool operator !=(FieldInfo left, FieldInfo right)
{
return default(bool);
}
}
}