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
CharUnicodeInfo.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000581 RID: 1409
7 public static class CharUnicodeInfo
8 {
9 // Token: 0x06002A50 RID: 10832 RVA: 0x0000207A File Offset: 0x0000027A
10 internal static int InternalConvertToUtf32(string s, int index)
11 {
12 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
13 }
14
15 // Token: 0x06002A51 RID: 10833 RVA: 0x0005BF24 File Offset: 0x0005A124
16 internal static double InternalGetNumericValue(int ch)
17 {
18 /*
19An exception occurred when decompiling this method (06002A51)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double System.Globalization.CharUnicodeInfo::InternalGetNumericValue(System.Int32)
22
23 ---> System.Exception: Basic block has to end with unconditional control flow.
24{
25 Block_0:
26 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_0_05, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel1Index))
27 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_1_0B, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel1Index))
28 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_2_11, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel2Index))
29 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_3_17, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel3Index))
30 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_4_1D, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericValues))
31 stloc:uint8(var_6_26, ldfld:uint8(uint8::m_value, ldloc:uint8[exp:uint8&](var_5)))
32}
33
34 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
35 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
36 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
37 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
38 --- End of inner exception stack trace ---
39 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
40 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
41*/;
42 }
43
44 // Token: 0x06002A52 RID: 10834 RVA: 0x0000207A File Offset: 0x0000027A
45 public static double GetNumericValue(char ch)
46 {
47 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
48 }
49
50 // Token: 0x06002A53 RID: 10835 RVA: 0x0000207A File Offset: 0x0000027A
52 {
53 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
54 }
55
56 // Token: 0x06002A54 RID: 10836 RVA: 0x0005BF58 File Offset: 0x0005A158
57 public static UnicodeCategory GetUnicodeCategory(string s, int index)
58 {
59 /*
60An exception occurred when decompiling this method (06002A54)
61
62ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.UnicodeCategory System.Globalization.CharUnicodeInfo::GetUnicodeCategory(System.String,System.Int32)
63
64 ---> System.Exception: Basic block has to end with unconditional control flow.
65{
66 Block_0:
67 stloc:int64(var_1_01, ldc.i4:int64(0))
68 stloc:uint8(var_2_09, call:uint8(CharUnicodeInfo::InternalGetCategoryValue, ldloc:int32(var_0), ldloc:int64[exp:int32](var_1_01)))
69}
70
71 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
72 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
73 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
74 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
75 --- End of inner exception stack trace ---
76 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
77 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
78*/;
79 }
80
81 // Token: 0x06002A55 RID: 10837 RVA: 0x0000207A File Offset: 0x0000027A
83 {
84 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
85 }
86
87 // Token: 0x06002A56 RID: 10838 RVA: 0x0005BF70 File Offset: 0x0005A170
88 internal static byte InternalGetCategoryValue(int ch, int offset)
89 {
90 /*
91An exception occurred when decompiling this method (06002A56)
92
93ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Globalization.CharUnicodeInfo::InternalGetCategoryValue(System.Int32,System.Int32)
94
95 ---> System.Exception: Basic block has to end with unconditional control flow.
96{
97 Block_0:
98 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_0_05, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_CategoryLevel1Index))
99 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_1_0B, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_CategoryLevel2Index))
100 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_3_11, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_CategoryLevel3Index))
101 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_4_17, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_CategoriesValue))
102}
103
104 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
105 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
106 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
107 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
108 --- End of inner exception stack trace ---
109 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
110 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
111*/;
112 }
113
114 // Token: 0x06002A57 RID: 10839 RVA: 0x0005BF98 File Offset: 0x0005A198
116 {
117 /*
118An exception occurred when decompiling this method (06002A57)
119
120ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.UnicodeCategory System.Globalization.CharUnicodeInfo::InternalGetUnicodeCategory(System.String,System.Int32)
121
122 ---> System.Exception: Basic block has to end with unconditional control flow.
123{
124 Block_0:
125 stloc:int64(var_1_01, ldc.i4:int64(0))
126 stloc:uint8(var_2_09, call:uint8(CharUnicodeInfo::InternalGetCategoryValue, ldloc:int32(var_0), ldloc:int64[exp:int32](var_1_01)))
127}
128
129 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
130 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
131 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
132 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
133 --- End of inner exception stack trace ---
134 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
135 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
136*/;
137 }
138
139 // Token: 0x06002A58 RID: 10840 RVA: 0x0000207A File Offset: 0x0000027A
140 internal static bool IsWhiteSpace(string s, int index)
141 {
142 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
143 }
144
145 // Token: 0x06002A59 RID: 10841 RVA: 0x0000207A File Offset: 0x0000027A
146 internal static bool IsWhiteSpace(char c)
147 {
148 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
149 }
150
151 // Token: 0x17000611 RID: 1553
152 // (get) Token: 0x06002A5A RID: 10842 RVA: 0x0000207A File Offset: 0x0000027A
154 {
155 get
156 {
157 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
158 }
159 }
160
161 // Token: 0x17000612 RID: 1554
162 // (get) Token: 0x06002A5B RID: 10843 RVA: 0x0000207A File Offset: 0x0000027A
164 {
165 get
166 {
167 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
168 }
169 }
170
171 // Token: 0x17000613 RID: 1555
172 // (get) Token: 0x06002A5C RID: 10844 RVA: 0x0000207A File Offset: 0x0000027A
174 {
175 get
176 {
177 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
178 }
179 }
180
181 // Token: 0x17000614 RID: 1556
182 // (get) Token: 0x06002A5D RID: 10845 RVA: 0x0000207A File Offset: 0x0000027A
184 {
185 get
186 {
187 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
188 }
189 }
190
191 // Token: 0x17000615 RID: 1557
192 // (get) Token: 0x06002A5E RID: 10846 RVA: 0x0000207A File Offset: 0x0000027A
194 {
195 get
196 {
197 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
198 }
199 }
200
201 // Token: 0x17000616 RID: 1558
202 // (get) Token: 0x06002A5F RID: 10847 RVA: 0x0000207A File Offset: 0x0000027A
204 {
205 get
206 {
207 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
208 }
209 }
210
211 // Token: 0x17000617 RID: 1559
212 // (get) Token: 0x06002A60 RID: 10848 RVA: 0x0000207A File Offset: 0x0000027A
214 {
215 get
216 {
217 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
218 }
219 }
220
221 // Token: 0x17000618 RID: 1560
222 // (get) Token: 0x06002A61 RID: 10849 RVA: 0x0000207A File Offset: 0x0000027A
224 {
225 get
226 {
227 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
228 }
229 }
230 }
231}
class f__AnonymousType0<< Count > j__TPar
static UnicodeCategory GetUnicodeCategory(char ch)
static double GetNumericValue(char ch)
static double InternalGetNumericValue(int ch)
static ReadOnlySpan< byte > NumericLevel1Index
static UnicodeCategory GetUnicodeCategory(int codePoint)
static ReadOnlySpan< byte > CategoryLevel1Index
static byte InternalGetCategoryValue(int ch, int offset)
static ReadOnlySpan< byte > NumericLevel2Index
static ReadOnlySpan< byte > CategoryLevel3Index
static ReadOnlySpan< byte > CategoryLevel2Index
static bool IsWhiteSpace(string s, int index)
static ReadOnlySpan< byte > NumericValues
static UnicodeCategory GetUnicodeCategory(string s, int index)
static ReadOnlySpan< byte > NumericLevel3Index
static ReadOnlySpan< byte > CategoriesValue
static int InternalConvertToUtf32(string s, int index)
static UnicodeCategory InternalGetUnicodeCategory(string value, int index)