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
APIUpdaterRuntimeHelpers.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
UnityEngine.Scripting
;
4
5
namespace
UnityEngine._Scripting.APIUpdating
6
{
7
// Token: 0x020000EA RID: 234
8
internal
class
APIUpdaterRuntimeHelpers
9
{
10
// Token: 0x0600050E RID: 1294 RVA: 0x000091B8 File Offset: 0x000073B8
11
[
RequiredByNativeCode
]
12
internal
static
bool
GetMovedFromAttributeDataForType
(
Type
sourceType, [Out]
string
assembly, [Out]
string
nsp
, [Out]
string
klass)
13
{
14
if
(!
true
)
15
{
16
}
17
Type
type;
18
if
(type !=
null
)
19
{
20
}
21
RuntimeTypeHandle
impl = type.
_impl
;
22
throw
new
InvalidCastException
();
23
}
24
25
// Token: 0x0600050F RID: 1295 RVA: 0x000091DC File Offset: 0x000073DC
26
[
RequiredByNativeCode
]
27
internal
static
bool
GetObsoleteTypeRedirection
(
Type
sourceType, [Out]
string
assemblyName, [Out]
string
nsp
, [Out]
string
className)
28
{
29
if
(!
true
)
30
{
31
}
32
if
(
false
)
33
{
34
}
35
string
text2;
36
string
text
= text2.Trim();
37
string
text4
;
38
if
(
text
._stringLength != 0)
39
{
40
long
num = 0
L
;
41
char
c =
text
[(int)num];
42
int
num2
= 93;
43
long
num3
= 0
L
;
44
int
num4
=
text
.IndexOf((
char
)
num2
);
45
int
num5
= 1;
46
string
text3
=
text
.Substring(
num5
, (
int
)
num3
);
47
text4
=
text
.Substring(
num5
).Trim();
48
}
49
int
num6
= 46;
50
int
num7
=
text4
.LastIndexOf((
char
)
num6
);
51
string
text5
=
text4
.Substring(
num6
);
52
long
num8
= 0
L
;
53
string
text6
=
text4
.Substring((
int
)
num8
,
num7
);
54
throw
new
InvalidCastException
();
55
}
56
}
57
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.InvalidCastException
Definition
InvalidCastException.cs:9
System.Type._impl
RuntimeTypeHandle _impl
Definition
Type.cs:1534
System.Type
Definition
Type.cs:12
UnityEngine._Scripting.APIUpdating.APIUpdaterRuntimeHelpers.GetObsoleteTypeRedirection
static bool GetObsoleteTypeRedirection(Type sourceType, [Out] string assemblyName, [Out] string nsp, [Out] string className)
Definition
APIUpdaterRuntimeHelpers.cs:27
UnityEngine._Scripting.APIUpdating.APIUpdaterRuntimeHelpers.GetMovedFromAttributeDataForType
static bool GetMovedFromAttributeDataForType(Type sourceType, [Out] string assembly, [Out] string nsp, [Out] string klass)
Definition
APIUpdaterRuntimeHelpers.cs:12
UnityEngine._Scripting.APIUpdating.APIUpdaterRuntimeHelpers
Definition
APIUpdaterRuntimeHelpers.cs:9
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ExceptionArgument.text
@ text
System
Definition
__ComObject.cs:4
UnityEngine.Scripting
Definition
MovedFromAttribute.cs:4
UnityEngine._Scripting.APIUpdating
Definition
APIUpdaterRuntimeHelpers.cs:6
UnityEngine.KeyCode.L
@ L
System.RuntimeTypeHandle
Definition
RuntimeTypeHandle.cs:15
source
UnityEngine.CoreModule
UnityEngine
_Scripting
APIUpdating
APIUpdaterRuntimeHelpers.cs
Generated by
1.10.0