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
RuntimeClassHandle.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
Mono
5
{
6
// Token: 0x02000013 RID: 19
7
internal
struct
RuntimeClassHandle
8
{
9
// Token: 0x06000041 RID: 65 RVA: 0x000023B0 File Offset: 0x000005B0
10
internal
unsafe
RuntimeClassHandle
(
RuntimeStructs
.
MonoClass
*
value
)
11
{
12
this.value
=
value
;
13
}
14
15
// Token: 0x06000042 RID: 66 RVA: 0x000023C4 File Offset: 0x000005C4
16
internal
unsafe
RuntimeClassHandle
(
IntPtr
ptr
)
17
{
18
void
*
ptr2
= (
void
*)
ptr
;
19
this.value
= (
RuntimeStructs
.
MonoClass
*)
ptr2
;
20
}
21
22
// Token: 0x17000005 RID: 5
23
// (get) Token: 0x06000043 RID: 67 RVA: 0x0000207A File Offset: 0x0000027A
24
internal
unsafe
RuntimeStructs
.
MonoClass
*
Value
25
{
26
get
27
{
28
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
29
}
30
}
31
32
// Token: 0x06000044 RID: 68 RVA: 0x000023E0 File Offset: 0x000005E0
33
public
override
bool
Equals
(
object
obj
)
34
{
35
if
(
obj
!=
null
)
36
{
37
Type
type =
obj
.
GetType
();
38
Type
type2
;
39
bool
flag =
type2
!= type;
40
}
41
throw
new
InvalidCastException
();
42
}
43
44
// Token: 0x06000045 RID: 69 RVA: 0x00002408 File Offset: 0x00000608
45
public
override
int
GetHashCode
()
46
{
47
IntPtr
intPtr
;
48
return
intPtr
.
GetHashCode
();
49
}
50
51
// Token: 0x06000046 RID: 70 RVA: 0x0000207A File Offset: 0x0000027A
52
internal
unsafe
static
IntPtr
GetTypeFromClass
(
RuntimeStructs
.
MonoClass
* klass)
53
{
54
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
55
}
56
57
// Token: 0x06000047 RID: 71 RVA: 0x0000207A File Offset: 0x0000027A
58
internal
RuntimeTypeHandle
GetTypeHandle
()
59
{
60
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
61
}
62
63
// Token: 0x0400008B RID: 139
64
private
unsafe
RuntimeStructs
.
MonoClass
*
value
;
65
}
66
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Mono.RuntimeStructs
Definition
RuntimeStructs.cs:7
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Type.GetType
new Type GetType()
Definition
Type.cs:287
System.Type
Definition
Type.cs:12
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Mono
Definition
BigInteger.cs:6
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
Mono.RuntimeClassHandle.RuntimeClassHandle
unsafe RuntimeClassHandle(IntPtr ptr)
Definition
RuntimeClassHandle.cs:16
Mono.RuntimeClassHandle.RuntimeClassHandle
unsafe RuntimeClassHandle(RuntimeStructs.MonoClass *value)
Definition
RuntimeClassHandle.cs:10
Mono.RuntimeClassHandle.GetHashCode
override int GetHashCode()
Definition
RuntimeClassHandle.cs:45
Mono.RuntimeClassHandle.GetTypeHandle
RuntimeTypeHandle GetTypeHandle()
Definition
RuntimeClassHandle.cs:58
Mono.RuntimeClassHandle.Value
unsafe RuntimeStructs.MonoClass * Value
Definition
RuntimeClassHandle.cs:25
Mono.RuntimeClassHandle.Equals
override bool Equals(object obj)
Definition
RuntimeClassHandle.cs:33
Mono.RuntimeClassHandle.GetTypeFromClass
static unsafe IntPtr GetTypeFromClass(RuntimeStructs.MonoClass *klass)
Definition
RuntimeClassHandle.cs:52
Mono.RuntimeClassHandle.value
unsafe RuntimeStructs.MonoClass * value
Definition
RuntimeClassHandle.cs:64
Mono.RuntimeClassHandle
Definition
RuntimeClassHandle.cs:8
Mono.RuntimeStructs.MonoClass
Definition
RuntimeStructs.cs:29
System.IntPtr.GetHashCode
override int GetHashCode()
Definition
IntPtr.cs:71
System.IntPtr
Definition
IntPtr.cs:13
System.RuntimeTypeHandle
Definition
RuntimeTypeHandle.cs:15
source
mscorlib
Mono
RuntimeClassHandle.cs
Generated by
1.10.0