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
TileObjectData.cs
Go to the documentation of this file.
1using System;
8
10{
11 // Token: 0x02000545 RID: 1349
12 public class TileObjectData
13 {
14 // Token: 0x0600326C RID: 12908 RVA: 0x001F9BE8 File Offset: 0x001F7DE8
16 {
17 if (copyFrom != null)
18 {
19 this.CopyFrom(copyFrom);
20 return;
21 }
22 }
23
24 // Token: 0x0600326D RID: 12909 RVA: 0x001F9C08 File Offset: 0x001F7E08
43
44 // Token: 0x0600326E RID: 12910 RVA: 0x001F9C70 File Offset: 0x001F7E70
45 public void FullCopyFrom(ushort tileType)
46 {
48 this.FullCopyFrom(tileObjectData);
49 }
50
51 // Token: 0x0600326F RID: 12911 RVA: 0x001F9C84 File Offset: 0x001F7E84
72
73 // Token: 0x06003270 RID: 12912 RVA: 0x001F9CFC File Offset: 0x001F7EFC
74 private void SetupBaseObject()
75 {
77 this._hasOwnAnchor = true;
78 long num = 0L;
79 this.AnchorWall = num != 0L;
81 long num2 = 0L;
84 long num3 = 0L;
85 this.LavaDeath = num3 != 0L;
90 this.Width = 1;
91 this.Height = 1;
92 long num4 = 0L;
94 long num5 = 0L;
97 long num6 = 0L;
99 long num7 = 0L;
101 long num8 = 0L;
103 this.DrawYOffset = (int)num8;
104 long num9 = 0L;
106 long num10 = 0L;
108 long num11 = 0L;
110 long num12 = 0L;
112 this.Style = (int)num12;
113 long num13 = 0L;
115 long num14 = 0L;
118 }
119
120 // Token: 0x06003271 RID: 12913 RVA: 0x001F9E00 File Offset: 0x001F8000
121 private void Calculate()
122 {
124 if (tileObjectCoords.calculated)
125 {
126 return;
127 }
128 int num = 1;
130 int width = tileObjectCoords.width;
131 int padding = tileObjectCoords.padding;
133 if (tileObjectBase == null)
134 {
135 return;
136 }
138 int width2 = tileObjectBase.width;
140 int[] heights = tileObjectCoords2.heights;
141 int padding2 = tileObjectCoords2.padding;
142 }
143
144 // Token: 0x06003272 RID: 12914 RVA: 0x001F9EA4 File Offset: 0x001F80A4
145 private void WriteCheck()
146 {
147 }
148
149 // Token: 0x06003273 RID: 12915 RVA: 0x001F9EB4 File Offset: 0x001F80B4
150 private void LockWrites()
151 {
152 }
153
154 // Token: 0x17000636 RID: 1590
155 // (get) Token: 0x06003274 RID: 12916 RVA: 0x001F9EC4 File Offset: 0x001F80C4
156 // (set) Token: 0x06003275 RID: 12917 RVA: 0x001F9ED8 File Offset: 0x001F80D8
157 private bool LinkedAlternates
158 {
159 get
160 {
161 return this._linkedAlternates;
162 }
163 set
164 {
165 if (!this._hasOwnAlternates)
166 {
169 }
170 }
171 }
172
173 // Token: 0x17000637 RID: 1591
174 // (get) Token: 0x06003276 RID: 12918 RVA: 0x001F9EFC File Offset: 0x001F80FC
175 // (set) Token: 0x06003277 RID: 12919 RVA: 0x001F9F10 File Offset: 0x001F8110
177 {
178 get
179 {
180 return this._usesCustomCanPlace;
181 }
182 set
183 {
184 this.WriteCheck();
185 }
186 }
187
188 // Token: 0x17000638 RID: 1592
189 // (get) Token: 0x06003278 RID: 12920 RVA: 0x001F9F24 File Offset: 0x001F8124
190 // (set) Token: 0x06003279 RID: 12921 RVA: 0x001F9F38 File Offset: 0x001F8138
192 {
193 get
194 {
195 /*
196An exception occurred when decompiling this method (06003278)
197
198ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.List`1<Terraria.ObjectData.TileObjectData> Terraria.ObjectData.TileObjectData::get_Alternates()
199
200 ---> System.Exception: Basic block has to end with unconditional control flow.
201{
202 IL_0000:
203 brtrue(IL_0000, ldfld:TileObjectAlternatesModule[exp:bool](TileObjectData::_alternates, ldloc:TileObjectData(this)))
204}
205
206 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
207 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
208 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
209 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
210 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
211 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
212 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
213 --- End of inner exception stack trace ---
214 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
215 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
216*/;
217 }
218 set
219 {
220 if (this._hasOwnAlternates)
221 {
223 return;
224 }
227 }
228 }
229
230 // Token: 0x17000639 RID: 1593
231 // (get) Token: 0x0600327A RID: 12922 RVA: 0x001F9F64 File Offset: 0x001F8164
232 // (set) Token: 0x0600327B RID: 12923 RVA: 0x001F9F94 File Offset: 0x001F8194
234 {
235 get
236 {
237 AnchorDataModule anchor = this._anchor;
238 if (anchor != null)
239 {
240 AnchorData top = anchor.top;
241 int checkStart = anchor.top.checkStart;
242 return top;
243 }
245 return anchorData;
246 }
247 set
248 {
249 bool hasOwnAnchor = this._hasOwnAnchor;
250 AnchorDataModule anchor = this._anchor;
251 if (!hasOwnAnchor)
252 {
253 AnchorData top = anchor.top;
254 int checkStart = anchor.top.checkStart;
255 int num = 1;
256 this._hasOwnAnchor = num != 0;
258 if (anchor2 != null)
259 {
261 AnchorData top2 = anchor2.top;
262 int checkStart3 = anchor2.bottom.checkStart;
263 int checkStart4 = anchor2.left.checkStart;
264 AnchorData left = anchor2.left;
265 int checkStart5 = anchor2.right.checkStart;
266 bool wall = anchor2.wall;
267 return;
268 }
269 }
270 if (this._linkedAlternates)
271 {
272 int size = this._alternates.data._size;
273 int size2 = this._alternates.data._size;
274 }
275 }
276 }
277
278 // Token: 0x1700063A RID: 1594
279 // (get) Token: 0x0600327C RID: 12924 RVA: 0x001FA064 File Offset: 0x001F8264
280 // (set) Token: 0x0600327D RID: 12925 RVA: 0x001FA088 File Offset: 0x001F8288
282 {
283 get
284 {
285 AnchorDataModule anchor = this._anchor;
286 if (anchor != null)
287 {
288 int checkStart = anchor.bottom.checkStart;
289 }
291 return anchorData;
292 }
293 set
294 {
295 bool hasOwnAnchor = this._hasOwnAnchor;
296 AnchorDataModule anchor = this._anchor;
297 if (!hasOwnAnchor)
298 {
299 int checkStart = anchor.bottom.checkStart;
300 int num = 1;
301 this._hasOwnAnchor = num != 0;
303 if (anchor2 != null)
304 {
306 AnchorData top = anchor2.top;
307 int checkStart3 = anchor2.bottom.checkStart;
308 int checkStart4 = anchor2.left.checkStart;
309 AnchorData left = anchor2.left;
310 int checkStart5 = anchor2.right.checkStart;
311 bool wall = anchor2.wall;
312 return;
313 }
314 }
315 if (this._linkedAlternates)
316 {
317 int size = this._alternates.data._size;
318 int size2 = this._alternates.data._size;
319 }
320 }
321 }
322
323 // Token: 0x1700063B RID: 1595
324 // (get) Token: 0x0600327E RID: 12926 RVA: 0x001FA14C File Offset: 0x001F834C
325 // (set) Token: 0x0600327F RID: 12927 RVA: 0x001FA17C File Offset: 0x001F837C
327 {
328 get
329 {
330 AnchorDataModule anchor = this._anchor;
331 if (anchor != null)
332 {
333 AnchorData left = anchor.left;
334 int checkStart = anchor.left.checkStart;
335 return left;
336 }
338 return anchorData;
339 }
340 set
341 {
342 bool hasOwnAnchor = this._hasOwnAnchor;
343 AnchorDataModule anchor = this._anchor;
344 if (!hasOwnAnchor)
345 {
346 AnchorData left = anchor.left;
347 int checkStart = anchor.left.checkStart;
348 int num = 1;
349 this._hasOwnAnchor = num != 0;
351 if (anchor2 != null)
352 {
354 AnchorData top = anchor2.top;
355 int checkStart3 = anchor2.bottom.checkStart;
356 int checkStart4 = anchor2.left.checkStart;
357 AnchorData left2 = anchor2.left;
358 int checkStart5 = anchor2.right.checkStart;
359 bool wall = anchor2.wall;
360 return;
361 }
362 }
363 if (this._linkedAlternates)
364 {
365 int size = this._alternates.data._size;
366 int size2 = this._alternates.data._size;
367 }
368 }
369 }
370
371 // Token: 0x1700063C RID: 1596
372 // (get) Token: 0x06003280 RID: 12928 RVA: 0x001FA24C File Offset: 0x001F844C
373 // (set) Token: 0x06003281 RID: 12929 RVA: 0x001FA270 File Offset: 0x001F8470
375 {
376 get
377 {
378 AnchorDataModule anchor = this._anchor;
379 if (anchor != null)
380 {
381 int checkStart = anchor.right.checkStart;
382 }
384 return anchorData;
385 }
386 set
387 {
388 bool hasOwnAnchor = this._hasOwnAnchor;
389 AnchorDataModule anchor = this._anchor;
390 if (!hasOwnAnchor)
391 {
392 int checkStart = anchor.right.checkStart;
393 int num = 1;
394 this._hasOwnAnchor = num != 0;
396 if (anchor2 != null)
397 {
399 AnchorData top = anchor2.top;
400 int checkStart3 = anchor2.bottom.checkStart;
401 int checkStart4 = anchor2.left.checkStart;
402 AnchorData left = anchor2.left;
403 int checkStart5 = anchor2.right.checkStart;
404 bool wall = anchor2.wall;
405 return;
406 }
407 }
408 if (this._linkedAlternates)
409 {
410 int size = this._alternates.data._size;
411 int size2 = this._alternates.data._size;
412 }
413 }
414 }
415
416 // Token: 0x1700063D RID: 1597
417 // (get) Token: 0x06003282 RID: 12930 RVA: 0x001FA334 File Offset: 0x001F8534
418 // (set) Token: 0x06003283 RID: 12931 RVA: 0x001FA348 File Offset: 0x001F8548
419 public bool AnchorWall
420 {
421 get
422 {
423 /*
424An exception occurred when decompiling this method (06003282)
425
426ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::get_AnchorWall()
427
428 ---> System.Exception: Basic block has to end with unconditional control flow.
429{
430 IL_0000:
431 brtrue(IL_0000, ldfld:AnchorDataModule[exp:bool](TileObjectData::_anchor, ldloc:TileObjectData(this)))
432}
433
434 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
435 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
436 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
437 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
438 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
439 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
440 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
441 --- End of inner exception stack trace ---
442 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
443 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
444*/;
445 }
446 set
447 {
448 bool hasOwnAnchor = this._hasOwnAnchor;
449 AnchorDataModule anchor = this._anchor;
450 if (!hasOwnAnchor)
451 {
452 bool wall = anchor.wall;
453 int num = 1;
454 this._hasOwnAnchor = num != 0;
455 if (anchor != null)
456 {
457 int checkStart = anchor.top.checkStart;
458 AnchorData top = anchor.top;
459 int checkStart2 = anchor.bottom.checkStart;
460 int checkStart3 = anchor.left.checkStart;
461 AnchorData left = anchor.left;
462 int checkStart4 = anchor.right.checkStart;
463 bool wall2 = anchor.wall;
464 return;
465 }
466 }
467 if (this._linkedAlternates)
468 {
469 int size = this._alternates.data._size;
470 int size2 = this._alternates.data._size;
471 }
472 }
473 }
474
475 // Token: 0x1700063E RID: 1598
476 // (get) Token: 0x06003284 RID: 12932 RVA: 0x001FA3F8 File Offset: 0x001F85F8
477 // (set) Token: 0x06003285 RID: 12933 RVA: 0x001FA40C File Offset: 0x001F860C
478 public int[] AnchorValidTiles
479 {
480 get
481 {
482 /*
483An exception occurred when decompiling this method (06003284)
484
485ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32[] Terraria.ObjectData.TileObjectData::get_AnchorValidTiles()
486
487 ---> System.Exception: Basic block has to end with unconditional control flow.
488{
489 IL_0000:
490 brtrue(IL_0000, ldfld:AnchorTypesModule[exp:bool](TileObjectData::_anchorTiles, ldloc:TileObjectData(this)))
491}
492
493 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
494 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
495 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
496 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
497 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
498 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
499 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
500 --- End of inner exception stack trace ---
501 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
502 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
503*/;
504 }
505 set
506 {
509 if (!hasOwnAnchorTiles)
510 {
511 int[] tileValid = anchorTiles.tileValid;
512 bool flag = value.deepCompare(tileValid);
513 int num = 1;
514 this._hasOwnAnchorTiles = num != 0;
516 }
517 if (this._linkedAlternates)
518 {
519 int size = this._alternates.data._size;
520 if (value == null)
521 {
522 return;
523 }
524 object obj;
525 if (obj != null && obj == null)
526 {
527 return;
528 }
530 int size2 = this._alternates.data._size;
531 }
532 }
533 }
534
535 // Token: 0x1700063F RID: 1599
536 // (get) Token: 0x06003286 RID: 12934 RVA: 0x001FA49C File Offset: 0x001F869C
537 // (set) Token: 0x06003287 RID: 12935 RVA: 0x001FA4B0 File Offset: 0x001F86B0
539 {
540 get
541 {
542 /*
543An exception occurred when decompiling this method (06003286)
544
545ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32[] Terraria.ObjectData.TileObjectData::get_AnchorInvalidTiles()
546
547 ---> System.Exception: Basic block has to end with unconditional control flow.
548{
549 IL_0000:
550 brtrue(IL_0000, ldfld:AnchorTypesModule[exp:bool](TileObjectData::_anchorTiles, ldloc:TileObjectData(this)))
551}
552
553 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
554 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
555 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
556 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
557 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
558 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
559 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
560 --- End of inner exception stack trace ---
561 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
562 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
563*/;
564 }
565 set
566 {
569 if (!hasOwnAnchorTiles)
570 {
571 int[] tileInvalid = anchorTiles.tileInvalid;
572 bool flag = value.deepCompare(tileInvalid);
573 int num = 1;
574 this._hasOwnAnchorTiles = num != 0;
576 }
577 if (this._linkedAlternates)
578 {
579 int size = this._alternates.data._size;
580 if (value == null)
581 {
582 return;
583 }
584 object obj;
585 if (obj != null && obj == null)
586 {
587 return;
588 }
590 int size2 = this._alternates.data._size;
591 }
592 }
593 }
594
595 // Token: 0x17000640 RID: 1600
596 // (get) Token: 0x06003288 RID: 12936 RVA: 0x001FA540 File Offset: 0x001F8740
597 // (set) Token: 0x06003289 RID: 12937 RVA: 0x001FA554 File Offset: 0x001F8754
599 {
600 get
601 {
602 /*
603An exception occurred when decompiling this method (06003288)
604
605ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32[] Terraria.ObjectData.TileObjectData::get_AnchorAlternateTiles()
606
607 ---> System.Exception: Basic block has to end with unconditional control flow.
608{
609 IL_0000:
610 brtrue(IL_0000, ldfld:AnchorTypesModule[exp:bool](TileObjectData::_anchorTiles, ldloc:TileObjectData(this)))
611}
612
613 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
614 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
615 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
616 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
617 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
618 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
619 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
620 --- End of inner exception stack trace ---
621 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
622 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
623*/;
624 }
625 set
626 {
629 if (!hasOwnAnchorTiles)
630 {
631 int[] tileInvalid = anchorTiles.tileInvalid;
632 bool flag = value.deepCompare(tileInvalid);
633 int num = 1;
634 this._hasOwnAnchorTiles = num != 0;
636 }
637 if (this._linkedAlternates)
638 {
639 int size = this._alternates.data._size;
640 if (value == null)
641 {
642 return;
643 }
644 object obj;
645 if (obj != null && obj == null)
646 {
647 return;
648 }
650 int size2 = this._alternates.data._size;
651 }
652 }
653 }
654
655 // Token: 0x17000641 RID: 1601
656 // (get) Token: 0x0600328A RID: 12938 RVA: 0x001FA5E4 File Offset: 0x001F87E4
657 // (set) Token: 0x0600328B RID: 12939 RVA: 0x001FA5F8 File Offset: 0x001F87F8
658 public int[] AnchorValidWalls
659 {
660 get
661 {
662 /*
663An exception occurred when decompiling this method (0600328A)
664
665ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32[] Terraria.ObjectData.TileObjectData::get_AnchorValidWalls()
666
667 ---> System.Exception: Basic block has to end with unconditional control flow.
668{
669 IL_0000:
670 brtrue(IL_0000, ldfld:AnchorTypesModule[exp:bool](TileObjectData::_anchorTiles, ldloc:TileObjectData(this)))
671}
672
673 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
674 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
675 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
676 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
677 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
678 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
679 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
680 --- End of inner exception stack trace ---
681 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
682 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
683*/;
684 }
685 set
686 {
687 if (this._hasOwnAnchorTiles)
688 {
690 return;
691 }
692 int num = 1;
693 this._hasOwnAnchorTiles = num != 0;
695 if (this._linkedAlternates)
696 {
697 int size = this._alternates.data._size;
698 if (value == null)
699 {
700 return;
701 }
702 object obj;
703 if (obj != null && obj == null)
704 {
705 return;
706 }
708 int size2 = this._alternates.data._size;
709 }
710 }
711 }
712
713 // Token: 0x17000642 RID: 1602
714 // (get) Token: 0x0600328C RID: 12940 RVA: 0x001FA674 File Offset: 0x001F8874
715 // (set) Token: 0x0600328D RID: 12941 RVA: 0x001FA688 File Offset: 0x001F8888
716 public bool WaterDeath
717 {
718 get
719 {
720 /*
721An exception occurred when decompiling this method (0600328C)
722
723ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::get_WaterDeath()
724
725 ---> System.Exception: Basic block has to end with unconditional control flow.
726{
727 IL_0000:
728 brtrue(IL_0000, ldfld:LiquidDeathModule[exp:bool](TileObjectData::_liquidDeath, ldloc:TileObjectData(this)))
729}
730
731 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
732 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
733 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
734 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
735 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
736 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
737 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
738 --- End of inner exception stack trace ---
739 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
740 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
741*/;
742 }
743 set
744 {
747 if (!hasOwnLiquidDeath)
748 {
749 bool water = liquidDeath.water;
750 int num = 1;
751 this._hasOwnLiquidDeath = num != 0;
752 if (liquidDeath != null)
753 {
754 bool water2 = liquidDeath.water;
755 bool lava = liquidDeath.lava;
756 return;
757 }
758 }
759 if (this._linkedAlternates)
760 {
761 int size = this._alternates.data._size;
762 int size2 = this._alternates.data._size;
763 }
764 }
765 }
766
767 // Token: 0x17000643 RID: 1603
768 // (get) Token: 0x0600328E RID: 12942 RVA: 0x001FA6FC File Offset: 0x001F88FC
769 // (set) Token: 0x0600328F RID: 12943 RVA: 0x001FA710 File Offset: 0x001F8910
770 public bool LavaDeath
771 {
772 get
773 {
774 /*
775An exception occurred when decompiling this method (0600328E)
776
777ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::get_LavaDeath()
778
779 ---> System.Exception: Basic block has to end with unconditional control flow.
780{
781 IL_0000:
782 brtrue(IL_0000, ldfld:LiquidDeathModule[exp:bool](TileObjectData::_liquidDeath, ldloc:TileObjectData(this)))
783}
784
785 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
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 1878
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 1846
789 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
790 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
791 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
792 --- End of inner exception stack trace ---
793 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
794 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
795*/;
796 }
797 set
798 {
801 if (!hasOwnLiquidDeath)
802 {
803 bool lava = liquidDeath.lava;
804 int num = 1;
805 this._hasOwnLiquidDeath = num != 0;
806 if (liquidDeath != null)
807 {
808 bool water = liquidDeath.water;
809 bool lava2 = liquidDeath.lava;
810 return;
811 }
812 }
813 if (this._linkedAlternates)
814 {
815 int size = this._alternates.data._size;
816 int size2 = this._alternates.data._size;
817 }
818 }
819 }
820
821 // Token: 0x17000644 RID: 1604
822 // (get) Token: 0x06003290 RID: 12944 RVA: 0x001FA784 File Offset: 0x001F8984
823 // (set) Token: 0x06003291 RID: 12945 RVA: 0x001FA798 File Offset: 0x001F8998
825 {
826 get
827 {
828 /*
829An exception occurred when decompiling this method (06003290)
830
831ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Enums.LiquidPlacement Terraria.ObjectData.TileObjectData::get_WaterPlacement()
832
833 ---> System.Exception: Basic block has to end with unconditional control flow.
834{
835 IL_0000:
836 brtrue(IL_0000, ldfld:LiquidPlacementModule[exp:bool](TileObjectData::_liquidPlacement, ldloc:TileObjectData(this)))
837}
838
839 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
840 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
841 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
842 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
843 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
844 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
845 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
846 --- End of inner exception stack trace ---
847 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
848 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
849*/;
850 }
851 set
852 {
855 if (!hasOwnLiquidPlacement)
856 {
858 int num = 1;
860 if (liquidPlacement != null)
861 {
862 int value__ = liquidPlacement.water.value__;
863 return;
864 }
865 }
866 if (this._linkedAlternates)
867 {
868 int size = this._alternates.data._size;
869 int size2 = this._alternates.data._size;
870 }
871 }
872 }
873
874 // Token: 0x17000645 RID: 1605
875 // (get) Token: 0x06003292 RID: 12946 RVA: 0x001FA808 File Offset: 0x001F8A08
876 // (set) Token: 0x06003293 RID: 12947 RVA: 0x001FA81C File Offset: 0x001F8A1C
878 {
879 get
880 {
881 /*
882An exception occurred when decompiling this method (06003292)
883
884ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Enums.LiquidPlacement Terraria.ObjectData.TileObjectData::get_LavaPlacement()
885
886 ---> System.Exception: Basic block has to end with unconditional control flow.
887{
888 IL_0000:
889 brtrue(IL_0000, ldfld:LiquidPlacementModule[exp:bool](TileObjectData::_liquidPlacement, ldloc:TileObjectData(this)))
890}
891
892 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
893 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
894 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
895 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
896 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
897 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
898 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
899 --- End of inner exception stack trace ---
900 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
901 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
902*/;
903 }
904 set
905 {
908 if (!hasOwnLiquidPlacement)
909 {
911 int num = 1;
913 if (liquidPlacement != null)
914 {
915 int value__ = liquidPlacement.water.value__;
916 return;
917 }
918 }
919 if (this._linkedAlternates)
920 {
921 int size = this._alternates.data._size;
922 int size2 = this._alternates.data._size;
923 }
924 }
925 }
926
927 // Token: 0x17000646 RID: 1606
928 // (get) Token: 0x06003294 RID: 12948 RVA: 0x001FA88C File Offset: 0x001F8A8C
929 // (set) Token: 0x06003295 RID: 12949 RVA: 0x001FA8C8 File Offset: 0x001F8AC8
931 {
932 get
933 {
934 /*
935An exception occurred when decompiling this method (06003294)
936
937ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.DataStructures.PlacementHook Terraria.ObjectData.TileObjectData::get_HookCheckIfCanPlace()
938
939 ---> System.Exception: Basic block has to end with unconditional control flow.
940{
941 IL_0029:
942 stfld:class [mscorlib]System.Func`7<int32, int32, int32, int32, int32, int32, int32>(PlacementHook::hook, ldloc:PlacementHook[exp:valuetype Terraria.DataStructures.PlacementHook&](var_0), ldloc:class [mscorlib]System.Func`7<int32, int32, int32, int32, int32, int32, int32>(var_3))
943}
944
945 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
946 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
947 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
948 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
949 --- End of inner exception stack trace ---
950 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
951 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
952*/;
953 }
954 set
955 {
956 if (this._hasOwnPlacementHooks)
957 {
959 return;
960 }
963 if (placementHooks2 != null)
964 {
965 bool processedCoordinates = placementHooks2.check.processedCoordinates;
967 bool processedCoordinates2 = placementHooks2.postPlaceEveryone.processedCoordinates;
968 bool processedCoordinates3 = placementHooks2.postPlaceMyPlayer.processedCoordinates;
970 bool processedCoordinates4 = placementHooks2.placeOverride.processedCoordinates;
971 return;
972 }
973 bool processedCoordinates5 = value.processedCoordinates;
974 }
975 }
976
977 // Token: 0x17000647 RID: 1607
978 // (get) Token: 0x06003296 RID: 12950 RVA: 0x001FA94C File Offset: 0x001F8B4C
979 // (set) Token: 0x06003297 RID: 12951 RVA: 0x001FA978 File Offset: 0x001F8B78
981 {
982 get
983 {
984 /*
985An exception occurred when decompiling this method (06003296)
986
987ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.DataStructures.PlacementHook Terraria.ObjectData.TileObjectData::get_HookPostPlaceEveryone()
988
989 ---> System.Exception: Basic block has to end with unconditional control flow.
990{
991 Block_0:
992 stloc:bool(var_2_15, ldfld:bool(PlacementHook::processedCoordinates, ldfld:PlacementHook[exp:valuetype Terraria.DataStructures.PlacementHook&](TilePlacementHooksModule::postPlaceEveryone, ldloc:TilePlacementHooksModule(var_1_06))))
993 stfld:bool(PlacementHook::processedCoordinates, ldloc:PlacementHook[exp:valuetype Terraria.DataStructures.PlacementHook&](var_0), ldloc:bool(var_2_15))
994}
995
996 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
997 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
998 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
999 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
1000 --- End of inner exception stack trace ---
1001 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
1002 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
1003*/;
1004 }
1005 set
1006 {
1007 if (this._hasOwnPlacementHooks)
1008 {
1010 return;
1011 }
1014 if (placementHooks2 != null)
1015 {
1016 bool processedCoordinates = placementHooks2.check.processedCoordinates;
1018 bool processedCoordinates2 = placementHooks2.postPlaceEveryone.processedCoordinates;
1019 bool processedCoordinates3 = placementHooks2.postPlaceMyPlayer.processedCoordinates;
1021 bool processedCoordinates4 = placementHooks2.placeOverride.processedCoordinates;
1022 return;
1023 }
1024 bool processedCoordinates5 = value.processedCoordinates;
1025 }
1026 }
1027
1028 // Token: 0x17000648 RID: 1608
1029 // (get) Token: 0x06003298 RID: 12952 RVA: 0x001FA9FC File Offset: 0x001F8BFC
1030 // (set) Token: 0x06003299 RID: 12953 RVA: 0x001FAA38 File Offset: 0x001F8C38
1032 {
1033 get
1034 {
1035 /*
1036An exception occurred when decompiling this method (06003298)
1037
1038ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.DataStructures.PlacementHook Terraria.ObjectData.TileObjectData::get_HookPostPlaceMyPlayer()
1039
1040 ---> System.Exception: Basic block has to end with unconditional control flow.
1041{
1042 IL_0029:
1043 stfld:class [mscorlib]System.Func`7<int32, int32, int32, int32, int32, int32, int32>(PlacementHook::hook, ldloc:PlacementHook[exp:valuetype Terraria.DataStructures.PlacementHook&](var_0), ldloc:class [mscorlib]System.Func`7<int32, int32, int32, int32, int32, int32, int32>(var_3))
1044}
1045
1046 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
1047 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
1048 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
1049 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
1050 --- End of inner exception stack trace ---
1051 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
1052 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
1053*/;
1054 }
1055 set
1056 {
1057 if (this._hasOwnPlacementHooks)
1058 {
1060 return;
1061 }
1064 if (placementHooks2 != null)
1065 {
1066 bool processedCoordinates = placementHooks2.check.processedCoordinates;
1068 bool processedCoordinates2 = placementHooks2.postPlaceEveryone.processedCoordinates;
1069 bool processedCoordinates3 = placementHooks2.postPlaceMyPlayer.processedCoordinates;
1071 bool processedCoordinates4 = placementHooks2.placeOverride.processedCoordinates;
1072 return;
1073 }
1074 bool processedCoordinates5 = value.processedCoordinates;
1075 }
1076 }
1077
1078 // Token: 0x17000649 RID: 1609
1079 // (get) Token: 0x0600329A RID: 12954 RVA: 0x001FAABC File Offset: 0x001F8CBC
1080 // (set) Token: 0x0600329B RID: 12955 RVA: 0x001FAAE8 File Offset: 0x001F8CE8
1082 {
1083 get
1084 {
1085 /*
1086An exception occurred when decompiling this method (0600329A)
1087
1088ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.DataStructures.PlacementHook Terraria.ObjectData.TileObjectData::get_HookPlaceOverride()
1089
1090 ---> System.Exception: Basic block has to end with unconditional control flow.
1091{
1092 Block_0:
1093 stloc:bool(var_2_15, ldfld:bool(PlacementHook::processedCoordinates, ldfld:PlacementHook[exp:valuetype Terraria.DataStructures.PlacementHook&](TilePlacementHooksModule::placeOverride, ldloc:TilePlacementHooksModule(var_1_06))))
1094 stfld:bool(PlacementHook::processedCoordinates, ldloc:PlacementHook[exp:valuetype Terraria.DataStructures.PlacementHook&](var_0), ldloc:bool(var_2_15))
1095}
1096
1097 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
1098 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
1099 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
1100 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
1101 --- End of inner exception stack trace ---
1102 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
1103 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
1104*/;
1105 }
1106 set
1107 {
1108 if (this._hasOwnPlacementHooks)
1109 {
1111 return;
1112 }
1115 if (placementHooks2 != null)
1116 {
1117 bool processedCoordinates = placementHooks2.check.processedCoordinates;
1119 bool processedCoordinates2 = placementHooks2.postPlaceEveryone.processedCoordinates;
1120 bool processedCoordinates3 = placementHooks2.postPlaceMyPlayer.processedCoordinates;
1122 bool processedCoordinates4 = placementHooks2.placeOverride.processedCoordinates;
1123 return;
1124 }
1125 bool processedCoordinates5 = value.processedCoordinates;
1126 }
1127 }
1128
1129 // Token: 0x1700064A RID: 1610
1130 // (get) Token: 0x0600329C RID: 12956 RVA: 0x001FAB6C File Offset: 0x001F8D6C
1131 // (set) Token: 0x0600329D RID: 12957 RVA: 0x001FAB80 File Offset: 0x001F8D80
1133 {
1134 get
1135 {
1136 /*
1137An exception occurred when decompiling this method (0600329C)
1138
1139ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.List`1<Terraria.ObjectData.TileObjectData> Terraria.ObjectData.TileObjectData::get_SubTiles()
1140
1141 ---> System.Exception: Basic block has to end with unconditional control flow.
1142{
1143 IL_0000:
1144 brtrue(IL_0000, ldfld:TileObjectSubTilesModule[exp:bool](TileObjectData::_subTiles, ldloc:TileObjectData(this)))
1145}
1146
1147 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
1148 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
1149 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
1150 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
1151 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
1152 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
1153 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
1154 --- End of inner exception stack trace ---
1155 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
1156 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
1157*/;
1158 }
1159 set
1160 {
1161 if (this._hasOwnSubTiles)
1162 {
1164 return;
1165 }
1166 this._hasOwnSubTiles = true;
1167 }
1168 }
1169
1170 // Token: 0x1700064B RID: 1611
1171 // (get) Token: 0x0600329E RID: 12958 RVA: 0x001FABA4 File Offset: 0x001F8DA4
1172 // (set) Token: 0x0600329F RID: 12959 RVA: 0x001FABC4 File Offset: 0x001F8DC4
1173 public int DrawYOffset
1174 {
1175 get
1176 {
1178 while (tileObjectDraw == null)
1179 {
1180 }
1181 return tileObjectDraw.yOffset;
1182 }
1183 set
1184 {
1187 if (!hasOwnTileObjectDraw)
1188 {
1189 int yOffset = tileObjectDraw.yOffset;
1190 int num = 1;
1191 this._hasOwnTileObjectDraw = num != 0;
1192 }
1193 if (this._linkedAlternates)
1194 {
1195 int size = this._alternates.data._size;
1196 int size2 = this._alternates.data._size;
1197 }
1198 }
1199 }
1200
1201 // Token: 0x1700064C RID: 1612
1202 // (get) Token: 0x060032A0 RID: 12960 RVA: 0x001FAC24 File Offset: 0x001F8E24
1203 // (set) Token: 0x060032A1 RID: 12961 RVA: 0x001FAC44 File Offset: 0x001F8E44
1204 public int DrawXOffset
1205 {
1206 get
1207 {
1209 while (tileObjectDraw == null)
1210 {
1211 }
1212 return tileObjectDraw.xOffset;
1213 }
1214 set
1215 {
1218 if (!hasOwnTileObjectDraw)
1219 {
1220 int xOffset = tileObjectDraw.xOffset;
1221 int num = 1;
1222 this._hasOwnTileObjectDraw = num != 0;
1223 }
1224 if (this._linkedAlternates)
1225 {
1226 int size = this._alternates.data._size;
1227 int size2 = this._alternates.data._size;
1228 }
1229 }
1230 }
1231
1232 // Token: 0x1700064D RID: 1613
1233 // (get) Token: 0x060032A2 RID: 12962 RVA: 0x001FACA4 File Offset: 0x001F8EA4
1234 // (set) Token: 0x060032A3 RID: 12963 RVA: 0x001FACC4 File Offset: 0x001F8EC4
1236 {
1237 get
1238 {
1240 while (tileObjectDraw == null)
1241 {
1242 }
1244 }
1245 set
1246 {
1249 if (!hasOwnTileObjectDraw)
1250 {
1251 bool flipHorizontal = tileObjectDraw.flipHorizontal;
1252 int num = 1;
1253 this._hasOwnTileObjectDraw = num != 0;
1254 }
1255 if (this._linkedAlternates)
1256 {
1257 int size = this._alternates.data._size;
1258 int size2 = this._alternates.data._size;
1259 }
1260 }
1261 }
1262
1263 // Token: 0x1700064E RID: 1614
1264 // (get) Token: 0x060032A4 RID: 12964 RVA: 0x001FAD24 File Offset: 0x001F8F24
1265 // (set) Token: 0x060032A5 RID: 12965 RVA: 0x001FAD44 File Offset: 0x001F8F44
1267 {
1268 get
1269 {
1271 while (tileObjectDraw == null)
1272 {
1273 }
1275 }
1276 set
1277 {
1280 if (!hasOwnTileObjectDraw)
1281 {
1282 bool flipVertical = tileObjectDraw.flipVertical;
1283 int num = 1;
1284 this._hasOwnTileObjectDraw = num != 0;
1285 }
1286 if (this._linkedAlternates)
1287 {
1288 int size = this._alternates.data._size;
1289 int size2 = this._alternates.data._size;
1290 }
1291 }
1292 }
1293
1294 // Token: 0x1700064F RID: 1615
1295 // (get) Token: 0x060032A6 RID: 12966 RVA: 0x001FADA4 File Offset: 0x001F8FA4
1296 // (set) Token: 0x060032A7 RID: 12967 RVA: 0x001FADC4 File Offset: 0x001F8FC4
1297 public int DrawStepDown
1298 {
1299 get
1300 {
1302 while (tileObjectDraw == null)
1303 {
1304 }
1305 return tileObjectDraw.stepDown;
1306 }
1307 set
1308 {
1311 if (!hasOwnTileObjectDraw)
1312 {
1313 int stepDown = tileObjectDraw.stepDown;
1314 int num = 1;
1315 this._hasOwnTileObjectDraw = num != 0;
1316 }
1317 if (this._linkedAlternates)
1318 {
1319 int size = this._alternates.data._size;
1320 int size2 = this._alternates.data._size;
1321 }
1322 }
1323 }
1324
1325 // Token: 0x17000650 RID: 1616
1326 // (get) Token: 0x060032A8 RID: 12968 RVA: 0x001FAE24 File Offset: 0x001F9024
1327 // (set) Token: 0x060032A9 RID: 12969 RVA: 0x001FAE44 File Offset: 0x001F9044
1329 {
1330 get
1331 {
1333 while (tileObjectStyle == null)
1334 {
1335 }
1337 }
1338 set
1339 {
1342 if (!hasOwnTileObjectStyle)
1343 {
1344 bool horizontal = tileObjectStyle.horizontal;
1345 int num = 1;
1346 this._hasOwnTileObjectStyle = num != 0;
1347 }
1348 if (this._linkedAlternates)
1349 {
1350 int size = this._alternates.data._size;
1351 int size2 = this._alternates.data._size;
1352 }
1353 }
1354 }
1355
1356 // Token: 0x17000651 RID: 1617
1357 // (get) Token: 0x060032AA RID: 12970 RVA: 0x001FAEA4 File Offset: 0x001F90A4
1358 // (set) Token: 0x060032AB RID: 12971 RVA: 0x001FAEB8 File Offset: 0x001F90B8
1359 public int Style
1360 {
1361 get
1362 {
1363 /*
1364An exception occurred when decompiling this method (060032AA)
1365
1366ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_Style()
1367
1368 ---> System.Exception: Basic block has to end with unconditional control flow.
1369{
1370 IL_0000:
1371 brtrue(IL_0000, ldfld:TileObjectStyleModule[exp:bool](TileObjectData::_tileObjectStyle, ldloc:TileObjectData(this)))
1372}
1373
1374 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
1375 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
1376 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
1377 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
1378 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
1379 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
1380 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
1381 --- End of inner exception stack trace ---
1382 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
1383 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
1384*/;
1385 }
1386 set
1387 {
1390 if (!hasOwnTileObjectStyle)
1391 {
1392 int style = tileObjectStyle.style;
1393 int num = 1;
1394 this._hasOwnTileObjectStyle = num != 0;
1395 }
1396 if (this._linkedAlternates)
1397 {
1398 int size = this._alternates.data._size;
1399 int size2 = this._alternates.data._size;
1400 }
1401 }
1402 }
1403
1404 // Token: 0x17000652 RID: 1618
1405 // (get) Token: 0x060032AC RID: 12972 RVA: 0x001FAF18 File Offset: 0x001F9118
1406 // (set) Token: 0x060032AD RID: 12973 RVA: 0x001FAF2C File Offset: 0x001F912C
1408 {
1409 get
1410 {
1411 /*
1412An exception occurred when decompiling this method (060032AC)
1413
1414ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_StyleWrapLimit()
1415
1416 ---> System.Exception: Basic block has to end with unconditional control flow.
1417{
1418 IL_0000:
1419 brtrue(IL_0000, ldfld:TileObjectStyleModule[exp:bool](TileObjectData::_tileObjectStyle, ldloc:TileObjectData(this)))
1420}
1421
1422 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
1423 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
1424 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
1425 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
1426 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
1427 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
1428 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
1429 --- End of inner exception stack trace ---
1430 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
1431 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
1432*/;
1433 }
1434 set
1435 {
1438 if (!hasOwnTileObjectStyle)
1439 {
1440 int styleWrapLimit = tileObjectStyle.styleWrapLimit;
1441 int num = 1;
1442 this._hasOwnTileObjectStyle = num != 0;
1443 }
1444 if (this._linkedAlternates)
1445 {
1446 int size = this._alternates.data._size;
1447 int size2 = this._alternates.data._size;
1448 }
1449 }
1450 }
1451
1452 // Token: 0x17000653 RID: 1619
1453 // (get) Token: 0x060032AE RID: 12974 RVA: 0x001FAF8C File Offset: 0x001F918C
1454 // (set) Token: 0x060032AF RID: 12975 RVA: 0x001FAFA0 File Offset: 0x001F91A0
1456 {
1457 get
1458 {
1459 /*
1460An exception occurred when decompiling this method (060032AE)
1461
1462ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Nullable`1<System.Int32> Terraria.ObjectData.TileObjectData::get_StyleWrapLimitVisualOverride()
1463
1464 ---> System.Exception: Basic block has to end with unconditional control flow.
1465{
1466 IL_0000:
1467 brtrue(IL_0000, ldfld:TileObjectStyleModule[exp:bool](TileObjectData::_tileObjectStyle, ldloc:TileObjectData(this)))
1468}
1469
1470 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
1471 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
1472 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
1473 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
1474 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
1475 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
1476 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
1477 --- End of inner exception stack trace ---
1478 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
1479 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
1480*/;
1481 }
1482 set
1483 {
1486 if (!hasOwnTileObjectStyle)
1487 {
1488 int? styleWrapLimitVisualOverride = tileObjectStyle.styleWrapLimitVisualOverride;
1489 int? styleLineSkipVisualoverride = tileObjectStyle.styleLineSkipVisualoverride;
1490 int num = 1;
1491 this._hasOwnTileObjectStyle = num != 0;
1492 }
1493 if (this._linkedAlternates)
1494 {
1495 int size = this._alternates.data._size;
1496 int size2 = this._alternates.data._size;
1497 }
1498 }
1499 }
1500
1501 // Token: 0x17000654 RID: 1620
1502 // (get) Token: 0x060032B0 RID: 12976 RVA: 0x001FB008 File Offset: 0x001F9208
1503 // (set) Token: 0x060032B1 RID: 12977 RVA: 0x001FB01C File Offset: 0x001F921C
1505 {
1506 get
1507 {
1508 /*
1509An exception occurred when decompiling this method (060032B0)
1510
1511ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Nullable`1<System.Int32> Terraria.ObjectData.TileObjectData::get_styleLineSkipVisualOverride()
1512
1513 ---> System.Exception: Basic block has to end with unconditional control flow.
1514{
1515 IL_0000:
1516 brtrue(IL_0000, ldfld:TileObjectStyleModule[exp:bool](TileObjectData::_tileObjectStyle, ldloc:TileObjectData(this)))
1517}
1518
1519 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
1520 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
1521 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
1522 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
1523 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
1524 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
1525 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
1526 --- End of inner exception stack trace ---
1527 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
1528 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
1529*/;
1530 }
1531 set
1532 {
1535 if (!hasOwnTileObjectStyle)
1536 {
1537 int? styleLineSkipVisualoverride = tileObjectStyle.styleLineSkipVisualoverride;
1538 int num = 1;
1539 this._hasOwnTileObjectStyle = num != 0;
1540 }
1541 if (this._linkedAlternates)
1542 {
1543 int size = this._alternates.data._size;
1544 int size2 = this._alternates.data._size;
1545 }
1546 }
1547 }
1548
1549 // Token: 0x17000655 RID: 1621
1550 // (get) Token: 0x060032B2 RID: 12978 RVA: 0x001FB07C File Offset: 0x001F927C
1551 // (set) Token: 0x060032B3 RID: 12979 RVA: 0x001FB090 File Offset: 0x001F9290
1552 public int StyleLineSkip
1553 {
1554 get
1555 {
1556 /*
1557An exception occurred when decompiling this method (060032B2)
1558
1559ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_StyleLineSkip()
1560
1561 ---> System.Exception: Basic block has to end with unconditional control flow.
1562{
1563 IL_0000:
1564 brtrue(IL_0000, ldfld:TileObjectStyleModule[exp:bool](TileObjectData::_tileObjectStyle, ldloc:TileObjectData(this)))
1565}
1566
1567 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
1568 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
1569 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
1570 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
1571 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
1572 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
1573 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
1574 --- End of inner exception stack trace ---
1575 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
1576 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
1577*/;
1578 }
1579 set
1580 {
1583 if (!hasOwnTileObjectStyle)
1584 {
1585 int styleLineSkip = tileObjectStyle.styleLineSkip;
1586 int num = 1;
1587 this._hasOwnTileObjectStyle = num != 0;
1588 }
1589 if (this._linkedAlternates)
1590 {
1591 int size = this._alternates.data._size;
1592 int size2 = this._alternates.data._size;
1593 }
1594 }
1595 }
1596
1597 // Token: 0x17000656 RID: 1622
1598 // (get) Token: 0x060032B4 RID: 12980 RVA: 0x001FB0F0 File Offset: 0x001F92F0
1599 // (set) Token: 0x060032B5 RID: 12981 RVA: 0x001FB104 File Offset: 0x001F9304
1601 {
1602 get
1603 {
1604 /*
1605An exception occurred when decompiling this method (060032B4)
1606
1607ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_StyleMultiplier()
1608
1609 ---> System.Exception: Basic block has to end with unconditional control flow.
1610{
1611 IL_0000:
1612 brtrue(IL_0000, ldfld:TileObjectStyleModule[exp:bool](TileObjectData::_tileObjectStyle, ldloc:TileObjectData(this)))
1613}
1614
1615 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
1616 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
1617 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
1618 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
1619 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
1620 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
1621 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
1622 --- End of inner exception stack trace ---
1623 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
1624 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
1625*/;
1626 }
1627 set
1628 {
1631 if (!hasOwnTileObjectStyle)
1632 {
1633 int styleMultiplier = tileObjectStyle.styleMultiplier;
1634 int num = 1;
1635 this._hasOwnTileObjectStyle = num != 0;
1636 }
1637 if (this._linkedAlternates)
1638 {
1639 int size = this._alternates.data._size;
1640 return;
1641 }
1642 }
1643 }
1644
1645 // Token: 0x17000657 RID: 1623
1646 // (get) Token: 0x060032B6 RID: 12982 RVA: 0x001FB164 File Offset: 0x001F9364
1647 // (set) Token: 0x060032B7 RID: 12983 RVA: 0x001FB178 File Offset: 0x001F9378
1648 public int Width
1649 {
1650 get
1651 {
1652 /*
1653An exception occurred when decompiling this method (060032B6)
1654
1655ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_Width()
1656
1657 ---> System.Exception: Basic block has to end with unconditional control flow.
1658{
1659 IL_0000:
1660 brtrue(IL_0000, ldfld:TileObjectBaseModule[exp:bool](TileObjectData::_tileObjectBase, ldloc:TileObjectData(this)))
1661}
1662
1663 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
1664 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
1665 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
1666 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
1667 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
1668 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
1669 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
1670 --- End of inner exception stack trace ---
1671 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
1672 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
1673*/;
1674 }
1675 set
1676 {
1677 if (this._hasOwnTileObjectBase)
1678 {
1680 if (this._linkedAlternates)
1681 {
1682 int size = this._alternates.data._size;
1683 int size2 = this._alternates.data._size;
1684 return;
1685 }
1686 }
1687 else
1688 {
1689 int width = this._tileObjectBase.width;
1690 }
1691 }
1692 }
1693
1694 // Token: 0x17000658 RID: 1624
1695 // (get) Token: 0x060032B8 RID: 12984 RVA: 0x001FB1F8 File Offset: 0x001F93F8
1696 // (set) Token: 0x060032B9 RID: 12985 RVA: 0x001FB20C File Offset: 0x001F940C
1697 public int Height
1698 {
1699 get
1700 {
1701 /*
1702An exception occurred when decompiling this method (060032B8)
1703
1704ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_Height()
1705
1706 ---> System.Exception: Basic block has to end with unconditional control flow.
1707{
1708 IL_0000:
1709 brtrue(IL_0000, ldfld:TileObjectBaseModule[exp:bool](TileObjectData::_tileObjectBase, ldloc:TileObjectData(this)))
1710}
1711
1712 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
1713 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
1714 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
1715 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
1716 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
1717 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
1718 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
1719 --- End of inner exception stack trace ---
1720 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
1721 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
1722*/;
1723 }
1724 set
1725 {
1726 if (this._hasOwnTileObjectBase)
1727 {
1729 if (this._linkedAlternates)
1730 {
1731 int size = this._alternates.data._size;
1732 int size2 = this._alternates.data._size;
1733 return;
1734 }
1735 }
1736 else
1737 {
1738 int height = this._tileObjectBase.height;
1739 }
1740 }
1741 }
1742
1743 // Token: 0x17000659 RID: 1625
1744 // (get) Token: 0x060032BA RID: 12986 RVA: 0x001FB28C File Offset: 0x001F948C
1745 // (set) Token: 0x060032BB RID: 12987 RVA: 0x001FB2AC File Offset: 0x001F94AC
1747 {
1748 get
1749 {
1751 if (tileObjectBase != null)
1752 {
1753 return tileObjectBase.origin;
1754 }
1755 Point16 point;
1756 return point;
1757 }
1758 set
1759 {
1762 if (!hasOwnTileObjectBase)
1763 {
1764 bool flag = tileObjectBase.origin == value;
1765 int num = 1;
1766 this._hasOwnTileObjectBase = num != 0;
1768 }
1769 if (this._linkedAlternates)
1770 {
1771 int size = this._alternates.data._size;
1772 int size2 = this._alternates.data._size;
1773 }
1774 }
1775 }
1776
1777 // Token: 0x1700065A RID: 1626
1778 // (get) Token: 0x060032BC RID: 12988 RVA: 0x001FB318 File Offset: 0x001F9518
1779 // (set) Token: 0x060032BD RID: 12989 RVA: 0x001FB32C File Offset: 0x001F952C
1781 {
1782 get
1783 {
1784 /*
1785An exception occurred when decompiling this method (060032BC)
1786
1787ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Enums.TileObjectDirection Terraria.ObjectData.TileObjectData::get_Direction()
1788
1789 ---> System.Exception: Basic block has to end with unconditional control flow.
1790{
1791 IL_0000:
1792 brtrue(IL_0000, ldfld:TileObjectBaseModule[exp:bool](TileObjectData::_tileObjectBase, ldloc:TileObjectData(this)))
1793}
1794
1795 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
1796 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
1797 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
1798 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
1799 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
1800 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
1801 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
1802 --- End of inner exception stack trace ---
1803 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
1804 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
1805*/;
1806 }
1807 set
1808 {
1811 if (!hasOwnTileObjectBase)
1812 {
1814 int num = 1;
1815 this._hasOwnTileObjectBase = num != 0;
1816 }
1817 if (this._linkedAlternates)
1818 {
1819 int size = this._alternates.data._size;
1820 int size2 = this._alternates.data._size;
1821 }
1822 }
1823 }
1824
1825 // Token: 0x1700065B RID: 1627
1826 // (get) Token: 0x060032BE RID: 12990 RVA: 0x001FB38C File Offset: 0x001F958C
1827 // (set) Token: 0x060032BF RID: 12991 RVA: 0x001FB3A0 File Offset: 0x001F95A0
1829 {
1830 get
1831 {
1832 /*
1833An exception occurred when decompiling this method (060032BE)
1834
1835ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_RandomStyleRange()
1836
1837 ---> System.Exception: Basic block has to end with unconditional control flow.
1838{
1839 IL_0000:
1840 brtrue(IL_0000, ldfld:TileObjectBaseModule[exp:bool](TileObjectData::_tileObjectBase, ldloc:TileObjectData(this)))
1841}
1842
1843 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
1844 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
1845 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
1846 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
1847 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
1848 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
1849 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
1850 --- End of inner exception stack trace ---
1851 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
1852 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
1853*/;
1854 }
1855 set
1856 {
1859 if (!hasOwnTileObjectBase)
1860 {
1861 int randomRange = tileObjectBase.randomRange;
1862 int num = 1;
1863 this._hasOwnTileObjectBase = num != 0;
1864 }
1865 if (this._linkedAlternates)
1866 {
1867 int size = this._alternates.data._size;
1868 int size2 = this._alternates.data._size;
1869 }
1870 }
1871 }
1872
1873 // Token: 0x1700065C RID: 1628
1874 // (get) Token: 0x060032C0 RID: 12992 RVA: 0x001FB400 File Offset: 0x001F9600
1875 // (set) Token: 0x060032C1 RID: 12993 RVA: 0x001FB414 File Offset: 0x001F9614
1877 {
1878 get
1879 {
1880 /*
1881An exception occurred when decompiling this method (060032C0)
1882
1883ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32[] Terraria.ObjectData.TileObjectData::get_SpecificRandomStyles()
1884
1885 ---> System.Exception: Basic block has to end with unconditional control flow.
1886{
1887 IL_0000:
1888 brtrue(IL_0000, ldfld:TileObjectBaseModule[exp:bool](TileObjectData::_tileObjectBase, ldloc:TileObjectData(this)))
1889}
1890
1891 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
1892 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
1893 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
1894 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
1895 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
1896 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
1897 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
1898 --- End of inner exception stack trace ---
1899 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
1900 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
1901*/;
1902 }
1903 set
1904 {
1907 if (!hasOwnTileObjectBase)
1908 {
1909 int[] specificRandomStyles = tileObjectBase.specificRandomStyles;
1910 int num = 1;
1911 this._hasOwnTileObjectBase = num != 0;
1912 }
1913 if (this._linkedAlternates)
1914 {
1915 int size = this._alternates.data._size;
1916 int size2 = this._alternates.data._size;
1917 }
1918 }
1919 }
1920
1921 // Token: 0x1700065D RID: 1629
1922 // (get) Token: 0x060032C2 RID: 12994 RVA: 0x001FB474 File Offset: 0x001F9674
1923 // (set) Token: 0x060032C3 RID: 12995 RVA: 0x001FB488 File Offset: 0x001F9688
1924 public bool FlattenAnchors
1925 {
1926 get
1927 {
1928 /*
1929An exception occurred when decompiling this method (060032C2)
1930
1931ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::get_FlattenAnchors()
1932
1933 ---> System.Exception: Basic block has to end with unconditional control flow.
1934{
1935 IL_0000:
1936 brtrue(IL_0000, ldfld:TileObjectBaseModule[exp:bool](TileObjectData::_tileObjectBase, ldloc:TileObjectData(this)))
1937}
1938
1939 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
1940 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
1941 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
1942 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
1943 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
1944 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
1945 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
1946 --- End of inner exception stack trace ---
1947 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
1948 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
1949*/;
1950 }
1951 set
1952 {
1955 if (!hasOwnTileObjectBase)
1956 {
1957 bool flattenAnchors = tileObjectBase.flattenAnchors;
1958 int num = 1;
1959 this._hasOwnTileObjectBase = num != 0;
1960 }
1961 if (this._linkedAlternates)
1962 {
1963 int size = this._alternates.data._size;
1964 int size2 = this._alternates.data._size;
1965 }
1966 }
1967 }
1968
1969 // Token: 0x1700065E RID: 1630
1970 // (get) Token: 0x060032C4 RID: 12996 RVA: 0x001FB4E8 File Offset: 0x001F96E8
1971 // (set) Token: 0x060032C5 RID: 12997 RVA: 0x001FB4FC File Offset: 0x001F96FC
1973 {
1974 get
1975 {
1976 /*
1977An exception occurred when decompiling this method (060032C4)
1978
1979ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32[] Terraria.ObjectData.TileObjectData::get_CoordinateHeights()
1980
1981 ---> System.Exception: Basic block has to end with unconditional control flow.
1982{
1983 IL_0000:
1984 brtrue(IL_0000, ldfld:TileObjectCoordinatesModule[exp:bool](TileObjectData::_tileObjectCoords, ldloc:TileObjectData(this)))
1985}
1986
1987 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
1988 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
1989 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
1990 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
1991 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
1992 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
1993 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
1994 --- End of inner exception stack trace ---
1995 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
1996 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
1997*/;
1998 }
1999 set
2000 {
2003 if (hasOwnTileObjectCoords)
2004 {
2006 return;
2007 }
2008 int[] heights = tileObjectCoords.heights;
2009 bool flag = value.deepCompare(heights);
2010 int num = 1;
2013 if (this._linkedAlternates)
2014 {
2015 int size = this._alternates.data._size;
2016 if (value == null)
2017 {
2018 return;
2019 }
2020 object obj;
2021 if (obj != null && obj == null)
2022 {
2023 return;
2024 }
2026 int size2 = this._alternates.data._size;
2027 }
2028 }
2029 }
2030
2031 // Token: 0x1700065F RID: 1631
2032 // (get) Token: 0x060032C6 RID: 12998 RVA: 0x001FB594 File Offset: 0x001F9794
2033 // (set) Token: 0x060032C7 RID: 12999 RVA: 0x001FB5A8 File Offset: 0x001F97A8
2035 {
2036 get
2037 {
2038 /*
2039An exception occurred when decompiling this method (060032C6)
2040
2041ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_CoordinateWidth()
2042
2043 ---> System.Exception: Basic block has to end with unconditional control flow.
2044{
2045 IL_0000:
2046 brtrue(IL_0000, ldfld:TileObjectCoordinatesModule[exp:bool](TileObjectData::_tileObjectCoords, ldloc:TileObjectData(this)))
2047}
2048
2049 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
2050 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
2051 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
2052 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
2053 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
2054 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
2055 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
2056 --- End of inner exception stack trace ---
2057 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
2058 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
2059*/;
2060 }
2061 set
2062 {
2065 if (!hasOwnTileObjectCoords)
2066 {
2067 int width = tileObjectCoords.width;
2068 int num = 1;
2070 }
2071 if (this._linkedAlternates)
2072 {
2073 int size = this._alternates.data._size;
2074 int size2 = this._alternates.data._size;
2075 }
2076 }
2077 }
2078
2079 // Token: 0x17000660 RID: 1632
2080 // (get) Token: 0x060032C8 RID: 13000 RVA: 0x001FB608 File Offset: 0x001F9808
2081 // (set) Token: 0x060032C9 RID: 13001 RVA: 0x001FB61C File Offset: 0x001F981C
2083 {
2084 get
2085 {
2086 /*
2087An exception occurred when decompiling this method (060032C8)
2088
2089ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_CoordinatePadding()
2090
2091 ---> System.Exception: Basic block has to end with unconditional control flow.
2092{
2093 IL_0000:
2094 brtrue(IL_0000, ldfld:TileObjectCoordinatesModule[exp:bool](TileObjectData::_tileObjectCoords, ldloc:TileObjectData(this)))
2095}
2096
2097 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
2098 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
2099 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
2100 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
2101 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
2102 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
2103 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
2104 --- End of inner exception stack trace ---
2105 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
2106 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
2107*/;
2108 }
2109 set
2110 {
2113 if (!hasOwnTileObjectCoords)
2114 {
2115 int padding = tileObjectCoords.padding;
2116 int num = 1;
2118 }
2119 if (this._linkedAlternates)
2120 {
2121 int size = this._alternates.data._size;
2122 int size2 = this._alternates.data._size;
2123 }
2124 }
2125 }
2126
2127 // Token: 0x17000661 RID: 1633
2128 // (get) Token: 0x060032CA RID: 13002 RVA: 0x001FB67C File Offset: 0x001F987C
2129 // (set) Token: 0x060032CB RID: 13003 RVA: 0x001FB69C File Offset: 0x001F989C
2131 {
2132 get
2133 {
2135 if (tileObjectCoords != null)
2136 {
2138 }
2139 Point16 point;
2140 return point;
2141 }
2142 set
2143 {
2146 if (!hasOwnTileObjectCoords)
2147 {
2148 bool flag = tileObjectCoords.paddingFix == value;
2149 int num = 1;
2152 }
2154 if (this._linkedAlternates)
2155 {
2156 int size = this._alternates.data._size;
2157 int size2 = this._alternates.data._size;
2158 }
2159 }
2160 }
2161
2162 // Token: 0x17000662 RID: 1634
2163 // (get) Token: 0x060032CC RID: 13004 RVA: 0x001FB710 File Offset: 0x001F9910
2165 {
2166 get
2167 {
2168 if (this._tileObjectCoords == null)
2169 {
2170 }
2171 this.Calculate();
2172 return this._tileObjectCoords.styleWidth;
2173 }
2174 }
2175
2176 // Token: 0x17000663 RID: 1635
2177 // (get) Token: 0x060032CD RID: 13005 RVA: 0x001FB738 File Offset: 0x001F9938
2179 {
2180 get
2181 {
2182 if (this._tileObjectCoords == null)
2183 {
2184 }
2185 this.Calculate();
2186 return this._tileObjectCoords.styleHeight;
2187 }
2188 }
2189
2190 // Token: 0x17000664 RID: 1636
2191 // (get) Token: 0x060032CE RID: 13006 RVA: 0x001FB760 File Offset: 0x001F9960
2192 // (set) Token: 0x060032CF RID: 13007 RVA: 0x001FB774 File Offset: 0x001F9974
2194 {
2195 get
2196 {
2197 /*
2198An exception occurred when decompiling this method (060032CE)
2199
2200ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_DrawStyleOffset()
2201
2202 ---> System.Exception: Basic block has to end with unconditional control flow.
2203{
2204 IL_0000:
2205 brtrue(IL_0000, ldfld:TileObjectCoordinatesModule[exp:bool](TileObjectData::_tileObjectCoords, ldloc:TileObjectData(this)))
2206}
2207
2208 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
2209 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
2210 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
2211 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
2212 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
2213 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
2214 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
2215 --- End of inner exception stack trace ---
2216 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
2217 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
2218*/;
2219 }
2220 set
2221 {
2224 if (!hasOwnTileObjectCoords)
2225 {
2226 int drawStyleOffset = tileObjectCoords.drawStyleOffset;
2227 int num = 1;
2229 }
2230 if (this._linkedAlternates)
2231 {
2232 int size = this._alternates.data._size;
2233 int size2 = this._alternates.data._size;
2234 }
2235 }
2236 }
2237
2238 // Token: 0x060032D0 RID: 13008 RVA: 0x001FB7D4 File Offset: 0x001F99D4
2240 {
2241 int num = 1;
2242 if (this._liquidPlacement == null)
2243 {
2244 if (num != 0)
2245 {
2246 if (this._liquidPlacement != null)
2247 {
2248 goto IL_0042;
2249 }
2250 if (this._liquidPlacement == null)
2251 {
2252 }
2253 if (this._liquidPlacement != null)
2254 {
2255 goto IL_003A;
2256 }
2257 }
2258 if (this._liquidPlacement == null)
2259 {
2260 }
2261 if (this._liquidPlacement != null)
2262 {
2263 goto IL_0042;
2264 }
2265 }
2266 IL_003A:
2267 if (this._liquidPlacement != null)
2268 {
2269 return;
2270 }
2271 IL_0042:
2272 if (this._liquidPlacement == null)
2273 {
2274 return;
2275 }
2276 }
2277
2278 // Token: 0x17000665 RID: 1637
2279 // (get) Token: 0x060032D1 RID: 13009 RVA: 0x001FB834 File Offset: 0x001F9A34
2281 {
2282 get
2283 {
2284 /*
2285An exception occurred when decompiling this method (060032D1)
2286
2287ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::get_AlternatesCount()
2288
2289 ---> System.Exception: Basic block has to end with unconditional control flow.
2290{
2291 IL_0000:
2292 brtrue(IL_0000, ldfld:TileObjectAlternatesModule[exp:bool](TileObjectData::_alternates, ldloc:TileObjectData(this)))
2293}
2294
2295 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
2296 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
2297 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
2298 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
2299 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
2300 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
2301 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
2302 --- End of inner exception stack trace ---
2303 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
2304 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
2305*/;
2306 }
2307 }
2308
2309 // Token: 0x060032D2 RID: 13010 RVA: 0x001FB848 File Offset: 0x001F9A48
2310 public bool isValidTileAnchor(int type)
2311 {
2313 if (anchorTiles == null)
2314 {
2315 return;
2316 }
2317 int[] tileValid = anchorTiles.tileValid;
2318 if (tileValid != null)
2319 {
2320 return;
2321 }
2322 }
2323
2324 // Token: 0x060032D3 RID: 13011 RVA: 0x001FB874 File Offset: 0x001F9A74
2325 public bool isValidWallAnchor(int type)
2326 {
2328 if (anchorTiles == null || anchorTiles.wallValid != null)
2329 {
2330 return;
2331 }
2332 }
2333
2334 // Token: 0x060032D4 RID: 13012 RVA: 0x001FB898 File Offset: 0x001F9A98
2335 public bool isValidAlternateAnchor(int type)
2336 {
2338 if (anchorTiles == null || anchorTiles.tileAlternates != null)
2339 {
2340 return;
2341 }
2342 }
2343
2344 // Token: 0x060032D5 RID: 13013 RVA: 0x001FB8BC File Offset: 0x001F9ABC
2345 public int CalculatePlacementStyle(int style, int alternate, int random)
2346 {
2347 /*
2348An exception occurred when decompiling this method (060032D5)
2349
2350ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.ObjectData.TileObjectData::CalculatePlacementStyle(System.Int32,System.Int32,System.Int32)
2351
2352 ---> System.Exception: Basic block has to end with unconditional control flow.
2353{
2354 IL_0008:
2355 brtrue(IL_0000, ldfld:TileObjectStyleModule[exp:bool](TileObjectData::_tileObjectStyle, ldloc:TileObjectData(this)))
2356}
2357
2358 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
2359 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
2360 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
2361 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
2362 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
2363 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
2364 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
2365 --- End of inner exception stack trace ---
2366 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
2367 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
2368*/;
2369 }
2370
2371 // Token: 0x060032D6 RID: 13014 RVA: 0x001FB8D8 File Offset: 0x001F9AD8
2372 private static void addBaseTile([Out] TileObjectData baseTile)
2373 {
2374 }
2375
2376 // Token: 0x060032D7 RID: 13015 RVA: 0x001FB8E8 File Offset: 0x001F9AE8
2377 private static void addTile(int tileType)
2378 {
2379 }
2380
2381 // Token: 0x060032D8 RID: 13016 RVA: 0x001FB8F8 File Offset: 0x001F9AF8
2382 private static void addSubTile(params int[] styles)
2383 {
2384 }
2385
2386 // Token: 0x060032D9 RID: 13017 RVA: 0x001FB90C File Offset: 0x001F9B0C
2387 private static void addSubTile(int style)
2388 {
2389 }
2390
2391 // Token: 0x060032DA RID: 13018 RVA: 0x001FB920 File Offset: 0x001F9B20
2392 private static void addAlternate(int baseStyle)
2393 {
2394 }
2395
2396 // Token: 0x060032DB RID: 13019 RVA: 0x001FB934 File Offset: 0x001F9B34
2397 public static void Initialize()
2398 {
2399 }
2400
2401 // Token: 0x060032DC RID: 13020 RVA: 0x000021DB File Offset: 0x000003DB
2402 public static bool CustomPlace(int type, int style)
2403 {
2404 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2405 }
2406
2407 // Token: 0x060032DD RID: 13021 RVA: 0x001FDCAC File Offset: 0x001FBEAC
2408 public static bool CheckLiquidPlacement(int type, int style, Tile checkTile)
2409 {
2411 if (tileObjectData != null)
2412 {
2413 bool flag;
2414 return flag;
2415 }
2416 bool flag2;
2417 return flag2;
2418 }
2419
2420 // Token: 0x060032DE RID: 13022 RVA: 0x001FDCC0 File Offset: 0x001FBEC0
2421 public static bool LiquidPlace(int type, Tile checkTile)
2422 {
2423 int num = 1;
2424 if (num == 0 || num == 0)
2425 {
2426 }
2427 if (num == 0)
2428 {
2429 }
2430 if (num != 0)
2431 {
2432 return;
2433 }
2434 }
2435
2436 // Token: 0x060032DF RID: 13023 RVA: 0x001FDCE0 File Offset: 0x001FBEE0
2437 public static bool CheckWaterDeath(int type, int style)
2438 {
2439 /*
2440An exception occurred when decompiling this method (060032DF)
2441
2442ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::CheckWaterDeath(System.Int32,System.Int32)
2443
2444 ---> System.Exception: Basic block has to end with unconditional control flow.
2445{
2446 IL_001B:
2447 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
2448}
2449
2450 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
2451 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
2452 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
2453 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
2454 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
2455 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
2456 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
2457 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
2458 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
2459 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
2460 --- End of inner exception stack trace ---
2461 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
2462 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
2463*/;
2464 }
2465
2466 // Token: 0x060032E0 RID: 13024 RVA: 0x001FDD0C File Offset: 0x001FBF0C
2467 public static bool CheckWaterDeath(Tile checkTile)
2468 {
2469 /*
2470An exception occurred when decompiling this method (060032E0)
2471
2472ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::CheckWaterDeath(Terraria.Tile)
2473
2474 ---> System.Exception: Basic block has to end with unconditional control flow.
2475{
2476 IL_000E:
2477 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
2478}
2479
2480 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
2481 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
2482 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
2483 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
2484 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
2485 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
2486 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
2487 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
2488 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
2489 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
2490 --- End of inner exception stack trace ---
2491 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
2492 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
2493*/;
2494 }
2495
2496 // Token: 0x060032E1 RID: 13025 RVA: 0x001FDD2C File Offset: 0x001FBF2C
2497 public static bool CheckLavaDeath(int type, int style)
2498 {
2499 /*
2500An exception occurred when decompiling this method (060032E1)
2501
2502ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::CheckLavaDeath(System.Int32,System.Int32)
2503
2504 ---> System.Exception: Basic block has to end with unconditional control flow.
2505{
2506 IL_001B:
2507 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
2508}
2509
2510 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
2511 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
2512 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
2513 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
2514 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
2515 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
2516 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
2517 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
2518 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
2519 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
2520 --- End of inner exception stack trace ---
2521 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
2522 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
2523*/;
2524 }
2525
2526 // Token: 0x060032E2 RID: 13026 RVA: 0x001FDD58 File Offset: 0x001FBF58
2527 public static bool CheckLavaDeath(Tile checkTile)
2528 {
2529 /*
2530An exception occurred when decompiling this method (060032E2)
2531
2532ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.ObjectData.TileObjectData::CheckLavaDeath(Terraria.Tile)
2533
2534 ---> System.Exception: Basic block has to end with unconditional control flow.
2535{
2536 IL_000E:
2537 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
2538}
2539
2540 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
2541 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
2542 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
2543 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
2544 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
2545 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
2546 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
2547 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
2548 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
2549 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
2550 --- End of inner exception stack trace ---
2551 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
2552 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
2553*/;
2554 }
2555
2556 // Token: 0x060032E3 RID: 13027 RVA: 0x001FDD78 File Offset: 0x001FBF78
2557 public static int PlatformFrameWidth()
2558 {
2559 int num;
2560 return num;
2561 }
2562
2563 // Token: 0x060032E4 RID: 13028 RVA: 0x001FDD88 File Offset: 0x001FBF88
2564 public static TileObjectData GetTileData(int type, int style, int alternate = 0)
2565 {
2566 return "Function called with a bad type argument";
2567 }
2568
2569 // Token: 0x060032E5 RID: 13029 RVA: 0x001FDD9C File Offset: 0x001FBF9C
2571 {
2572 for (;;)
2573 {
2574 int num = 1;
2575 int num2 = 1;
2576 if (num == 0)
2577 {
2578 }
2579 if (num2 != 0)
2580 {
2581 int num3 = 1;
2582 if (true)
2583 {
2584 int num4 = 1;
2585 if (num3 == 0)
2586 {
2587 }
2588 if (num4 == 0 && true)
2589 {
2590 break;
2591 }
2592 }
2593 }
2594 }
2595 if (!true)
2596 {
2597 }
2598 if (!true)
2599 {
2600 return;
2601 }
2602 }
2603
2604 // Token: 0x060032E6 RID: 13030 RVA: 0x001FDDF0 File Offset: 0x001FBFF0
2605 public static void SyncObjectPlacement(int tileX, int tileY, int type, int style, int dir)
2606 {
2607 if (!true)
2608 {
2609 }
2610 long num = 0L;
2611 TileObjectData tileData = TileObjectData.GetTileData(type, style, (int)num);
2612 }
2613
2614 // Token: 0x060032E7 RID: 13031 RVA: 0x001FDE0C File Offset: 0x001FC00C
2615 public static bool CallPostPlacementPlayerHook(int tileX, int tileY, int type, int style, int dir, int alternate, TileObject data)
2616 {
2618 do
2619 {
2621 }
2622 while (tileData == null);
2624 if (placementHooks != null && placementHooks.postPlaceMyPlayer != null)
2625 {
2626 bool processedCoordinates = placementHooks.postPlaceMyPlayer.processedCoordinates;
2627 int badReturn = placementHooks.postPlaceMyPlayer.badReturn;
2628 Point16 origin = tileData.Origin;
2629 Point16 origin2 = tileData.Origin;
2630 return;
2631 }
2632 }
2633
2634 // Token: 0x060032E8 RID: 13032 RVA: 0x001FDE64 File Offset: 0x001FC064
2635 public static void OriginToTopLeft(int type, int style, Point16 baseCoords)
2636 {
2637 long num = 0L;
2638 TileObjectData tileData = TileObjectData.GetTileData(type, style, (int)num);
2639 if (tileData != null)
2640 {
2641 Point16 origin = tileData.Origin;
2642 Point16 origin2 = tileData.Origin;
2643 }
2644 }
2645
2646 // Token: 0x04003BA4 RID: 15268
2648
2649 // Token: 0x04003BA5 RID: 15269
2650 private bool _linkedAlternates;
2651
2652 // Token: 0x04003BA6 RID: 15270
2654
2655 // Token: 0x04003BA7 RID: 15271
2657
2658 // Token: 0x04003BA8 RID: 15272
2660
2661 // Token: 0x04003BA9 RID: 15273
2663
2664 // Token: 0x04003BAA RID: 15274
2666
2667 // Token: 0x04003BAB RID: 15275
2669
2670 // Token: 0x04003BAC RID: 15276
2672
2673 // Token: 0x04003BAD RID: 15277
2675
2676 // Token: 0x04003BAE RID: 15278
2678
2679 // Token: 0x04003BAF RID: 15279
2681
2682 // Token: 0x04003BB0 RID: 15280
2684
2685 // Token: 0x04003BB1 RID: 15281
2687
2688 // Token: 0x04003BB2 RID: 15282
2689 private bool _hasOwnAlternates;
2690
2691 // Token: 0x04003BB3 RID: 15283
2692 private bool _hasOwnAnchor;
2693
2694 // Token: 0x04003BB4 RID: 15284
2696
2697 // Token: 0x04003BB5 RID: 15285
2699
2700 // Token: 0x04003BB6 RID: 15286
2702
2703 // Token: 0x04003BB7 RID: 15287
2705
2706 // Token: 0x04003BB8 RID: 15288
2707 private bool _hasOwnSubTiles;
2708
2709 // Token: 0x04003BB9 RID: 15289
2711
2712 // Token: 0x04003BBA RID: 15290
2714
2715 // Token: 0x04003BBB RID: 15291
2717
2718 // Token: 0x04003BBC RID: 15292
2720
2721 // Token: 0x04003BBD RID: 15293
2723
2724 // Token: 0x04003BBE RID: 15294
2726
2727 // Token: 0x04003BBF RID: 15295
2728 private static bool readOnlyData;
2729
2730 // Token: 0x04003BC0 RID: 15296
2731 private static TileObjectData newTile;
2732
2733 // Token: 0x04003BC1 RID: 15297
2735
2736 // Token: 0x04003BC2 RID: 15298
2738
2739 // Token: 0x04003BC3 RID: 15299
2741
2742 // Token: 0x04003BC4 RID: 15300
2744
2745 // Token: 0x04003BC5 RID: 15301
2746 private static TileObjectData Style4x2;
2747
2748 // Token: 0x04003BC6 RID: 15302
2749 private static TileObjectData Style2x2;
2750
2751 // Token: 0x04003BC7 RID: 15303
2752 private static TileObjectData Style1x2;
2753
2754 // Token: 0x04003BC8 RID: 15304
2755 private static TileObjectData Style1x1;
2756
2757 // Token: 0x04003BC9 RID: 15305
2759
2760 // Token: 0x04003BCA RID: 15306
2761 private static TileObjectData StyleDye;
2762
2763 // Token: 0x04003BCB RID: 15307
2764 private static TileObjectData Style2x1;
2765
2766 // Token: 0x04003BCC RID: 15308
2767 private static TileObjectData Style6x3;
2768
2769 // Token: 0x04003BCD RID: 15309
2771
2772 // Token: 0x04003BCE RID: 15310
2774
2775 // Token: 0x04003BCF RID: 15311
2777
2778 // Token: 0x04003BD0 RID: 15312
2779 private static TileObjectData Style1xX;
2780
2781 // Token: 0x04003BD1 RID: 15313
2782 private static TileObjectData Style2xX;
2783
2784 // Token: 0x04003BD2 RID: 15314
2785 private static TileObjectData Style3x2;
2786
2787 // Token: 0x04003BD3 RID: 15315
2788 private static TileObjectData Style3x3;
2789
2790 // Token: 0x04003BD4 RID: 15316
2791 private static TileObjectData Style3x4;
2792
2793 // Token: 0x04003BD5 RID: 15317
2794 private static TileObjectData Style5x4;
2795
2796 // Token: 0x04003BD6 RID: 15318
2798 }
2799}
class f__AnonymousType0<< Count > j__TPar
void FullCopyFrom(ushort tileType)
List< TileObjectData > Alternates
static void OriginToTopLeft(int type, int style, Point16 baseCoords)
TileObjectCoordinatesModule _tileObjectCoords
static bool CheckLiquidPlacement(int type, int style, Tile checkTile)
static TileObjectData StyleOnTable1x1
LiquidPlacementModule _liquidPlacement
static bool CustomPlace(int type, int style)
static List< TileObjectData > _data
static void SyncObjectPlacement(int tileX, int tileY, int type, int style, int dir)
static bool CheckLavaDeath(Tile checkTile)
static bool CallPostPlacementPlayerHook(int tileX, int tileY, int type, int style, int dir, int alternate, TileObject data)
TileObjectData([Optional] TileObjectData copyFrom)
TileObjectStyleModule _tileObjectStyle
static void addAlternate(int baseStyle)
static bool CheckWaterDeath(int type, int style)
static bool CheckLavaDeath(int type, int style)
TilePlacementHooksModule _placementHooks
void CopyFrom(TileObjectData copy)
TileObjectSubTilesModule _subTiles
int CalculatePlacementStyle(int style, int alternate, int random)
static TileObjectData GetTileData(Tile getTile)
TileObjectAlternatesModule _alternates
static void addSubTile(params int[] styles)
static bool CheckWaterDeath(Tile checkTile)
static TileObjectData GetTileData(int type, int style, int alternate=0)
static void addBaseTile([Out] TileObjectData baseTile)
void FullCopyFrom(TileObjectData copy)
static bool LiquidPlace(int type, Tile checkTile)
static void addTile(int tileType)