oh dear
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Provides a controlled memory buffer that can be used for reading and writing. Attempts to access memory outside the controlled buffer (underruns and overruns) raise exceptions.</summary>
|
||||
// Token: 0x0200058A RID: 1418
|
||||
[Token(Token = "0x200058A")]
|
||||
public abstract class SafeBuffer : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Obtains a pointer from a <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> object for a block of memory.</summary>
|
||||
/// <param name="pointer">A byte pointer, passed by reference, to receive the pointer from within the <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> object. You must set this pointer to <see langword="null" /> before you call this method.</param>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> method has not been called.</exception>
|
||||
// Token: 0x06002B37 RID: 11063 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002B37")]
|
||||
[Address(RVA = "0x2382180", Offset = "0x2380F80", VA = "0x182382180")]
|
||||
[CLSCompliant(false)]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public unsafe void AcquirePointer(ref byte* pointer)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases a pointer that was obtained by the <see cref="M:System.Runtime.InteropServices.SafeBuffer.AcquirePointer(System.Byte*@)" /> method.</summary>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> method has not been called.</exception>
|
||||
// Token: 0x06002B38 RID: 11064 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002B38")]
|
||||
[Address(RVA = "0x2382210", Offset = "0x2381010", VA = "0x182382210")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void ReleasePointer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400194D RID: 6477
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400194D")]
|
||||
private bool inited;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user