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
Assembly.cs
Go to the documentation of this file.
1using System;
3using System.IO;
9
10namespace System.Reflection
11{
12 // Token: 0x020004FF RID: 1279
15 [ComVisible(true)]
17 [StructLayout(0)]
19 {
20 // Token: 0x17000518 RID: 1304
21 // (get) Token: 0x060024FD RID: 9469 RVA: 0x0000207A File Offset: 0x0000027A
22 public virtual string CodeBase
23 {
24 get
25 {
26 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
27 }
28 }
29
30 // Token: 0x17000519 RID: 1305
31 // (get) Token: 0x060024FE RID: 9470 RVA: 0x0000207A File Offset: 0x0000027A
32 public virtual string EscapedCodeBase
33 {
34 get
35 {
36 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
37 }
38 }
39
40 // Token: 0x1700051A RID: 1306
41 // (get) Token: 0x060024FF RID: 9471 RVA: 0x0000207A File Offset: 0x0000027A
42 public virtual string FullName
43 {
44 get
45 {
46 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
47 }
48 }
49
50 // Token: 0x1700051B RID: 1307
51 // (get) Token: 0x06002500 RID: 9472 RVA: 0x0000207A File Offset: 0x0000027A
52 internal virtual IntPtr MonoAssembly
53 {
54 get
55 {
56 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
57 }
58 }
59
60 // Token: 0x1700051C RID: 1308
61 // (get) Token: 0x06002501 RID: 9473 RVA: 0x0000207A File Offset: 0x0000027A
62 public virtual string Location
63 {
64 get
65 {
66 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
67 }
68 }
69
70 // Token: 0x06002502 RID: 9474 RVA: 0x0000207A File Offset: 0x0000027A
72 {
73 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
74 }
75
76 // Token: 0x06002503 RID: 9475 RVA: 0x0000207A File Offset: 0x0000027A
77 public virtual bool IsDefined(Type attributeType, bool inherit)
78 {
79 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
80 }
81
82 // Token: 0x06002504 RID: 9476 RVA: 0x0000207A File Offset: 0x0000027A
83 public virtual object[] GetCustomAttributes(bool inherit)
84 {
85 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
86 }
87
88 // Token: 0x06002505 RID: 9477 RVA: 0x0000207A File Offset: 0x0000027A
89 public virtual object[] GetCustomAttributes(Type attributeType, bool inherit)
90 {
91 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
92 }
93
94 // Token: 0x06002506 RID: 9478 RVA: 0x0000207A File Offset: 0x0000027A
95 public virtual Stream GetManifestResourceStream(string name)
96 {
97 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
98 }
99
100 // Token: 0x06002507 RID: 9479 RVA: 0x00051F60 File Offset: 0x00050160
102 {
103 /*
104An exception occurred when decompiling this method (06002507)
105
106ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.Stream System.Reflection.Assembly::GetManifestResourceStream(System.Type,System.String,System.Boolean,System.Threading.StackCrawlMark)
107
108 ---> System.Exception: Basic block has to end with unconditional control flow.
109{
110 IL_000C:
111 brtrue(IL_0000, logicnot:bool(ldloc:string[exp:bool](name)))
112}
113
114 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
115 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
116 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
117 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
118 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
119 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
120 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
121 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
122 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
123 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
124 --- End of inner exception stack trace ---
125 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
126 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
127*/;
128 }
129
130 // Token: 0x06002508 RID: 9480 RVA: 0x00051F7C File Offset: 0x0005017C
132 {
133 Stream stream;
134 return stream;
135 }
136
137 // Token: 0x06002509 RID: 9481 RVA: 0x0000207A File Offset: 0x0000027A
138 internal string GetSimpleName()
139 {
140 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
141 }
142
143 // Token: 0x0600250A RID: 9482 RVA: 0x0000207A File Offset: 0x0000027A
144 internal byte[] GetPublicKey()
145 {
146 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
147 }
148
149 // Token: 0x0600250B RID: 9483 RVA: 0x0000207A File Offset: 0x0000027A
151 {
152 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
153 }
154
155 // Token: 0x0600250C RID: 9484 RVA: 0x0000207A File Offset: 0x0000027A
157 {
158 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
159 }
160
161 // Token: 0x0600250D RID: 9485 RVA: 0x0000207A File Offset: 0x0000027A
162 internal virtual Type[] GetTypes(bool exportedOnly)
163 {
164 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
165 }
166
167 // Token: 0x0600250E RID: 9486 RVA: 0x0000207A File Offset: 0x0000027A
168 public virtual Type[] GetTypes()
169 {
170 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
171 }
172
173 // Token: 0x0600250F RID: 9487 RVA: 0x0000207A File Offset: 0x0000027A
174 public virtual Type GetType(string name, bool throwOnError)
175 {
176 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
177 }
178
179 // Token: 0x06002510 RID: 9488 RVA: 0x0000207A File Offset: 0x0000027A
180 public virtual Type GetType(string name)
181 {
182 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
183 }
184
185 // Token: 0x06002511 RID: 9489 RVA: 0x0000207A File Offset: 0x0000027A
186 internal Type InternalGetType(Module module, string name, bool throwOnError, bool ignoreCase)
187 {
188 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
189 }
190
191 // Token: 0x06002512 RID: 9490 RVA: 0x0000207A File Offset: 0x0000027A
192 public virtual AssemblyName GetName(bool copiedName)
193 {
194 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
195 }
196
197 // Token: 0x06002513 RID: 9491 RVA: 0x0000207A File Offset: 0x0000027A
198 public virtual AssemblyName GetName()
199 {
200 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
201 }
202
203 // Token: 0x06002514 RID: 9492 RVA: 0x00051F8C File Offset: 0x0005018C
204 public override string ToString()
205 {
206 return base.ToString();
207 }
208
209 // Token: 0x06002515 RID: 9493 RVA: 0x00051FA0 File Offset: 0x000501A0
210 public static Assembly GetAssembly(Type type)
211 {
212 /*
213An exception occurred when decompiling this method (06002515)
214
215ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Reflection.Assembly System.Reflection.Assembly::GetAssembly(System.Type)
216
217 ---> System.Exception: Basic block has to end with unconditional control flow.
218{
219 IL_0000:
220 brtrue(IL_0000, ldc.i4:bool(1))
221}
222
223 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
224 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
225 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
226 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
227 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
228 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
229 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
230 --- End of inner exception stack trace ---
231 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
232 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
233*/;
234 }
235
236 // Token: 0x06002516 RID: 9494 RVA: 0x0000207A File Offset: 0x0000027A
238 {
239 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
240 }
241
242 // Token: 0x06002517 RID: 9495 RVA: 0x00051FB0 File Offset: 0x000501B0
244 {
246 Assembly assembly;
247 if (assembly != null)
248 {
249 throw new InvalidCastException();
250 }
251 string text2;
252 string text3;
253 string text = Path.Combine(text2, text3);
254 if (text != null)
255 {
256 }
257 throw new InvalidCastException();
258 }
259
260 // Token: 0x06002518 RID: 9496 RVA: 0x0000207A File Offset: 0x0000027A
262 {
263 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
264 }
265
266 // Token: 0x06002519 RID: 9497 RVA: 0x00052000 File Offset: 0x00050200
267 public static Assembly Load(string assemblyString)
268 {
269 return AppDomain.CurrentDomain.Load(assemblyString);
270 }
271
272 // Token: 0x0600251A RID: 9498 RVA: 0x0005201C File Offset: 0x0005021C
273 public static Assembly ReflectionOnlyLoad(string assemblyString)
274 {
276 Assembly assembly;
277 return assembly;
278 }
279
280 // Token: 0x0600251B RID: 9499 RVA: 0x0000207A File Offset: 0x0000027A
282 {
283 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
284 }
285
286 // Token: 0x0600251C RID: 9500 RVA: 0x00052034 File Offset: 0x00050234
287 [Obsolete("This method has been deprecated. Please use Assembly.Load() instead. http://go.microsoft.com/fwlink/?linkid=14202")]
289 {
290 Assembly assembly;
291 return assembly;
292 }
293
294 // Token: 0x0600251D RID: 9501 RVA: 0x0000207A File Offset: 0x0000027A
296 {
297 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
298 }
299
300 // Token: 0x0600251E RID: 9502 RVA: 0x0000207A File Offset: 0x0000027A
302 {
303 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
304 }
305
306 // Token: 0x0600251F RID: 9503 RVA: 0x0000207A File Offset: 0x0000027A
307 internal virtual Module[] GetModulesInternal()
308 {
309 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
310 }
311
312 // Token: 0x06002520 RID: 9504 RVA: 0x0000207A File Offset: 0x0000027A
314 {
315 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
316 }
317
318 // Token: 0x06002521 RID: 9505 RVA: 0x0000207A File Offset: 0x0000027A
320 {
321 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
322 }
323
324 // Token: 0x06002522 RID: 9506 RVA: 0x0000207A File Offset: 0x0000027A
325 public virtual string[] GetManifestResourceNames()
326 {
327 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
328 }
329
330 // Token: 0x06002523 RID: 9507 RVA: 0x0000207A File Offset: 0x0000027A
332 {
333 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
334 }
335
336 // Token: 0x1700051D RID: 1309
337 // (get) Token: 0x06002524 RID: 9508 RVA: 0x0000207A File Offset: 0x0000027A
338 [ComVisible(false)]
339 public virtual bool ReflectionOnly
340 {
341 get
342 {
343 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
344 }
345 }
346
347 // Token: 0x06002525 RID: 9509 RVA: 0x00052044 File Offset: 0x00050244
348 public override int GetHashCode()
349 {
350 return base.GetHashCode();
351 }
352
353 // Token: 0x06002526 RID: 9510 RVA: 0x00052058 File Offset: 0x00050258
354 public override bool Equals(object o)
355 {
356 return base.Equals(o);
357 }
358
359 // Token: 0x06002527 RID: 9511 RVA: 0x0000207A File Offset: 0x0000027A
360 private static Exception CreateNIE()
361 {
362 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
363 }
364
365 // Token: 0x1700051E RID: 1310
366 // (get) Token: 0x06002528 RID: 9512 RVA: 0x0005206C File Offset: 0x0005026C
367 [MonoTODO]
368 public bool IsFullyTrusted
369 {
370 get
371 {
372 return true;
373 }
374 }
375
376 // Token: 0x06002529 RID: 9513 RVA: 0x0005207C File Offset: 0x0005027C
377 public virtual Type GetType(string name, bool throwOnError, bool ignoreCase)
378 {
379 /*
380An exception occurred when decompiling this method (06002529)
381
382ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Type System.Reflection.Assembly::GetType(System.String,System.Boolean,System.Boolean)
383
384 ---> System.Exception: Basic block has to end with unconditional control flow.
385{
386 Block_0:
387 stloc:Exception(var_0_05, call:Exception(Assembly::CreateNIE))
388}
389
390 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
391 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
392 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
393 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
394 --- End of inner exception stack trace ---
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 92
396 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
397*/;
398 }
399
400 // Token: 0x0600252A RID: 9514 RVA: 0x00052090 File Offset: 0x00050290
401 public virtual Module GetModule(string name)
402 {
403 /*
404An exception occurred when decompiling this method (0600252A)
405
406ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Reflection.Module System.Reflection.Assembly::GetModule(System.String)
407
408 ---> System.Exception: Basic block has to end with unconditional control flow.
409{
410 Block_0:
411 stloc:Exception(var_0_05, call:Exception(Assembly::CreateNIE))
412}
413
414 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
415 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
416 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
417 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
418 --- End of inner exception stack trace ---
419 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
420 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
421*/;
422 }
423
424 // Token: 0x0600252B RID: 9515 RVA: 0x000520A4 File Offset: 0x000502A4
425 public virtual Module[] GetModules(bool getResourceModules)
426 {
427 /*
428An exception occurred when decompiling this method (0600252B)
429
430ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Reflection.Module[] System.Reflection.Assembly::GetModules(System.Boolean)
431
432 ---> System.Exception: Basic block has to end with unconditional control flow.
433{
434 Block_0:
435 stloc:Exception(var_0_05, call:Exception(Assembly::CreateNIE))
436}
437
438 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
439 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
440 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
441 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
442 --- End of inner exception stack trace ---
443 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
444 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
445*/;
446 }
447
448 // Token: 0x1700051F RID: 1311
449 // (get) Token: 0x0600252C RID: 9516 RVA: 0x000520B8 File Offset: 0x000502B8
450 public virtual bool IsDynamic
451 {
452 get
453 {
454 }
455 }
456
457 // Token: 0x0600252D RID: 9517 RVA: 0x000520C8 File Offset: 0x000502C8
458 public static bool operator ==(Assembly left, Assembly right)
459 {
460 return true;
461 }
462
463 // Token: 0x0600252E RID: 9518 RVA: 0x0000207A File Offset: 0x0000027A
464 public static bool operator !=(Assembly left, Assembly right)
465 {
466 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
467 }
468
469 // Token: 0x0600252F RID: 9519 RVA: 0x000520DC File Offset: 0x000502DC
470 public Assembly()
471 {
472 }
473
474 // Token: 0x02000500 RID: 1280
475 internal class ResolveEventHolder
476 {
477 // Token: 0x06002530 RID: 9520 RVA: 0x000520F0 File Offset: 0x000502F0
479 {
480 }
481 }
482 }
483}
class f__AnonymousType0<< Count > j__TPar
Assembly Load(string assemblyString)
Definition AppDomain.cs:110
static AppDomain CurrentDomain
Definition AppDomain.cs:49
static string Combine(string path1, string path2)
Definition Path.cs:41
virtual AssemblyName GetName(bool copiedName)
Definition Assembly.cs:192
static Assembly LoadFrom(string assemblyFile, bool refOnly, StackCrawlMark stackMark)
Definition Assembly.cs:261
virtual AssemblyName GetName()
Definition Assembly.cs:198
static Exception CreateNIE()
Definition Assembly.cs:360
static Assembly ReflectionOnlyLoad(string assemblyString)
Definition Assembly.cs:273
static Assembly GetCallingAssembly()
Definition Assembly.cs:319
Stream GetManifestResourceStream(Type type, string name, bool skipSecurityCheck, StackCrawlMark stackMark)
Definition Assembly.cs:101
Type InternalGetType(Module module, string name, bool throwOnError, bool ignoreCase)
Definition Assembly.cs:186
static Assembly LoadWithPartialName(string partialName, Evidence securityEvidence, bool oldBehavior)
Definition Assembly.cs:295
virtual string EscapedCodeBase
Definition Assembly.cs:33
static Assembly GetAssembly(Type type)
Definition Assembly.cs:210
virtual Type GetType(string name, bool throwOnError, bool ignoreCase)
Definition Assembly.cs:377
static Assembly Load(string assemblyString)
Definition Assembly.cs:267
override bool Equals(object o)
Definition Assembly.cs:354
static Assembly GetExecutingAssembly()
Definition Assembly.cs:313
virtual Stream GetManifestResourceStream(string name)
Definition Assembly.cs:95
static bool operator==(Assembly left, Assembly right)
Definition Assembly.cs:458
override int GetHashCode()
Definition Assembly.cs:348
virtual Module[] GetModulesInternal()
Definition Assembly.cs:307
virtual ManifestResourceInfo GetManifestResourceInfo(string resourceName)
Definition Assembly.cs:331
virtual bool IsDefined(Type attributeType, bool inherit)
Definition Assembly.cs:77
virtual IntPtr MonoAssembly
Definition Assembly.cs:53
virtual bool ReflectionOnly
Definition Assembly.cs:340
virtual Type GetType(string name, bool throwOnError)
Definition Assembly.cs:174
virtual Module[] GetModules(bool getResourceModules)
Definition Assembly.cs:425
virtual Type[] GetTypes(bool exportedOnly)
Definition Assembly.cs:162
virtual string[] GetManifestResourceNames()
Definition Assembly.cs:325
override string ToString()
Definition Assembly.cs:204
virtual Type GetType(string name)
Definition Assembly.cs:180
RuntimeAssembly InternalGetSatelliteAssembly(string name, CultureInfo culture, Version version, bool throwOnFileNotFound, StackCrawlMark stackMark)
Definition Assembly.cs:243
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Definition Assembly.cs:71
virtual object[] GetCustomAttributes(bool inherit)
Definition Assembly.cs:83
static bool operator!=(Assembly left, Assembly right)
Definition Assembly.cs:464
static Assembly GetEntryAssembly()
Definition Assembly.cs:237
AssemblyNameFlags GetFlags()
Definition Assembly.cs:156
virtual string FullName
Definition Assembly.cs:43
static Assembly load_with_partial_name(string name, Evidence e)
Definition Assembly.cs:281
virtual Module GetModule(string name)
Definition Assembly.cs:401
virtual object[] GetCustomAttributes(Type attributeType, bool inherit)
Definition Assembly.cs:89
virtual string CodeBase
Definition Assembly.cs:23
virtual string Location
Definition Assembly.cs:63
Stream GetManifestResourceStream(string name, StackCrawlMark stackMark, bool skipSecurityCheck)
Definition Assembly.cs:131
static Assembly LoadWithPartialName(string partialName, Evidence securityEvidence)
Definition Assembly.cs:288
virtual Type[] GetTypes()
Definition Assembly.cs:168