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

class<GetEnumerator> Ionic.Zip.ZipFile.IDisposable
setprivate

Definition at line 2841 of file ZipFile.cs.

2842 {
2843 // Token: 0x06000214 RID: 532 RVA: 0x00007DE8 File Offset: 0x00005FE8
2844 private bool MoveNext()
2845 {
2846 if (this.<>1__state == 0)
2847 {
2849 int num = 1;
2850 this.<>1__state = num;
2851 int num2 = 1;
2852 this.<>1__state = num2;
2854 int num3 = 2;
2858 }
2859 throw new OutOfMemoryException();
2860 }
2861
2862 // Token: 0x1700007D RID: 125
2863 // (get) Token: 0x06000215 RID: 533 RVA: 0x00007E4C File Offset: 0x0000604C
2865 {
2867 get
2868 {
2869 return this.<>2__current;
2870 }
2871 }
2872
2873 // Token: 0x06000216 RID: 534 RVA: 0x00002122 File Offset: 0x00000322
2875 void IEnumerator.Reset()
2876 {
2877 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2878 }
2879
2880 // Token: 0x06000217 RID: 535 RVA: 0x00007E60 File Offset: 0x00006060
2881 void IDisposable.Dispose()
2882 {
2883 int num = this.<>1__state;
2884 this.<>m__Finally6();
2885 }
2886
2887 // Token: 0x1700007E RID: 126
2888 // (get) Token: 0x06000218 RID: 536 RVA: 0x00007E7C File Offset: 0x0000607C
2889 object IEnumerator.Current
2890 {
2892 get
2893 {
2894 /*
2895An exception occurred when decompiling this method (06000218)
2896
2897ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object Ionic.Zip.ZipFile/<GetEnumerator>d__3::System.Collections.IEnumerator.get_Current()
2898
2899 ---> System.Exception: Basic block has to end with unconditional control flow.
2900{
2901 Block_0:
2902 stloc:ZipEntry(var_0_06, ldfld:ZipEntry('<GetEnumerator>d__3'::<>2__current, ldloc:'<GetEnumerator>d__3'(this)))
2903}
2904
2905 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
2906 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
2907 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
2908 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
2909 --- End of inner exception stack trace ---
2910 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
2911 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
2912*/;
2913 }
2914 }
2915
2916 // Token: 0x06000219 RID: 537 RVA: 0x00007E90 File Offset: 0x00006090
2919 {
2920 this.<>1__state = <>1__state;
2921 }
2922
2923 // Token: 0x0600021A RID: 538 RVA: 0x00007EAC File Offset: 0x000060AC
2924 private void <>m__Finally6()
2925 {
2926 int num = 1;
2927 this.<>1__state = num;
2928 }
2929
2930 // Token: 0x040000F9 RID: 249
2931 private ZipEntry <>2__current;
2932
2933 // Token: 0x040000FA RID: 250
2934 private int <>1__state;
2935
2936 // Token: 0x040000FB RID: 251
2937 public ZipFile <>4__this;
2938
2939 // Token: 0x040000FC RID: 252
2940 public ZipEntry <e>5__4;
2941
2942 // Token: 0x040000FD RID: 253
2944 }
class f__AnonymousType0<< Count > j__TPar
class< GetEnumerator > d__3
Definition ZipFile.cs:2841
Dictionary< TKey, TValue >.Entry[] _entries
Dictionary< TKey, TValue >.ValueCollection _values