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
SceneMetrics.cs
Go to the documentation of this file.
1using System;
7
8namespace Terraria
9{
10 // Token: 0x02000459 RID: 1113
11 public class SceneMetrics
12 {
13 // Token: 0x170005C2 RID: 1474
14 // (get) Token: 0x060029DD RID: 10717 RVA: 0x001B1718 File Offset: 0x001AF918
15 // (set) Token: 0x060029DE RID: 10718 RVA: 0x001B172C File Offset: 0x001AF92C
17 {
19 get
20 {
22 }
24 private set
25 {
27 }
28 }
29
30 // Token: 0x170005C3 RID: 1475
31 // (get) Token: 0x060029DF RID: 10719 RVA: 0x001B1740 File Offset: 0x001AF940
32 // (set) Token: 0x060029E0 RID: 10720 RVA: 0x001B1754 File Offset: 0x001AF954
34 {
36 get
37 {
39 }
41 set
42 {
44 }
45 }
46
47 // Token: 0x170005C4 RID: 1476
48 // (get) Token: 0x060029E1 RID: 10721 RVA: 0x001B1768 File Offset: 0x001AF968
49 // (set) Token: 0x060029E2 RID: 10722 RVA: 0x001B177C File Offset: 0x001AF97C
50 public int EvilTileCount
51 {
53 get
54 {
55 return this.<EvilTileCount>k__BackingField;
56 }
58 set
59 {
61 }
62 }
63
64 // Token: 0x170005C5 RID: 1477
65 // (get) Token: 0x060029E3 RID: 10723 RVA: 0x001B1790 File Offset: 0x001AF990
66 // (set) Token: 0x060029E4 RID: 10724 RVA: 0x001B17A4 File Offset: 0x001AF9A4
67 public int HolyTileCount
68 {
70 get
71 {
72 return this.<HolyTileCount>k__BackingField;
73 }
75 set
76 {
78 }
79 }
80
81 // Token: 0x170005C6 RID: 1478
82 // (get) Token: 0x060029E5 RID: 10725 RVA: 0x001B17B8 File Offset: 0x001AF9B8
83 // (set) Token: 0x060029E6 RID: 10726 RVA: 0x001B17CC File Offset: 0x001AF9CC
84 public int HoneyBlockCount
85 {
87 get
88 {
90 }
92 set
93 {
95 }
96 }
97
98 // Token: 0x170005C7 RID: 1479
99 // (get) Token: 0x060029E7 RID: 10727 RVA: 0x001B17E0 File Offset: 0x001AF9E0
100 // (set) Token: 0x060029E8 RID: 10728 RVA: 0x001B17F4 File Offset: 0x001AF9F4
101 public int ActiveMusicBox
102 {
104 get
105 {
106 return this.<ActiveMusicBox>k__BackingField;
107 }
109 set
110 {
112 }
113 }
114
115 // Token: 0x170005C8 RID: 1480
116 // (get) Token: 0x060029E9 RID: 10729 RVA: 0x001B1808 File Offset: 0x001AFA08
117 // (set) Token: 0x060029EA RID: 10730 RVA: 0x001B181C File Offset: 0x001AFA1C
118 public int SandTileCount
119 {
121 get
122 {
123 return this.<SandTileCount>k__BackingField;
124 }
126 private set
127 {
129 }
130 }
131
132 // Token: 0x170005C9 RID: 1481
133 // (get) Token: 0x060029EB RID: 10731 RVA: 0x001B1830 File Offset: 0x001AFA30
134 // (set) Token: 0x060029EC RID: 10732 RVA: 0x001B1844 File Offset: 0x001AFA44
136 {
138 get
139 {
141 }
143 private set
144 {
146 }
147 }
148
149 // Token: 0x170005CA RID: 1482
150 // (get) Token: 0x060029ED RID: 10733 RVA: 0x001B1858 File Offset: 0x001AFA58
151 // (set) Token: 0x060029EE RID: 10734 RVA: 0x001B186C File Offset: 0x001AFA6C
152 public int SnowTileCount
153 {
155 get
156 {
157 return this.<SnowTileCount>k__BackingField;
158 }
160 private set
161 {
163 }
164 }
165
166 // Token: 0x170005CB RID: 1483
167 // (get) Token: 0x060029EF RID: 10735 RVA: 0x001B1880 File Offset: 0x001AFA80
168 // (set) Token: 0x060029F0 RID: 10736 RVA: 0x001B1894 File Offset: 0x001AFA94
170 {
172 get
173 {
175 }
177 private set
178 {
180 }
181 }
182
183 // Token: 0x170005CC RID: 1484
184 // (get) Token: 0x060029F1 RID: 10737 RVA: 0x001B18A8 File Offset: 0x001AFAA8
185 // (set) Token: 0x060029F2 RID: 10738 RVA: 0x001B18BC File Offset: 0x001AFABC
187 {
189 get
190 {
192 }
194 private set
195 {
197 }
198 }
199
200 // Token: 0x170005CD RID: 1485
201 // (get) Token: 0x060029F3 RID: 10739 RVA: 0x001B18D0 File Offset: 0x001AFAD0
202 // (set) Token: 0x060029F4 RID: 10740 RVA: 0x001B18E4 File Offset: 0x001AFAE4
204 {
206 get
207 {
209 }
211 private set
212 {
214 }
215 }
216
217 // Token: 0x170005CE RID: 1486
218 // (get) Token: 0x060029F5 RID: 10741 RVA: 0x001B18F8 File Offset: 0x001AFAF8
219 // (set) Token: 0x060029F6 RID: 10742 RVA: 0x001B190C File Offset: 0x001AFB0C
221 {
223 get
224 {
226 }
228 private set
229 {
231 }
232 }
233
234 // Token: 0x170005CF RID: 1487
235 // (get) Token: 0x060029F7 RID: 10743 RVA: 0x001B1920 File Offset: 0x001AFB20
236 // (set) Token: 0x060029F8 RID: 10744 RVA: 0x001B1934 File Offset: 0x001AFB34
238 {
240 get
241 {
242 return this.<MeteorTileCount>k__BackingField;
243 }
245 private set
246 {
248 }
249 }
250
251 // Token: 0x170005D0 RID: 1488
252 // (get) Token: 0x060029F9 RID: 10745 RVA: 0x001B1948 File Offset: 0x001AFB48
253 // (set) Token: 0x060029FA RID: 10746 RVA: 0x001B195C File Offset: 0x001AFB5C
254 public int BloodTileCount
255 {
257 get
258 {
259 return this.<BloodTileCount>k__BackingField;
260 }
262 private set
263 {
265 }
266 }
267
268 // Token: 0x170005D1 RID: 1489
269 // (get) Token: 0x060029FB RID: 10747 RVA: 0x001B1970 File Offset: 0x001AFB70
270 // (set) Token: 0x060029FC RID: 10748 RVA: 0x001B1984 File Offset: 0x001AFB84
272 {
274 get
275 {
276 return this.<JungleTileCount>k__BackingField;
277 }
279 private set
280 {
282 }
283 }
284
285 // Token: 0x170005D2 RID: 1490
286 // (get) Token: 0x060029FD RID: 10749 RVA: 0x001B1998 File Offset: 0x001AFB98
287 // (set) Token: 0x060029FE RID: 10750 RVA: 0x001B19AC File Offset: 0x001AFBAC
289 {
291 get
292 {
294 }
296 private set
297 {
299 }
300 }
301
302 // Token: 0x170005D3 RID: 1491
303 // (get) Token: 0x060029FF RID: 10751 RVA: 0x001B19C0 File Offset: 0x001AFBC0
304 // (set) Token: 0x06002A00 RID: 10752 RVA: 0x001B19D4 File Offset: 0x001AFBD4
305 public bool HasSunflower
306 {
308 get
309 {
310 return this.<HasSunflower>k__BackingField;
311 }
313 private set
314 {
315 }
316 }
317
318 // Token: 0x170005D4 RID: 1492
319 // (get) Token: 0x06002A01 RID: 10753 RVA: 0x001B19E4 File Offset: 0x001AFBE4
320 // (set) Token: 0x06002A02 RID: 10754 RVA: 0x001B19F8 File Offset: 0x001AFBF8
321 public bool HasGardenGnome
322 {
324 get
325 {
326 return this.<HasGardenGnome>k__BackingField;
327 }
329 private set
330 {
331 }
332 }
333
334 // Token: 0x170005D5 RID: 1493
335 // (get) Token: 0x06002A03 RID: 10755 RVA: 0x001B1A08 File Offset: 0x001AFC08
336 // (set) Token: 0x06002A04 RID: 10756 RVA: 0x001B1A1C File Offset: 0x001AFC1C
337 public bool HasClock
338 {
340 get
341 {
342 return this.<HasClock>k__BackingField;
343 }
345 private set
346 {
347 }
348 }
349
350 // Token: 0x170005D6 RID: 1494
351 // (get) Token: 0x06002A05 RID: 10757 RVA: 0x001B1A2C File Offset: 0x001AFC2C
352 // (set) Token: 0x06002A06 RID: 10758 RVA: 0x001B1A40 File Offset: 0x001AFC40
353 public bool HasCampfire
354 {
356 get
357 {
358 return this.<HasCampfire>k__BackingField;
359 }
361 private set
362 {
363 }
364 }
365
366 // Token: 0x170005D7 RID: 1495
367 // (get) Token: 0x06002A07 RID: 10759 RVA: 0x001B1A50 File Offset: 0x001AFC50
368 // (set) Token: 0x06002A08 RID: 10760 RVA: 0x001B1A64 File Offset: 0x001AFC64
369 public bool HasStarInBottle
370 {
372 get
373 {
374 return this.<HasStarInBottle>k__BackingField;
375 }
377 private set
378 {
379 }
380 }
381
382 // Token: 0x170005D8 RID: 1496
383 // (get) Token: 0x06002A09 RID: 10761 RVA: 0x001B1A74 File Offset: 0x001AFC74
384 // (set) Token: 0x06002A0A RID: 10762 RVA: 0x001B1A88 File Offset: 0x001AFC88
385 public bool HasHeartLantern
386 {
388 get
389 {
390 return this.<HasHeartLantern>k__BackingField;
391 }
393 private set
394 {
395 }
396 }
397
398 // Token: 0x170005D9 RID: 1497
399 // (get) Token: 0x06002A0B RID: 10763 RVA: 0x001B1A98 File Offset: 0x001AFC98
400 // (set) Token: 0x06002A0C RID: 10764 RVA: 0x001B1AAC File Offset: 0x001AFCAC
402 {
404 get
405 {
407 }
409 private set
410 {
412 }
413 }
414
415 // Token: 0x170005DA RID: 1498
416 // (get) Token: 0x06002A0D RID: 10765 RVA: 0x001B1AC0 File Offset: 0x001AFCC0
417 // (set) Token: 0x06002A0E RID: 10766 RVA: 0x001B1AD4 File Offset: 0x001AFCD4
419 {
421 get
422 {
424 }
426 private set
427 {
429 }
430 }
431
432 // Token: 0x170005DB RID: 1499
433 // (get) Token: 0x06002A0F RID: 10767 RVA: 0x001B1AE8 File Offset: 0x001AFCE8
434 // (set) Token: 0x06002A10 RID: 10768 RVA: 0x001B1AFC File Offset: 0x001AFCFC
436 {
438 get
439 {
441 }
443 private set
444 {
445 }
446 }
447
448 // Token: 0x170005DC RID: 1500
449 // (get) Token: 0x06002A11 RID: 10769 RVA: 0x001B1B0C File Offset: 0x001AFD0C
450 // (set) Token: 0x06002A12 RID: 10770 RVA: 0x001B1B20 File Offset: 0x001AFD20
452 {
454 get
455 {
457 }
459 private set
460 {
461 }
462 }
463
464 // Token: 0x170005DD RID: 1501
465 // (get) Token: 0x06002A13 RID: 10771 RVA: 0x001B1B30 File Offset: 0x001AFD30
466 // (set) Token: 0x06002A14 RID: 10772 RVA: 0x001B1B44 File Offset: 0x001AFD44
467 public bool EchoMonolith
468 {
470 get
471 {
472 return this.<EchoMonolith>k__BackingField;
473 }
475 private set
476 {
477 }
478 }
479
480 // Token: 0x170005DE RID: 1502
481 // (get) Token: 0x06002A15 RID: 10773 RVA: 0x001B1B54 File Offset: 0x001AFD54
482 // (set) Token: 0x06002A16 RID: 10774 RVA: 0x001B1B68 File Offset: 0x001AFD68
484 {
486 get
487 {
489 }
491 private set
492 {
494 }
495 }
496
497 // Token: 0x170005DF RID: 1503
498 // (get) Token: 0x06002A17 RID: 10775 RVA: 0x001B1B7C File Offset: 0x001AFD7C
499 // (set) Token: 0x06002A18 RID: 10776 RVA: 0x001B1B90 File Offset: 0x001AFD90
500 public bool HasCatBast
501 {
503 get
504 {
505 return this.<HasCatBast>k__BackingField;
506 }
508 private set
509 {
510 }
511 }
512
513 // Token: 0x170005E0 RID: 1504
514 // (get) Token: 0x06002A19 RID: 10777 RVA: 0x001B1BA0 File Offset: 0x001AFDA0
515 // (set) Token: 0x06002A1A RID: 10778 RVA: 0x001B1BB4 File Offset: 0x001AFDB4
517 {
519 get
520 {
522 }
524 private set
525 {
527 }
528 }
529
530 // Token: 0x170005E1 RID: 1505
531 // (get) Token: 0x06002A1B RID: 10779 RVA: 0x001B1BC8 File Offset: 0x001AFDC8
533 {
534 get
535 {
536 /*
537An exception occurred when decompiling this method (06002A1B)
538
539ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForShimmer()
540
541 ---> System.Exception: Basic block has to end with unconditional control flow.
542{
543 IL_0000:
544 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<ShimmerTileCount>k__BackingField, ldloc:SceneMetrics(this)))
545 brtrue(IL_0000, ldc.i4:bool(1))
546}
547
548 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
549 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
550 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
551 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
552 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
553 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
554 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
555 --- End of inner exception stack trace ---
556 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
557 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
558*/;
559 }
560 }
561
562 // Token: 0x170005E2 RID: 1506
563 // (get) Token: 0x06002A1C RID: 10780 RVA: 0x001B1BE0 File Offset: 0x001AFDE0
565 {
566 get
567 {
568 /*
569An exception occurred when decompiling this method (06002A1C)
570
571ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForJungle()
572
573 ---> System.Exception: Basic block has to end with unconditional control flow.
574{
575 IL_0000:
576 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<JungleTileCount>k__BackingField, ldloc:SceneMetrics(this)))
577 brtrue(IL_0000, ldc.i4:bool(1))
578}
579
580 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
581 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
582 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
583 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
584 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
585 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
586 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
587 --- End of inner exception stack trace ---
588 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
589 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
590*/;
591 }
592 }
593
594 // Token: 0x170005E3 RID: 1507
595 // (get) Token: 0x06002A1D RID: 10781 RVA: 0x001B1BF8 File Offset: 0x001AFDF8
597 {
598 get
599 {
600 int num = this.<HolyTileCount>k__BackingField;
601 if ("MapObject.SiltExtractinator" == null)
602 {
603 }
604 return false;
605 }
606 }
607
608 // Token: 0x170005E4 RID: 1508
609 // (get) Token: 0x06002A1E RID: 10782 RVA: 0x001B1C14 File Offset: 0x001AFE14
611 {
612 get
613 {
614 /*
615An exception occurred when decompiling this method (06002A1E)
616
617ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForSnow()
618
619 ---> System.Exception: Basic block has to end with unconditional control flow.
620{
621 IL_0000:
622 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<SnowTileCount>k__BackingField, ldloc:SceneMetrics(this)))
623 brtrue(IL_0000, ldc.i4:bool(1))
624}
625
626 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
627 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
628 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
629 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
630 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
631 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
632 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
633 --- End of inner exception stack trace ---
634 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
635 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
636*/;
637 }
638 }
639
640 // Token: 0x170005E5 RID: 1509
641 // (get) Token: 0x06002A1F RID: 10783 RVA: 0x001B1C2C File Offset: 0x001AFE2C
643 {
644 get
645 {
646 /*
647An exception occurred when decompiling this method (06002A1F)
648
649ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForGlowingMushroom()
650
651 ---> System.Exception: Basic block has to end with unconditional control flow.
652{
653 IL_0000:
654 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<MushroomTileCount>k__BackingField, ldloc:SceneMetrics(this)))
655 brtrue(IL_0000, ldc.i4:bool(1))
656}
657
658 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
659 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
660 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
661 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
662 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
663 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
664 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
665 --- End of inner exception stack trace ---
666 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
667 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
668*/;
669 }
670 }
671
672 // Token: 0x170005E6 RID: 1510
673 // (get) Token: 0x06002A20 RID: 10784 RVA: 0x001B1C44 File Offset: 0x001AFE44
675 {
676 get
677 {
678 /*
679An exception occurred when decompiling this method (06002A20)
680
681ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForDesert()
682
683 ---> System.Exception: Basic block has to end with unconditional control flow.
684{
685 IL_0000:
686 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<SandTileCount>k__BackingField, ldloc:SceneMetrics(this)))
687 brtrue(IL_0000, ldc.i4:bool(1))
688}
689
690 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
691 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
692 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
693 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
694 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
695 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
696 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
697 --- End of inner exception stack trace ---
698 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
699 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
700*/;
701 }
702 }
703
704 // Token: 0x170005E7 RID: 1511
705 // (get) Token: 0x06002A21 RID: 10785 RVA: 0x001B1C5C File Offset: 0x001AFE5C
707 {
708 get
709 {
710 /*
711An exception occurred when decompiling this method (06002A21)
712
713ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForCorruption()
714
715 ---> System.Exception: Basic block has to end with unconditional control flow.
716{
717 IL_0000:
718 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<EvilTileCount>k__BackingField, ldloc:SceneMetrics(this)))
719 brtrue(IL_0000, ldc.i4:bool(1))
720}
721
722 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
723 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
724 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
725 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
726 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
727 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
728 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
729 --- End of inner exception stack trace ---
730 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
731 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
732*/;
733 }
734 }
735
736 // Token: 0x170005E8 RID: 1512
737 // (get) Token: 0x06002A22 RID: 10786 RVA: 0x001B1C74 File Offset: 0x001AFE74
739 {
740 get
741 {
742 /*
743An exception occurred when decompiling this method (06002A22)
744
745ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForCrimson()
746
747 ---> System.Exception: Basic block has to end with unconditional control flow.
748{
749 IL_0000:
750 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<BloodTileCount>k__BackingField, ldloc:SceneMetrics(this)))
751 brtrue(IL_0000, ldc.i4:bool(1))
752}
753
754 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
755 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
756 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
757 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
758 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
759 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
760 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
761 --- End of inner exception stack trace ---
762 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
763 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
764*/;
765 }
766 }
767
768 // Token: 0x170005E9 RID: 1513
769 // (get) Token: 0x06002A23 RID: 10787 RVA: 0x001B1C8C File Offset: 0x001AFE8C
771 {
772 get
773 {
774 /*
775An exception occurred when decompiling this method (06002A23)
776
777ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForMeteor()
778
779 ---> System.Exception: Basic block has to end with unconditional control flow.
780{
781 IL_0000:
782 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<MeteorTileCount>k__BackingField, ldloc:SceneMetrics(this)))
783 brtrue(IL_0000, ldc.i4:bool(1))
784}
785
786 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
787 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
788 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
789 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
790 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
791 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
792 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
793 --- End of inner exception stack trace ---
794 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
795 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
796*/;
797 }
798 }
799
800 // Token: 0x170005EA RID: 1514
801 // (get) Token: 0x06002A24 RID: 10788 RVA: 0x001B1CA4 File Offset: 0x001AFEA4
803 {
804 get
805 {
806 /*
807An exception occurred when decompiling this method (06002A24)
808
809ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::get_EnoughTilesForGraveyard()
810
811 ---> System.Exception: Basic block has to end with unconditional control flow.
812{
813 IL_0000:
814 stloc:int32(var_0_06, ldfld:int32(SceneMetrics::<GraveyardTileCount>k__BackingField, ldloc:SceneMetrics(this)))
815 brtrue(IL_0000, ldc.i4:bool(1))
816}
817
818 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
819 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
820 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
821 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
822 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
823 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
824 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
825 --- End of inner exception stack trace ---
826 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
827 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
828*/;
829 }
830 }
831
832 // Token: 0x06002A25 RID: 10789 RVA: 0x001B1CBC File Offset: 0x001AFEBC
834 {
835 if (!true)
836 {
837 }
838 base..ctor();
839 this.Reset();
840 }
841
842 // Token: 0x06002A26 RID: 10790 RVA: 0x000021DB File Offset: 0x000003DB
843 [Il2CppSetOption(Option.NullChecks, false)]
844 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
846 {
847 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
848 }
849
850 // Token: 0x06002A27 RID: 10791 RVA: 0x001B1CD8 File Offset: 0x001AFED8
852 {
853 int[] tileCounts = this._tileCounts;
854 int num = 1;
855 this.<HasSunflower>k__BackingField = num != 0;
856 int num2 = 1;
857 this.<HasGardenGnome>k__BackingField = num2 != 0;
858 int[] liquidCounts = this._liquidCounts;
859 this.<ShimmerTileCount>k__BackingField = liquidCounts;
860 this.<HoneyBlockCount>k__BackingField = liquidCounts;
861 this.<HolyTileCount>k__BackingField = liquidCounts;
862 this.<SnowTileCount>k__BackingField = liquidCounts;
863 if (liquidCounts == null)
864 {
865 int[] tileCounts2 = this._tileCounts;
866 }
867 this.<JungleTileCount>k__BackingField = liquidCounts;
868 this.<EvilTileCount>k__BackingField = liquidCounts;
869 }
870
871 // Token: 0x06002A28 RID: 10792 RVA: 0x001B1DCC File Offset: 0x001AFFCC
872 public int GetTileCount(ushort tileId)
873 {
874 /*
875An exception occurred when decompiling this method (06002A28)
876
877ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.SceneMetrics::GetTileCount(System.UInt16)
878
879 ---> System.Exception: Basic block has to end with unconditional control flow.
880{
881 Block_0:
882 stloc:int32[](var_0_06, ldfld:int32[](SceneMetrics::_tileCounts, ldloc:SceneMetrics(this)))
883}
884
885 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
886 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
887 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
888 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
889 --- End of inner exception stack trace ---
890 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
891 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
892*/;
893 }
894
895 // Token: 0x06002A29 RID: 10793 RVA: 0x001B1DE0 File Offset: 0x001AFFE0
896 public void Reset()
897 {
898 int[] tileCounts = this._tileCounts;
899 int[] liquidCounts = this._liquidCounts;
900 bool[] npcbannerBuff = this.NPCBannerBuff;
901 }
902
903 // Token: 0x06002A2A RID: 10794 RVA: 0x001B1E04 File Offset: 0x001B0004
904 private void UpdateOreFinderData()
905 {
906 int num = 1;
908 if (num == 0)
909 {
910 }
911 if (num == 0)
912 {
913 }
914 if (num == 0)
915 {
916 }
917 }
918
919 // Token: 0x06002A2B RID: 10795 RVA: 0x001B1E40 File Offset: 0x001B0040
920 public static bool IsValidForOreFinder(Tile t)
921 {
922 /*
923An exception occurred when decompiling this method (06002A2B)
924
925ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.SceneMetrics::IsValidForOreFinder(Terraria.Tile)
926
927 ---> System.Exception: Basic block has to end with unconditional control flow.
928{
929 IL_0000:
930 brtrue(IL_0000, ldc.i4:bool(1))
931}
932
933 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
934 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
935 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
936 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
937 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
938 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
939 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
940 --- End of inner exception stack trace ---
941 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
942 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
943*/;
944 }
945
946 // Token: 0x06002A2C RID: 10796 RVA: 0x001B1E54 File Offset: 0x001B0054
947 // Note: this type is marked as 'beforefieldinit'.
949 {
950 }
951
952 // Token: 0x040036F3 RID: 14067
955
956 // Token: 0x040036F4 RID: 14068
957 public static int ShimmerTileThreshold;
958
959 // Token: 0x040036F5 RID: 14069
960 public static int CorruptionTileThreshold;
961
962 // Token: 0x040036F6 RID: 14070
963 public static int CorruptionTileMax;
964
965 // Token: 0x040036F7 RID: 14071
966 public static int CrimsonTileThreshold;
967
968 // Token: 0x040036F8 RID: 14072
969 public static int CrimsonTileMax;
970
971 // Token: 0x040036F9 RID: 14073
972 public static int HallowTileThreshold;
973
974 // Token: 0x040036FA RID: 14074
975 public static int HallowTileMax;
976
977 // Token: 0x040036FB RID: 14075
978 public static int JungleTileThreshold;
979
980 // Token: 0x040036FC RID: 14076
981 public static int JungleTileMax;
982
983 // Token: 0x040036FD RID: 14077
984 public static int SnowTileThreshold;
985
986 // Token: 0x040036FE RID: 14078
987 public static int SnowTileMax;
988
989 // Token: 0x040036FF RID: 14079
990 public static int DesertTileThreshold;
991
992 // Token: 0x04003700 RID: 14080
993 public static int MushroomTileThreshold;
994
995 // Token: 0x04003701 RID: 14081
996 public static int MushroomTileMax;
997
998 // Token: 0x04003702 RID: 14082
999 public static int MeteorTileThreshold;
1000
1001 // Token: 0x04003703 RID: 14083
1002 public static int GraveyardTileMax;
1003
1004 // Token: 0x04003704 RID: 14084
1005 public static int GraveyardTileMin;
1006
1007 // Token: 0x04003705 RID: 14085
1008 public static int GraveyardTileThreshold;
1009
1010 // Token: 0x04003706 RID: 14086
1012 private int <ShimmerTileCount>k__BackingField;
1013
1014 // Token: 0x04003707 RID: 14087
1016 private int <EvilTileCount>k__BackingField;
1017
1018 // Token: 0x04003708 RID: 14088
1020 private int <HolyTileCount>k__BackingField;
1021
1022 // Token: 0x04003709 RID: 14089
1024 private int <HoneyBlockCount>k__BackingField;
1025
1026 // Token: 0x0400370A RID: 14090
1028 private int <ActiveMusicBox>k__BackingField;
1029
1030 // Token: 0x0400370B RID: 14091
1032 private int <SandTileCount>k__BackingField;
1033
1034 // Token: 0x0400370C RID: 14092
1036 private int <MushroomTileCount>k__BackingField;
1037
1038 // Token: 0x0400370D RID: 14093
1040 private int <SnowTileCount>k__BackingField;
1041
1042 // Token: 0x0400370E RID: 14094
1044 private int <WaterCandleCount>k__BackingField;
1045
1046 // Token: 0x0400370F RID: 14095
1048 private int <PeaceCandleCount>k__BackingField;
1049
1050 // Token: 0x04003710 RID: 14096
1052 private int <ShadowCandleCount>k__BackingField;
1053
1054 // Token: 0x04003711 RID: 14097
1056 private int <PartyMonolithCount>k__BackingField;
1057
1058 // Token: 0x04003712 RID: 14098
1060 private int <MeteorTileCount>k__BackingField;
1061
1062 // Token: 0x04003713 RID: 14099
1064 private int <BloodTileCount>k__BackingField;
1065
1066 // Token: 0x04003714 RID: 14100
1068 private int <JungleTileCount>k__BackingField;
1069
1070 // Token: 0x04003715 RID: 14101
1072 private int <DungeonTileCount>k__BackingField;
1073
1074 // Token: 0x04003716 RID: 14102
1076 private bool <HasSunflower>k__BackingField;
1077
1078 // Token: 0x04003717 RID: 14103
1080 private bool <HasGardenGnome>k__BackingField;
1081
1082 // Token: 0x04003718 RID: 14104
1084 private bool <HasClock>k__BackingField;
1085
1086 // Token: 0x04003719 RID: 14105
1088 private bool <HasCampfire>k__BackingField;
1089
1090 // Token: 0x0400371A RID: 14106
1092 private bool <HasStarInBottle>k__BackingField;
1093
1094 // Token: 0x0400371B RID: 14107
1096 private bool <HasHeartLantern>k__BackingField;
1097
1098 // Token: 0x0400371C RID: 14108
1100 private int <ActiveFountainColor>k__BackingField;
1101
1102 // Token: 0x0400371D RID: 14109
1104 private int <ActiveMonolithType>k__BackingField;
1105
1106 // Token: 0x0400371E RID: 14110
1108 private bool <BloodMoonMonolith>k__BackingField;
1109
1110 // Token: 0x0400371F RID: 14111
1112 private bool <MoonLordMonolith>k__BackingField;
1113
1114 // Token: 0x04003720 RID: 14112
1116 private bool <EchoMonolith>k__BackingField;
1117
1118 // Token: 0x04003721 RID: 14113
1120 private int <ShimmerMonolithState>k__BackingField;
1121
1122 // Token: 0x04003722 RID: 14114
1124 private bool <HasCatBast>k__BackingField;
1125
1126 // Token: 0x04003723 RID: 14115
1128 private int <GraveyardTileCount>k__BackingField;
1129
1130 // Token: 0x04003724 RID: 14116
1132
1133 // Token: 0x04003725 RID: 14117
1134 public bool[] NPCBannerBuff;
1135
1136 // Token: 0x04003726 RID: 14118
1137 public bool hasBanner;
1138
1139 // Token: 0x04003727 RID: 14119
1140 private readonly int[] _tileCounts;
1141
1142 // Token: 0x04003728 RID: 14120
1144
1145 // Token: 0x04003729 RID: 14121
1147
1148 // Token: 0x0400372A RID: 14122
1149 public int bestOre;
1150 }
1151}
class f__AnonymousType0<< Count > j__TPar
int< GraveyardTileCount > k__BackingField
static int MushroomTileThreshold
static int JungleTileThreshold
int< ActiveMonolithType > k__BackingField
int< ActiveFountainColor > k__BackingField
int< BloodTileCount > k__BackingField
static int MeteorTileThreshold
bool< HasStarInBottle > k__BackingField
bool< HasClock > k__BackingField
int< ShadowCandleCount > k__BackingField
int< HolyTileCount > k__BackingField
static int HallowTileThreshold
int< PartyMonolithCount > k__BackingField
int< HoneyBlockCount > k__BackingField
static int ShimmerTileThreshold
void ScanAndExportToMain(SceneMetricsScanSettings settings)
static int CorruptionTileThreshold
int< SnowTileCount > k__BackingField
bool< EchoMonolith > k__BackingField
static int GraveyardTileThreshold
int< DungeonTileCount > k__BackingField
int< WaterCandleCount > k__BackingField
static int SnowTileThreshold
bool< MoonLordMonolith > k__BackingField
bool< BloodMoonMonolith > k__BackingField
int< SandTileCount > k__BackingField
static int CorruptionTileMax
Point?< ClosestOrePosition > k__BackingField
readonly int[] _liquidCounts
readonly List< Point > _oreFinderTileLocations
int< EvilTileCount > k__BackingField
int< MushroomTileCount > k__BackingField
static int DesertTileThreshold
int< ShimmerMonolithState > k__BackingField
static int CrimsonTileThreshold
bool< HasHeartLantern > k__BackingField
bool< HasCatBast > k__BackingField
int< ActiveMusicBox > k__BackingField
int GetTileCount(ushort tileId)
static bool IsValidForOreFinder(Tile t)
int< MeteorTileCount > k__BackingField
readonly int[] _tileCounts
bool< HasSunflower > k__BackingField
bool< HasGardenGnome > k__BackingField
bool< HasCampfire > k__BackingField
int< PeaceCandleCount > k__BackingField
int< JungleTileCount > k__BackingField
int< ShimmerTileCount > k__BackingField