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

◆ IEnumerator

Definition at line 396 of file ConcurrentQueue.cs.

397 {
398 // Token: 0x06002F71 RID: 12145 RVA: 0x000687A4 File Offset: 0x000669A4
401 {
402 this.<>1__state = <>1__state;
403 }
404
405 // Token: 0x06002F72 RID: 12146 RVA: 0x000687C0 File Offset: 0x000669C0
407 void IDisposable.Dispose()
408 {
409 }
410
411 // Token: 0x06002F73 RID: 12147 RVA: 0x000687D0 File Offset: 0x000669D0
412 private bool MoveNext()
413 {
414 /*
415An exception occurred when decompiling this method (06002F73)
416
417ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Collections.Concurrent.ConcurrentQueue`1/<Enumerate>d__28::MoveNext()
418
419 ---> System.Exception: Basic block has to end with unconditional control flow.
420{
421 Block_0:
422 stloc:int32(var_0_06, ldfld:int32('<Enumerate>d__28'::<>1__state, ldloc:'<Enumerate>d__28'(this)))
423 stloc:int32(var_1_0D, ldfld:int32('<Enumerate>d__28'::<i>5__3, ldloc:'<Enumerate>d__28'(this)))
424 stloc:int32(var_2_14, ldfld:int32('<Enumerate>d__28'::headHead, ldloc:'<Enumerate>d__28'(this)))
425 stloc:int32(var_3_16, ldc.i4:int32(1))
426 stfld:int32('<Enumerate>d__28'::<>1__state, ldloc:'<Enumerate>d__28'(this), ldloc:int32(var_3_16))
427 stloc:int32(var_4_24, ldfld:int32('<Enumerate>d__28'::<i>5__5, ldloc:'<Enumerate>d__28'(this)))
428 stloc:int32(var_5_2C, ldfld:int32('<Enumerate>d__28'::<i>5__5, ldloc:'<Enumerate>d__28'(this)))
429 stloc:int32(var_6_34, ldfld:int32('<Enumerate>d__28'::<i>5__5, ldloc:'<Enumerate>d__28'(this)))
430 stloc:int32(var_7_3C, ldfld:int32('<Enumerate>d__28'::<i>5__5, ldloc:'<Enumerate>d__28'(this)))
431 stloc:int64(var_8_3F, ldc.i4:int64(0))
432 stloc:int32(var_9_42, ldc.i4:int32(3))
433 stloc:int32(var_10_4A, ldfld:int32('<Enumerate>d__28'::<headTail>5__2, ldloc:'<Enumerate>d__28'(this)))
434 stfld:int32('<Enumerate>d__28'::<headTail>5__2, ldloc:'<Enumerate>d__28'(this), ldloc:int64[exp:int32](var_8_3F))
435 stloc:int32(var_11_5A, ldfld:int32('<Enumerate>d__28'::headHead, ldloc:'<Enumerate>d__28'(this)))
436 stfld:int32('<Enumerate>d__28'::<>1__state, ldloc:'<Enumerate>d__28'(this), ldloc:int32(var_9_42))
437 stfld:int32('<Enumerate>d__28'::<i>5__5, ldloc:'<Enumerate>d__28'(this), ldloc:int32(var_9_42))
438 stloc:int32(var_14_78, ldfld:int32('<Enumerate>d__28'::headHead, ldloc:'<Enumerate>d__28'(this)))
439 stloc:int32(var_16_83, ldfld:int32('<Enumerate>d__28'::headHead, ldloc:'<Enumerate>d__28'(this)))
440}
441
442 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
443 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
444 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
445 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
446 --- End of inner exception stack trace ---
447 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
448 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
449*/;
450 }
451
452 // Token: 0x17000782 RID: 1922
453 // (get) Token: 0x06002F74 RID: 12148 RVA: 0x0000207A File Offset: 0x0000027A
455 {
457 get
458 {
459 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
460 }
461 }
462
463 // Token: 0x06002F75 RID: 12149 RVA: 0x0000207A File Offset: 0x0000027A
465 void IEnumerator.Reset()
466 {
467 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
468 }
469
470 // Token: 0x17000783 RID: 1923
471 // (get) Token: 0x06002F76 RID: 12150 RVA: 0x0000207A File Offset: 0x0000027A
473 {
475 get
476 {
477 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
478 }
479 }
480
481 // Token: 0x04001A1D RID: 6685
482 private int <>1__state;
483
484 // Token: 0x04001A1E RID: 6686
485 private T <>2__current;
486
487 // Token: 0x04001A1F RID: 6687
488 public ConcurrentQueue<T>.Segment head;
489
490 // Token: 0x04001A20 RID: 6688
491 public ConcurrentQueue<T>.Segment tail;
492
493 // Token: 0x04001A21 RID: 6689
494 public int tailTail;
495
496 // Token: 0x04001A22 RID: 6690
497 public int headHead;
498
499 // Token: 0x04001A23 RID: 6691
500 public ConcurrentQueue<T> <>4__this;
501
502 // Token: 0x04001A24 RID: 6692
503 private int <headTail>5__2;
504
505 // Token: 0x04001A25 RID: 6693
506 private int <i>5__3;
507
508 // Token: 0x04001A26 RID: 6694
509 private ConcurrentQueue<T>.Segment <s>5__4;
510
511 // Token: 0x04001A27 RID: 6695
512 private int <i>5__5;
513 }
class f__AnonymousType0<< Count > j__TPar