using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Reflection
{
/// Provides a wrapper class for pointers.
// Token: 0x0200022F RID: 559
[Token(Token = "0x200022F")]
[CLSCompliant(false)]
[ComVisible(true)]
[Serializable]
public sealed class Pointer : ISerializable
{
// Token: 0x0600142A RID: 5162 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600142A")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
private Pointer()
{
}
// Token: 0x0600142B RID: 5163 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600142B")]
[Address(RVA = "0x2954900", Offset = "0x2953700", VA = "0x182954900")]
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: 0x0600142C RID: 5164 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600142C")]
[Address(RVA = "0x2954690", Offset = "0x2953490", VA = "0x182954690")]
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: 0x0600142D RID: 5165 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600142D")]
[Address(RVA = "0x2954870", Offset = "0x2953670", VA = "0x182954870", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x04000ACF RID: 2767
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000ACF")]
private unsafe void* _ptr;
// Token: 0x04000AD0 RID: 2768
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000AD0")]
private RuntimeType _ptrType;
}
}