109 lines
4.6 KiB
C#
109 lines
4.6 KiB
C#
using System;
|
|
using System.Reflection;
|
|
using System.Runtime.ConstrainedExecution;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Represents a field using an internal metadata token.</summary>
|
|
// Token: 0x02000198 RID: 408
|
|
[Token(Token = "0x2000198")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public struct RuntimeFieldHandle : ISerializable
|
|
{
|
|
// Token: 0x06001031 RID: 4145 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001031")]
|
|
[Address(RVA = "0x593200", Offset = "0x592200", VA = "0x180593200")]
|
|
internal RuntimeFieldHandle(IntPtr v)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001032 RID: 4146 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001032")]
|
|
[Address(RVA = "0x266CEF0", Offset = "0x266BEF0", VA = "0x18266CEF0")]
|
|
private RuntimeFieldHandle(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets a handle to the field represented by the current instance.</summary>
|
|
/// <returns>An <see cref="T:System.IntPtr" /> that contains the handle to the field represented by the current instance.</returns>
|
|
// Token: 0x17000189 RID: 393
|
|
// (get) Token: 0x06001033 RID: 4147 RVA: 0x0000CF90 File Offset: 0x0000B190
|
|
[Token(Token = "0x17000189")]
|
|
public IntPtr Value
|
|
{
|
|
[Token(Token = "0x6001033")]
|
|
[Address(RVA = "0x63E630", Offset = "0x63D630", VA = "0x18063E630")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the data necessary to deserialize the field represented by the current instance.</summary>
|
|
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object to populate with serialization information.</param>
|
|
/// <param name="context">(Reserved) The place to store and retrieve serialized data.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The <see cref="P:System.RuntimeFieldHandle.Value" /> property of the current instance is not a valid handle.</exception>
|
|
// Token: 0x06001034 RID: 4148 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001034")]
|
|
[Address(RVA = "0x266CD60", Offset = "0x266BD60", VA = "0x18266CD60", Slot = "4")]
|
|
public void GetObjectData(SerializationInfo info, StreamingContext context)
|
|
{
|
|
}
|
|
|
|
/// <summary>Indicates whether the current instance is equal to the specified object.</summary>
|
|
/// <param name="obj">The object to compare to the current instance.</param>
|
|
/// <returns>
|
|
/// <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.RuntimeFieldHandle" /> and equal to the value of the current instance; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06001035 RID: 4149 RVA: 0x0000CFA8 File Offset: 0x0000B1A8
|
|
[Token(Token = "0x6001035")]
|
|
[Address(RVA = "0x266CC50", Offset = "0x266BC50", VA = "0x18266CC50", Slot = "0")]
|
|
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
|
public override bool Equals(object obj)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Returns the hash code for this instance.</summary>
|
|
/// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
|
|
// Token: 0x06001036 RID: 4150 RVA: 0x0000CFC0 File Offset: 0x0000B1C0
|
|
[Token(Token = "0x6001036")]
|
|
[Address(RVA = "0x592FE0", Offset = "0x591FE0", VA = "0x180592FE0", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001037 RID: 4151 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001037")]
|
|
[Address(RVA = "0x266CEE0", Offset = "0x266BEE0", VA = "0x18266CEE0")]
|
|
private static void SetValueInternal(FieldInfo fi, object obj, object value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001038 RID: 4152 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001038")]
|
|
[Address(RVA = "0x266CEE0", Offset = "0x266BEE0", VA = "0x18266CEE0")]
|
|
internal static void SetValue(RtFieldInfo field, object obj, object value, RuntimeType fieldType, FieldAttributes fieldAttr, RuntimeType declaringType, ref bool domainInitialized)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001039 RID: 4153 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001039")]
|
|
[Address(RVA = "0x266CED0", Offset = "0x266BED0", VA = "0x18266CED0")]
|
|
internal unsafe static void SetValueDirect(RtFieldInfo field, RuntimeType fieldType, void* pTypedRef, object value, RuntimeType contextType)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000683 RID: 1667
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000683")]
|
|
private IntPtr value;
|
|
}
|
|
}
|