m
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: 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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: 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;
|
||||
}
|
||||
|
||||
/// <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: 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user