using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Reflection
{
/// Provides a wrapper class for pointers.
// Token: 0x02000236 RID: 566
[Token(Token = "0x2000236")]
[ComVisible(true)]
[CLSCompliant(false)]
[Serializable]
public sealed class Pointer : ISerializable
{
// Token: 0x06001468 RID: 5224 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001468")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
private Pointer()
{
}
// Token: 0x06001469 RID: 5225 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001469")]
[Address(RVA = "0x30C9AA0", Offset = "0x30C8AA0", VA = "0x1830C9AA0")]
private Pointer(SerializationInfo info, StreamingContext context)
{
}
/// Boxes the supplied unmanaged memory pointer and the type associated with that pointer into a managed wrapper object. The value and the type are saved so they can be accessed from the native code during an invocation.
/// The supplied unmanaged memory pointer.
/// The type associated with the parameter.
/// A pointer object.
///
/// is not a pointer.
///
/// is .
// Token: 0x0600146A RID: 5226 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600146A")]
[Address(RVA = "0x30C9830", Offset = "0x30C8830", VA = "0x1830C9830")]
public unsafe static object Box(void* ptr, Type type)
{
return null;
}
/// Sets the object with the file name, fusion log, and additional exception information.
/// The that holds the serialized object data about the exception being thrown.
/// The that contains contextual information about the source or destination.
// Token: 0x0600146B RID: 5227 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600146B")]
[Address(RVA = "0x30C9A10", Offset = "0x30C8A10", VA = "0x1830C9A10", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x04000AD9 RID: 2777
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000AD9")]
private unsafe void* _ptr;
// Token: 0x04000ADA RID: 2778
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000ADA")]
private RuntimeType _ptrType;
}
}