This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+373
View File
@@ -0,0 +1,373 @@
using System;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Reflection
{
/// <summary>Discovers the attributes of a field and provides access to field metadata.</summary>
// Token: 0x0200024C RID: 588
[Token(Token = "0x200024C")]
[ComVisible(true)]
[ComDefaultInterface(typeof(_FieldInfo))]
[ClassInterface(ClassInterfaceType.None)]
[Serializable]
public abstract class FieldInfo : MemberInfo, _FieldInfo
{
/// <summary>Gets the attributes associated with this field.</summary>
/// <returns>The <see langword="FieldAttributes" /> for this field.</returns>
// Token: 0x17000236 RID: 566
// (get) Token: 0x06001519 RID: 5401
[Token(Token = "0x17000236")]
public abstract FieldAttributes Attributes
{
[Token(Token = "0x6001519")]
[Address(Slot = "18")]
get;
}
/// <summary>Gets a <see langword="RuntimeFieldHandle" />, which is a handle to the internal metadata representation of a field.</summary>
/// <returns>A handle to the internal metadata representation of a field.</returns>
// Token: 0x17000237 RID: 567
// (get) Token: 0x0600151A RID: 5402
[Token(Token = "0x17000237")]
public abstract RuntimeFieldHandle FieldHandle
{
[Token(Token = "0x600151A")]
[Address(Slot = "19")]
get;
}
/// <summary>Initializes a new instance of the <see langword="FieldInfo" /> class.</summary>
// Token: 0x0600151B RID: 5403 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600151B")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected FieldInfo()
{
}
/// <summary>Gets the type of this field object.</summary>
/// <returns>The type of this field object.</returns>
// Token: 0x17000238 RID: 568
// (get) Token: 0x0600151C RID: 5404
[Token(Token = "0x17000238")]
public abstract Type FieldType
{
[Token(Token = "0x600151C")]
[Address(Slot = "20")]
get;
}
/// <summary>When overridden in a derived class, returns the value of a field supported by a given object.</summary>
/// <param name="obj">The object whose field value will be returned.</param>
/// <returns>An object containing the value of the field reflected by this instance.</returns>
/// <exception cref="T:System.Reflection.TargetException">In the .NET for Windows Store apps or the Portable Class Library, catch <see cref="T:System.Exception" /> instead.
///
///
///
///
/// The field is non-static and <paramref name="obj" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">A field is marked literal, but the field does not have one of the accepted literal types.</exception>
/// <exception cref="T:System.FieldAccessException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.MemberAccessException" />, instead.
///
///
///
///
/// The caller does not have permission to access this field.</exception>
/// <exception cref="T:System.ArgumentException">The method is neither declared nor inherited by the class of <paramref name="obj" />.</exception>
// Token: 0x0600151D RID: 5405
[Token(Token = "0x600151D")]
[Address(Slot = "21")]
public abstract object GetValue(object obj);
/// <summary>Gets a <see cref="T:System.Reflection.MemberTypes" /> value indicating that this member is a field.</summary>
/// <returns>A <see cref="T:System.Reflection.MemberTypes" /> value indicating that this member is a field.</returns>
// 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;
}
}
/// <summary>Gets a value indicating whether the value is written at compile time and cannot be changed.</summary>
/// <returns>
/// <see langword="true" /> if the field has the <see langword="Literal" /> attribute set; otherwise, <see langword="false" />.</returns>
// 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);
}
}
/// <summary>Gets a value indicating whether the field is static.</summary>
/// <returns>
/// <see langword="true" /> if this field is static; otherwise, <see langword="false" />.</returns>
// 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);
}
}
/// <summary>Gets a value indicating whether the field can only be set in the body of the constructor.</summary>
/// <returns>
/// <see langword="true" /> if the field has the <see langword="InitOnly" /> attribute set; otherwise, <see langword="false" />.</returns>
// 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);
}
}
/// <summary>Gets a value indicating whether the field is public.</summary>
/// <returns>
/// <see langword="true" /> if this field is public; otherwise, <see langword="false" />.</returns>
// 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);
}
}
/// <summary>Gets a value indicating whether the field is private.</summary>
/// <returns>
/// <see langword="true" /> if the field is private; otherwise; <see langword="false" />.</returns>
// 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);
}
}
/// <summary>Gets a value indicating whether this field has the <see langword="NotSerialized" /> attribute.</summary>
/// <returns>
/// <see langword="true" /> if the field has the <see langword="NotSerialized" /> attribute set; otherwise, <see langword="false" />.</returns>
// 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);
}
}
/// <summary>When overridden in a derived class, sets the value of the field supported by the given object.</summary>
/// <param name="obj">The object whose field value will be set.</param>
/// <param name="value">The value to assign to the field.</param>
/// <param name="invokeAttr">A field of <see langword="Binder" /> that specifies the type of binding that is desired (for example, <see langword="Binder.CreateInstance" /> or <see langword="Binder.ExactBinding" />).</param>
/// <param name="binder">A set of properties that enables the binding, coercion of argument types, and invocation of members through reflection. If <paramref name="binder" /> is <see langword="null" />, then <see langword="Binder.DefaultBinding" /> is used.</param>
/// <param name="culture">The software preferences of a particular culture.</param>
/// <exception cref="T:System.FieldAccessException">The caller does not have permission to access this field.</exception>
/// <exception cref="T:System.Reflection.TargetException">The <paramref name="obj" /> parameter is <see langword="null" /> and the field is an instance field.</exception>
/// <exception cref="T:System.ArgumentException">The field does not exist on the object.
/// -or-
/// The <paramref name="value" /> parameter cannot be converted and stored in the field.</exception>
// Token: 0x06001525 RID: 5413
[Token(Token = "0x6001525")]
[Address(Slot = "28")]
public abstract void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
/// <summary>Sets the value of the field supported by the given object.</summary>
/// <param name="obj">The object whose field value will be set.</param>
/// <param name="value">The value to assign to the field.</param>
/// <exception cref="T:System.FieldAccessException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.MemberAccessException" />, instead.
///
///
///
///
/// The caller does not have permission to access this field.</exception>
/// <exception cref="T:System.Reflection.TargetException">In the .NET for Windows Store apps or the Portable Class Library, catch <see cref="T:System.Exception" /> instead.
///
///
///
///
/// The <paramref name="obj" /> parameter is <see langword="null" /> and the field is an instance field.</exception>
/// <exception cref="T:System.ArgumentException">The field does not exist on the object.
/// -or-
/// The <paramref name="value" /> parameter cannot be converted and stored in the field.</exception>
// 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;
}
/// <summary>Gets a <see cref="T:System.Reflection.FieldInfo" /> for the field represented by the specified handle.</summary>
/// <param name="handle">A <see cref="T:System.RuntimeFieldHandle" /> structure that contains the handle to the internal metadata representation of a field.</param>
/// <returns>A <see cref="T:System.Reflection.FieldInfo" /> object representing the field specified by <paramref name="handle" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="handle" /> is invalid.</exception>
// 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;
}
/// <summary>Gets a <see cref="T:System.Reflection.FieldInfo" /> for the field represented by the specified handle, for the specified generic type.</summary>
/// <param name="handle">A <see cref="T:System.RuntimeFieldHandle" /> structure that contains the handle to the internal metadata representation of a field.</param>
/// <param name="declaringType">A <see cref="T:System.RuntimeTypeHandle" /> structure that contains the handle to the generic type that defines the field.</param>
/// <returns>A <see cref="T:System.Reflection.FieldInfo" /> object representing the field specified by <paramref name="handle" />, in the generic type specified by <paramref name="declaringType" />.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="handle" /> is invalid.
/// -or-
/// <paramref name="declaringType" /> is not compatible with <paramref name="handle" />. For example, <paramref name="declaringType" /> is the runtime type handle of the generic type definition, and <paramref name="handle" /> comes from a constructed type.</exception>
// 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;
}
/// <summary>Sets the value of the field supported by the given object.</summary>
/// <param name="obj">A <see cref="T:System.TypedReference" /> structure that encapsulates a managed pointer to a location and a runtime representation of the type that can be stored at that location.</param>
/// <param name="value">The value to assign to the field.</param>
/// <exception cref="T:System.NotSupportedException">The caller requires the Common Language Specification (CLS) alternative, but called this method instead.</exception>
// 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;
}
/// <summary>Returns a literal value associated with the field by a compiler.</summary>
/// <returns>An <see cref="T:System.Object" /> 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 <see langword="null" />.</returns>
/// <exception cref="T:System.InvalidOperationException">The Constant table in unmanaged metadata does not contain a constant value for the current field.</exception>
/// <exception cref="T:System.FormatException">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.</exception>
/// <exception cref="T:System.NotSupportedException">The constant value for the field is not set.</exception>
// 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;
}
/// <summary>Returns a value that indicates whether this instance is equal to a specified object.</summary>
/// <param name="obj">An object to compare with this instance, or <see langword="null" />.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="obj" /> equals the type and value of this instance; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Returns the hash code for this instance.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// 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;
}
/// <summary>Indicates whether two <see cref="T:System.Reflection.FieldInfo" /> objects are equal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> is equal to <paramref name="right" />; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Indicates whether two <see cref="T:System.Reflection.FieldInfo" /> objects are not equal.</summary>
/// <param name="left">The first object to compare.</param>
/// <param name="right">The second object to compare.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="left" /> is not equal to <paramref name="right" />; otherwise, <see langword="false" />.</returns>
// 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);
}
}
}