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
AssemblyName.cs
Go to the documentation of this file.
1using System;
7using Mono;
8
9namespace System.Reflection
10{
11 // Token: 0x02000501 RID: 1281
14 [ComVisible(true)]
16 [StructLayout(0)]
18 {
19 // Token: 0x06002531 RID: 9521 RVA: 0x00052104 File Offset: 0x00050304
20 public AssemblyName()
21 {
23 }
24
25 // Token: 0x06002532 RID: 9522 RVA: 0x0000207A File Offset: 0x0000027A
27 {
28 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
29 }
30
31 // Token: 0x06002533 RID: 9523 RVA: 0x00052120 File Offset: 0x00050320
32 public AssemblyName(string assemblyName)
33 {
34 if (assemblyName == null)
35 {
36 return;
37 }
38 int stringLength = assemblyName._stringLength;
40 if (!false)
41 {
42 return;
43 }
44 throw new OutOfMemoryException();
45 }
46
47 // Token: 0x06002534 RID: 9524 RVA: 0x00052178 File Offset: 0x00050378
49 {
50 int num = 1;
51 base..ctor();
52 string @string = si.GetString("_Name");
53 this.name = @string;
54 string string2 = si.GetString("_CodeBase");
56 if (num == 0)
57 {
58 }
59 Type type;
60 object value = si.GetValue("_Version", type);
61 if (value != null)
62 {
64 return;
65 }
66 Type type2;
67 object value2 = si.GetValue("_PublicKey", type2);
68 if (value2 != null)
69 {
70 if (value2 == null)
71 {
72 goto IL_0093;
73 }
75 if (value2 == null)
76 {
77 return;
78 }
79 }
80 Type type3;
81 object value3 = si.GetValue("_PublicKeyToken", type3);
82 if (value3 != null)
83 {
84 if (value3 == null)
85 {
86 goto IL_0093;
87 }
89 if (value3 == null)
90 {
91 goto IL_0093;
92 }
93 }
94 Type type4;
95 object value4 = si.GetValue("_HashAlgorithm", type4);
96 Type type5;
97 object value5 = si.GetValue("_StrongNameKeyPair", type5);
98 if (value5 != null)
99 {
101 return;
102 }
103 Type type6;
104 object value6 = si.GetValue("_VersionCompatibility", type6);
105 this.cultureinfo = "_CultureInfo";
106 return;
107 IL_0093:
108 throw new InvalidCastException();
109 }
110
111 // Token: 0x17000520 RID: 1312
112 // (get) Token: 0x06002535 RID: 9525 RVA: 0x0005226C File Offset: 0x0005046C
113 // (set) Token: 0x06002536 RID: 9526 RVA: 0x00052280 File Offset: 0x00050480
114 public string Name
115 {
116 get
117 {
118 return this.name;
119 }
120 set
121 {
123 }
124 }
125
126 // Token: 0x17000521 RID: 1313
127 // (get) Token: 0x06002537 RID: 9527 RVA: 0x00052294 File Offset: 0x00050494
128 // (set) Token: 0x06002538 RID: 9528 RVA: 0x000522A8 File Offset: 0x000504A8
130 {
131 get
132 {
133 return this.cultureinfo;
134 }
135 set
136 {
138 }
139 }
140
141 // Token: 0x17000522 RID: 1314
142 // (get) Token: 0x06002539 RID: 9529 RVA: 0x000522BC File Offset: 0x000504BC
143 // (set) Token: 0x0600253A RID: 9530 RVA: 0x000522D0 File Offset: 0x000504D0
145 {
146 get
147 {
148 return this.flags;
149 }
150 set
151 {
153 }
154 }
155
156 // Token: 0x17000523 RID: 1315
157 // (get) Token: 0x0600253B RID: 9531 RVA: 0x000522E4 File Offset: 0x000504E4
158 public string FullName
159 {
160 get
161 {
162 for (;;)
163 {
164 if (!true)
165 {
166 goto IL_0054;
167 }
168 string text = this.name;
169 long num = 0L;
170 bool flag = char.IsWhiteSpace(text[(int)num]);
171 string text2 = this.name;
172 string text3 = "\"" + text2 + "\"";
173 Version version = this.version;
174 if (this.cultureinfo != null)
175 {
178 goto IL_0054;
179 }
180 IL_005C:
181 if (this.InternalGetPublicKeyToken() != null)
182 {
183 return;
184 }
185 continue;
186 IL_0054:
188 goto IL_005C;
189 }
190 }
191 }
192
193 // Token: 0x17000524 RID: 1316
194 // (get) Token: 0x0600253C RID: 9532 RVA: 0x00052358 File Offset: 0x00050558
195 // (set) Token: 0x0600253D RID: 9533 RVA: 0x0005236C File Offset: 0x0005056C
197 {
198 get
199 {
200 return this.version;
201 }
202 set
203 {
205 int num = value._Major;
206 this.major = num;
207 }
208 }
209
210 // Token: 0x0600253E RID: 9534 RVA: 0x00052390 File Offset: 0x00050590
211 public override string ToString()
212 {
213 string fullName = this.FullName;
214 if (fullName != null)
215 {
216 return fullName;
217 }
218 return base.ToString();
219 }
220
221 // Token: 0x0600253F RID: 9535 RVA: 0x000523B0 File Offset: 0x000505B0
222 public byte[] GetPublicKey()
223 {
224 return this.publicKey;
225 }
226
227 // Token: 0x06002540 RID: 9536 RVA: 0x000523C4 File Offset: 0x000505C4
228 public byte[] GetPublicKeyToken()
229 {
230 /*
231An exception occurred when decompiling this method (06002540)
232
233ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] System.Reflection.AssemblyName::GetPublicKeyToken()
234
235 ---> System.Exception: Basic block has to end with unconditional control flow.
236{
237 IL_0033:
238 brtrue(IL_0000, ldloc:uint8[][exp:bool](var_1_12))
239}
240
241 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
242 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
243 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
244 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
245 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
246 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
247 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
248 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
249 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
250 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
251 --- End of inner exception stack trace ---
252 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
253 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
254*/;
255 }
256
257 // Token: 0x17000525 RID: 1317
258 // (get) Token: 0x06002541 RID: 9537 RVA: 0x00052408 File Offset: 0x00050608
259 private bool IsPublicKeyValid
260 {
261 get
262 {
263 byte[] array = this.publicKey;
264 if (!false)
265 {
266 return;
267 }
268 }
269 }
270
271 // Token: 0x06002542 RID: 9538 RVA: 0x00052424 File Offset: 0x00050624
273 {
274 /*
275An exception occurred when decompiling this method (06002542)
276
277ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] System.Reflection.AssemblyName::InternalGetPublicKeyToken()
278
279 ---> System.Exception: Basic block has to end with unconditional control flow.
280{
281 IL_0029:
282 brtrue(IL_0000, ldloc:uint8[][exp:bool](var_1_12))
283}
284
285 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
286 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
287 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
288 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
289 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
290 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
291 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
292 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
293 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
294 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
295 --- End of inner exception stack trace ---
296 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
297 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
298*/;
299 }
300
301 // Token: 0x06002543 RID: 9539 RVA: 0x0005245C File Offset: 0x0005065C
302 private unsafe static void get_public_token(byte* token, byte* pubkey, int len)
303 {
304 }
305
306 // Token: 0x06002544 RID: 9540 RVA: 0x0005246C File Offset: 0x0005066C
307 private byte[] ComputePublicKeyToken()
308 {
309 /*
310An exception occurred when decompiling this method (06002544)
311
312ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] System.Reflection.AssemblyName::ComputePublicKeyToken()
313
314 ---> System.Exception: Basic block has to end with unconditional control flow.
315{
316 IL_0000:
317 brtrue(IL_0000, logicnot:bool(ldfld:uint8[][exp:bool](AssemblyName::publicKey, ldloc:AssemblyName(this))))
318}
319
320 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
321 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
322 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
323 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
324 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
325 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
326 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
327 --- End of inner exception stack trace ---
328 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
329 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
330*/;
331 }
332
333 // Token: 0x06002545 RID: 9541 RVA: 0x00052484 File Offset: 0x00050684
340
341 // Token: 0x06002546 RID: 9542 RVA: 0x000524A8 File Offset: 0x000506A8
343 {
344 while (info == null)
345 {
346 }
347 string text = this.name;
348 info.AddValue("_Name", text);
349 byte[] array = this.publicKey;
350 info.AddValue("_PublicKey", array);
351 byte[] array2 = this.keyToken;
352 info.AddValue("_PublicKeyToken", array2);
353 if (this.cultureinfo != null)
354 {
355 return;
356 }
357 string text2 = this.codebase;
358 info.AddValue("_CodeBase", text2);
359 Version version = this.version;
360 info.AddValue("_Version", version);
363 info.AddValue("_StrongNameKeyPair", strongNameKeyPair);
366 long num = 0L;
367 info.AddValue("_HashForControl", num);
368 }
369
370 // Token: 0x06002547 RID: 9543 RVA: 0x00052560 File Offset: 0x00050760
371 public object Clone()
372 {
373 /*
374An exception occurred when decompiling this method (06002547)
375
376ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Reflection.AssemblyName::Clone()
377
378 ---> System.Exception: Basic block has to end with unconditional control flow.
379{
380 Block_0:
381 stloc:string(var_0_06, ldfld:string(AssemblyName::name, ldloc:AssemblyName(this)))
382 stloc:int32(var_1_0D, ldfld:int32(AssemblyName::major, ldloc:AssemblyName(this)))
383 stloc:Version(var_2_14, ldfld:Version(AssemblyName::version, ldloc:AssemblyName(this)))
384 stloc:CultureInfo(var_3_1B, ldfld:CultureInfo(AssemblyName::cultureinfo, ldloc:AssemblyName(this)))
385 stloc:AssemblyNameFlags(var_4_22, ldfld:AssemblyNameFlags(AssemblyName::flags, ldloc:AssemblyName(this)))
386 stloc:StrongNameKeyPair(var_5_2A, ldfld:StrongNameKeyPair(AssemblyName::keypair, ldloc:AssemblyName(this)))
387 stloc:uint8[](var_6_32, ldfld:uint8[](AssemblyName::keyToken, ldloc:AssemblyName(this)))
388 stloc:AssemblyVersionCompatibility(var_7_3A, ldfld:AssemblyVersionCompatibility(AssemblyName::versioncompat, ldloc:AssemblyName(this)))
389 stloc:ProcessorArchitecture(var_8_42, ldfld:ProcessorArchitecture(AssemblyName::processor_architecture, ldloc:AssemblyName(this)))
390}
391
392 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
393 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
394 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
395 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
396 --- End of inner exception stack trace ---
397 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
398 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
399*/;
400 }
401
402 // Token: 0x06002548 RID: 9544 RVA: 0x000525B0 File Offset: 0x000507B0
403 public void OnDeserialization(object sender)
404 {
405 Version version = this.version;
407 }
408
409 // Token: 0x06002549 RID: 9545 RVA: 0x0000207A File Offset: 0x0000027A
411 {
412 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
413 }
414
415 // Token: 0x0600254A RID: 9546 RVA: 0x000525CC File Offset: 0x000507CC
416 internal unsafe void FillName(MonoAssemblyName* native, string codeBase, bool addVersion, bool addPublickey, bool defaultToken, bool assemblyRef)
417 {
418 string text;
419 this.name = text;
420 ushort num = native->major;
421 this.major = (int)num;
422 ushort num2 = native->minor;
423 this.minor = (int)num2;
424 ushort num3 = native->build;
425 this.build = (int)num3;
426 ushort num4 = native->revision;
427 this.revision = (int)num4;
428 uint num5 = native->flags;
430 uint hash_alg = native->hash_alg;
432 int num6 = 1;
434 ushort arch = native->arch;
437 IntPtr culture = native->culture;
438 IntPtr culture2 = native->culture;
439 long num7 = 0L;
442 IntPtr public_key = native->public_key;
445 }
446
447 // Token: 0x0600254B RID: 9547 RVA: 0x0000207A File Offset: 0x0000027A
448 internal static AssemblyName Create(Assembly assembly, bool fillCodebase)
449 {
450 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
451 }
452
453 // Token: 0x040014AC RID: 5292
454 private string name;
455
456 // Token: 0x040014AD RID: 5293
457 private string codebase;
458
459 // Token: 0x040014AE RID: 5294
460 private int major;
461
462 // Token: 0x040014AF RID: 5295
463 private int minor;
464
465 // Token: 0x040014B0 RID: 5296
466 private int build;
467
468 // Token: 0x040014B1 RID: 5297
469 private int revision;
470
471 // Token: 0x040014B2 RID: 5298
473
474 // Token: 0x040014B3 RID: 5299
476
477 // Token: 0x040014B4 RID: 5300
479
480 // Token: 0x040014B5 RID: 5301
482
483 // Token: 0x040014B6 RID: 5302
484 private byte[] publicKey;
485
486 // Token: 0x040014B7 RID: 5303
487 private byte[] keyToken;
488
489 // Token: 0x040014B8 RID: 5304
491
492 // Token: 0x040014B9 RID: 5305
494
495 // Token: 0x040014BA RID: 5306
497
498 // Token: 0x040014BB RID: 5307
500 }
501}
class f__AnonymousType0<< Count > j__TPar
static byte[] DecodeBlobArray(IntPtr ptr)
static SafeStringMarshal MarshalString(string str)
static string PtrToUtf8String(IntPtr ptr)
static CultureInfo InvariantCulture
static CultureInfo CreateCulture(string name, bool reference)
AssemblyName(SerializationInfo si, StreamingContext sc)
unsafe void FillName(MonoAssemblyName *native, string codeBase, bool addVersion, bool addPublickey, bool defaultToken, bool assemblyRef)
void SetPublicKey(byte[] publicKey)
AssemblyVersionCompatibility versioncompat
static unsafe void get_public_token(byte *token, byte *pubkey, int len)
static AssemblyName Create(Assembly assembly, bool fillCodebase)
AssemblyContentType contentType
AssemblyHashAlgorithm hashalg
static bool ParseAssemblyName(IntPtr name, [Out] MonoAssemblyName aname, [Out] bool is_version_definited, [Out] bool is_token_defined)
static unsafe MonoAssemblyName * GetNativeName(IntPtr assembly_ptr)
void OnDeserialization(object sender)
AssemblyName(string assemblyName)
ProcessorArchitecture processor_architecture
void GetObjectData(SerializationInfo info, StreamingContext context)
void AddValue(string name, object value, Type type)
readonly int _Major
Definition Version.cs:389