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
JitHelpers.cs
Go to the documentation of this file.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
System.Runtime.CompilerServices
5
{
6
// Token: 0x0200049E RID: 1182
7
internal
static
class
JitHelpers
8
{
9
// Token: 0x0600228E RID: 8846 RVA: 0x0000207A File Offset: 0x0000027A
10
internal
static
T
UnsafeCast<T>
(
object
o)
where
T
:
class
11
{
12
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
13
}
14
15
// Token: 0x0600228F RID: 8847 RVA: 0x0000207A File Offset: 0x0000027A
16
internal
static
int
UnsafeEnumCast<T>
(T val)
where
T
:
struct
17
{
18
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
19
}
20
21
// Token: 0x06002290 RID: 8848 RVA: 0x0004DB14 File Offset: 0x0004BD14
22
internal
static
long
UnsafeEnumCastLong<T>
(T val)
where
T
:
struct
23
{
24
return
0
L
;
25
}
26
}
27
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
System.Runtime.CompilerServices.JitHelpers.UnsafeCast< T >
static T UnsafeCast< T >(object o)
Definition
JitHelpers.cs:10
System.Runtime.CompilerServices.JitHelpers.UnsafeEnumCastLong< T >
static long UnsafeEnumCastLong< T >(T val)
Definition
JitHelpers.cs:22
System.Runtime.CompilerServices.JitHelpers.UnsafeEnumCast< T >
static int UnsafeEnumCast< T >(T val)
Definition
JitHelpers.cs:16
System.Runtime.CompilerServices.JitHelpers
Definition
JitHelpers.cs:8
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.ConsoleKey.T
@ T
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
source
mscorlib
System
Runtime
CompilerServices
JitHelpers.cs
Generated by
1.10.0