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: 0x02000191 RID: 401
|
|
[Token(Token = "0x2000191")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public struct RuntimeFieldHandle : ISerializable
|
|
{
|
|
// Token: 0x06000FFB RID: 4091 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000FFB")]
|
|
[Address(RVA = "0x461A30", Offset = "0x460830", VA = "0x180461A30")]
|
|
internal RuntimeFieldHandle(IntPtr v)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000FFC RID: 4092 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000FFC")]
|
|
[Address(RVA = "0x298FA00", Offset = "0x298E800", VA = "0x18298FA00")]
|
|
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: 0x17000182 RID: 386
|
|
// (get) Token: 0x06000FFD RID: 4093 RVA: 0x0000CC78 File Offset: 0x0000AE78
|
|
[Token(Token = "0x17000182")]
|
|
public IntPtr Value
|
|
{
|
|
[Token(Token = "0x6000FFD")]
|
|
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
|
|
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: 0x06000FFE RID: 4094 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000FFE")]
|
|
[Address(RVA = "0x298F880", Offset = "0x298E680", VA = "0x18298F880", 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: 0x06000FFF RID: 4095 RVA: 0x0000CC90 File Offset: 0x0000AE90
|
|
[Token(Token = "0x6000FFF")]
|
|
[Address(RVA = "0x298F770", Offset = "0x298E570", VA = "0x18298F770", 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: 0x06001000 RID: 4096 RVA: 0x0000CCA8 File Offset: 0x0000AEA8
|
|
[Token(Token = "0x6001000")]
|
|
[Address(RVA = "0x164A950", Offset = "0x1649750", VA = "0x18164A950", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001001 RID: 4097 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001001")]
|
|
[Address(RVA = "0x2950ED0", Offset = "0x294FCD0", VA = "0x182950ED0")]
|
|
private static void SetValueInternal(FieldInfo fi, object obj, object value)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001002 RID: 4098 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001002")]
|
|
[Address(RVA = "0x2950ED0", Offset = "0x294FCD0", VA = "0x182950ED0")]
|
|
internal static void SetValue(RtFieldInfo field, object obj, object value, RuntimeType fieldType, FieldAttributes fieldAttr, RuntimeType declaringType, ref bool domainInitialized)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001003 RID: 4099 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001003")]
|
|
[Address(RVA = "0x298F9F0", Offset = "0x298E7F0", VA = "0x18298F9F0")]
|
|
internal unsafe static void SetValueDirect(RtFieldInfo field, RuntimeType fieldType, void* pTypedRef, object value, RuntimeType contextType)
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000679 RID: 1657
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4000679")]
|
|
private IntPtr value;
|
|
}
|
|
}
|