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
Pointer.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.Serialization
;
3
using
Cpp2IlInjected
;
4
5
namespace
System.Reflection
6
{
7
// Token: 0x020004E5 RID: 1253
8
[
CLSCompliant
(
false
)]
9
public
sealed
class
Pointer
:
ISerializable
10
{
11
// Token: 0x06002416 RID: 9238 RVA: 0x00050D90 File Offset: 0x0004EF90
12
private
unsafe
Pointer
(
void
*
ptr
,
Type
ptrType
)
13
{
14
this._ptr
=
ptr
;
15
this._ptrType
=
ptrType
;
16
}
17
18
// Token: 0x06002417 RID: 9239 RVA: 0x00050DB4 File Offset: 0x0004EFB4
19
public
unsafe
static
object
Box
(
void
*
ptr
,
Type
type)
20
{
21
if
(!
true
)
22
{
23
}
24
return
"Type must be a Pointer."
;
25
}
26
27
// Token: 0x06002418 RID: 9240 RVA: 0x0000207A File Offset: 0x0000027A
28
void
ISerializable
.
GetObjectData
(
SerializationInfo
info
,
StreamingContext
context)
29
{
30
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
31
}
32
33
// Token: 0x04001400 RID: 5120
34
private
unsafe
readonly
void
*
_ptr
;
35
36
// Token: 0x04001401 RID: 5121
37
private
readonly
Type
_ptrType
;
38
}
39
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Reflection.Pointer._ptrType
readonly Type _ptrType
Definition
Pointer.cs:37
System.Reflection.Pointer.Box
static unsafe object Box(void *ptr, Type type)
Definition
Pointer.cs:19
System.Reflection.Pointer._ptr
unsafe readonly void * _ptr
Definition
Pointer.cs:34
System.Reflection.Pointer.Pointer
unsafe Pointer(void *ptr, Type ptrType)
Definition
Pointer.cs:12
System.Reflection.Pointer
Definition
Pointer.cs:10
System.Runtime.Serialization.SerializationInfo
Definition
SerializationInfo.cs:10
System.Type
Definition
Type.cs:12
System.Runtime.Serialization.ISerializable.GetObjectData
void GetObjectData(SerializationInfo info, StreamingContext context)
System.Runtime.Serialization.ISerializable
Definition
ISerializable.cs:7
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Reflection
Definition
AmbiguousMatchException.cs:5
System.Runtime.Serialization
Definition
DeserializationEventHandler.cs:4
System.ExceptionArgument.info
@ info
System
Definition
__ComObject.cs:4
System.Runtime.Serialization.StreamingContext
Definition
StreamingContext.cs:10
source
mscorlib
System
Reflection
Pointer.cs
Generated by
1.10.0