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

◆ IDisposable [1/2]

class<CaretBlink> UnityEngine.UI.InputField.IDisposable
setprivate

Definition at line 2706 of file InputField.cs.

2707 {
2708 // Token: 0x06000232 RID: 562 RVA: 0x00008CD8 File Offset: 0x00006ED8
2711 {
2712 this.<>1__state = <>1__state;
2713 }
2714
2715 // Token: 0x06000233 RID: 563 RVA: 0x00008CF4 File Offset: 0x00006EF4
2717 void IDisposable.Dispose()
2718 {
2719 }
2720
2721 // Token: 0x06000234 RID: 564 RVA: 0x00008D04 File Offset: 0x00006F04
2722 private bool MoveNext()
2723 {
2724 /*
2725An exception occurred when decompiling this method (06000234)
2726
2727ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean UnityEngine.UI.InputField/<CaretBlink>d__172::MoveNext()
2728
2729 ---> System.Exception: Basic block has to end with unconditional control flow.
2730{
2731 IL_003F:
2732 stloc:float32(var_8_4A, callgetter:float32(Time::get_unscaledTime))
2733 stloc:float32(var_9_52, ldfld:float32(InputField::m_BlinkStartTime, ldloc:InputField(var_1_0D)))
2734 stloc:bool(var_10_5A, ldfld:bool(InputField::m_CaretVisible, ldloc:InputField(var_1_0D)))
2735 stfld:bool(InputField::m_CaretVisible, ldloc:InputField(var_1_0D), ldloc:bool(var_10_5A))
2736 stloc:bool(var_11_6A, callgetter:bool(InputField::get_hasSelection, ldloc:InputField(var_1_0D)))
2737 stloc:int32(var_12_6D, ldc.i4:int32(2))
2738 stfld:int32('<CaretBlink>d__172'::<>1__state, ldloc:'<CaretBlink>d__172'(this), ldloc:int32(var_12_6D))
2739}
2740
2741 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
2742 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
2743 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
2744 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
2745 --- End of inner exception stack trace ---
2746 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
2747 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
2748*/;
2749 }
2750
2751 // Token: 0x17000094 RID: 148
2752 // (get) Token: 0x06000235 RID: 565 RVA: 0x00008D8C File Offset: 0x00006F8C
2754 {
2756 get
2757 {
2758 return this.<>2__current;
2759 }
2760 }
2761
2762 // Token: 0x06000236 RID: 566 RVA: 0x00002207 File Offset: 0x00000407
2764 void IEnumerator.Reset()
2765 {
2766 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2767 }
2768
2769 // Token: 0x17000095 RID: 149
2770 // (get) Token: 0x06000237 RID: 567 RVA: 0x00008DA0 File Offset: 0x00006FA0
2771 object IEnumerator.Current
2772 {
2774 get
2775 {
2776 return this.<>2__current;
2777 }
2778 }
2779
2780 // Token: 0x0400011B RID: 283
2781 private int <>1__state;
2782
2783 // Token: 0x0400011C RID: 284
2784 private object <>2__current;
2785
2786 // Token: 0x0400011D RID: 285
2787 public InputField <>4__this;
2788 }
class f__AnonymousType0<< Count > j__TPar
class< CaretBlink > d__172