a
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Reflection
|
||||
{
|
||||
/// <summary>Provides a wrapper class for pointers.</summary>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Boxes the supplied unmanaged memory pointer and the type associated with that pointer into a managed <see cref="T:System.Reflection.Pointer" /> wrapper object. The value and the type are saved so they can be accessed from the native code during an invocation.</summary>
|
||||
/// <param name="ptr">The supplied unmanaged memory pointer.</param>
|
||||
/// <param name="type">The type associated with the <paramref name="ptr" /> parameter.</param>
|
||||
/// <returns>A pointer object.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="type" /> is not a pointer.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="type" /> is <see langword="null" />.</exception>
|
||||
// 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;
|
||||
}
|
||||
|
||||
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the file name, fusion log, and additional exception information.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user