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.
1using System;
4
6{
7 // Token: 0x020000EA RID: 234
9 {
10 // Token: 0x0600050E RID: 1294 RVA: 0x000091B8 File Offset: 0x000073B8
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
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 = 0L;
41 char c = text[(int)num];
42 int num2 = 93;
43 long num3 = 0L;
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 = 0L;
53 string text6 = text4.Substring((int)num8, num7);
54 throw new InvalidCastException();
55 }
56 }
57}
class f__AnonymousType0<< Count > j__TPar
RuntimeTypeHandle _impl
Definition Type.cs:1534
static bool GetObsoleteTypeRedirection(Type sourceType, [Out] string assemblyName, [Out] string nsp, [Out] string className)
static bool GetMovedFromAttributeDataForType(Type sourceType, [Out] string assembly, [Out] string nsp, [Out] string klass)