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
EncodingHelper.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Text
6{
7 // Token: 0x02000290 RID: 656
8 internal static class EncodingHelper
9 {
10 // Token: 0x1700024B RID: 587
11 // (get) Token: 0x060016B6 RID: 5814 RVA: 0x0002FDEC File Offset: 0x0002DFEC
12 internal static Encoding UTF8Unmarked
13 {
14 get
15 {
16 if (!true)
17 {
18 }
19 if (!true)
20 {
21 if (!true)
22 {
23 }
24 if (!true)
25 {
26 }
27 if (true)
28 {
29 }
30 long num = 0L;
31 if (true)
32 {
33 }
34 if (num != 0L)
35 {
36 throw new OutOfMemoryException();
37 }
38 }
39 if (!true)
40 {
41 }
42 return 1;
43 }
44 }
45
46 // Token: 0x060016B7 RID: 5815 RVA: 0x0000207A File Offset: 0x0000027A
47 internal static string InternalCodePage(int code_page)
48 {
49 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
50 }
51
52 // Token: 0x060016B8 RID: 5816 RVA: 0x0002FE30 File Offset: 0x0002E030
53 internal static Encoding GetDefaultEncoding()
54 {
55 if (!true)
56 {
57 }
58 Encoding encoding;
59 return encoding;
60 }
61
62 // Token: 0x060016B9 RID: 5817 RVA: 0x0002FE7C File Offset: 0x0002E07C
63 internal static object InvokeI18N(string name, params object[] args)
64 {
65 int num = 1;
66 if (num == 0)
67 {
68 }
69 if (num == 0)
70 {
71 }
72 long num2 = 0L;
73 if (num != 0)
74 {
75 }
76 if (num2 == 0L)
77 {
78 Assembly assembly = Assembly.Load("I18N, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756");
79 if ("I18N, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" != null)
80 {
81 }
82 if ("I18N, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" == null)
83 {
84 }
85 }
86 throw new OutOfMemoryException();
87 }
88
89 // Token: 0x060016BA RID: 5818 RVA: 0x0002FEDC File Offset: 0x0002E0DC
90 // Note: this type is marked as 'beforefieldinit'.
92 {
93 }
94
95 // Token: 0x04000B92 RID: 2962
97
98 // Token: 0x04000B93 RID: 2963
99 private static readonly object lockobj;
100
101 // Token: 0x04000B94 RID: 2964
102 private static Assembly i18nAssembly;
103
104 // Token: 0x04000B95 RID: 2965
105 private static bool i18nDisabled;
106 }
107}
class f__AnonymousType0<< Count > j__TPar
static Assembly Load(string assemblyString)
Definition Assembly.cs:267
static object InvokeI18N(string name, params object[] args)
static readonly object lockobj
static Encoding GetDefaultEncoding()
static string InternalCodePage(int code_page)
static Encoding utf8EncodingWithoutMarkers