terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
MemoryHandle.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
Cpp2IlInjected
;
4
5
namespace
System.Buffers
6
{
7
// Token: 0x02000664 RID: 1636
8
public
struct
MemoryHandle
:
IDisposable
9
{
10
// Token: 0x060031C9 RID: 12745 RVA: 0x0006BB0C File Offset: 0x00069D0C
11
[
CLSCompliant
(
false
)]
12
public
unsafe
MemoryHandle
(
void
*
pointer
, [Optional]
GCHandle
handle, [Optional]
IPinnable
pinnable
)
13
{
14
this._pointer
=
pointer
;
15
this._handle
= handle;
16
this._pinnable
=
pinnable
;
17
}
18
19
// Token: 0x170007FB RID: 2043
20
// (get) Token: 0x060031CA RID: 12746 RVA: 0x0000207A File Offset: 0x0000027A
21
[
CLSCompliant
(
false
)]
22
public
unsafe
void
*
Pointer
23
{
24
get
25
{
26
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
27
}
28
}
29
30
// Token: 0x060031CB RID: 12747 RVA: 0x0006BB30 File Offset: 0x00069D30
31
public
void
Dispose
()
32
{
33
if
(this.
_pinnable
!=
null
)
34
{
35
return
;
36
}
37
}
38
39
// Token: 0x04001AAF RID: 6831
40
private
unsafe
void
*
_pointer
;
41
42
// Token: 0x04001AB0 RID: 6832
43
private
GCHandle
_handle
;
44
45
// Token: 0x04001AB1 RID: 6833
46
private
IPinnable
_pinnable
;
47
}
48
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Buffers.IPinnable
Definition
IPinnable.cs:7
System.IDisposable
Definition
IDisposable.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Buffers
Definition
ArrayPool.cs:6
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.pointer
@ pointer
System
Definition
__ComObject.cs:4
System.Buffers.MemoryHandle.Dispose
void Dispose()
Definition
MemoryHandle.cs:31
System.Buffers.MemoryHandle._pointer
unsafe void * _pointer
Definition
MemoryHandle.cs:40
System.Buffers.MemoryHandle._handle
GCHandle _handle
Definition
MemoryHandle.cs:43
System.Buffers.MemoryHandle.MemoryHandle
unsafe MemoryHandle(void *pointer, [Optional] GCHandle handle, [Optional] IPinnable pinnable)
Definition
MemoryHandle.cs:12
System.Buffers.MemoryHandle._pinnable
IPinnable _pinnable
Definition
MemoryHandle.cs:46
System.Buffers.MemoryHandle.Pointer
unsafe void * Pointer
Definition
MemoryHandle.cs:23
System.Buffers.MemoryHandle
Definition
MemoryHandle.cs:9
System.Runtime.InteropServices.GCHandle
Definition
GCHandle.cs:9
source
mscorlib
System
Buffers
MemoryHandle.cs
Generated by
1.10.0