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
ComHelper.cs
Go to the documentation of this file.
1using System;
3
4namespace Ionic.Zip
5{
6 // Token: 0x02000002 RID: 2
7 [Guid("ebc25cf6-9120-4283-b972-0e5520d0000F")]
8 [ComVisible(true)]
9 public class ComHelper
10 {
11 // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
12 public bool IsZipFile(string filename)
13 {
14 if (!true)
15 {
16 }
17 return ZipFile.IsZipFile(filename);
18 }
19
20 // Token: 0x06000002 RID: 2 RVA: 0x00002068 File Offset: 0x00000268
21 public bool IsZipFileWithExtract(string filename)
22 {
23 if (!true)
24 {
25 }
26 return ZipFile.IsZipFile(filename, true);
27 }
28
29 // Token: 0x06000003 RID: 3 RVA: 0x00002080 File Offset: 0x00000280
30 public string GetZipLibraryVersion()
31 {
32 /*
33An exception occurred when decompiling this method (06000003)
34
35ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Ionic.Zip.ComHelper::GetZipLibraryVersion()
36
37 ---> System.Exception: Basic block has to end with unconditional control flow.
38{
39 IL_0003:
40 stloc:Version(var_0_08, callgetter:Version(ZipFile::get_LibraryVersion))
41}
42
43 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
44 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
45 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
46 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
47 --- End of inner exception stack trace ---
48 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
49 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
50*/;
51 }
52
53 // Token: 0x06000004 RID: 4 RVA: 0x00002098 File Offset: 0x00000298
54 public ComHelper()
55 {
56 }
57 }
58}
class f__AnonymousType0<< Count > j__TPar
string GetZipLibraryVersion()
Definition ComHelper.cs:30
bool IsZipFileWithExtract(string filename)
Definition ComHelper.cs:21
bool IsZipFile(string filename)
Definition ComHelper.cs:12
static bool IsZipFile(string fileName)
Definition ZipFile.cs:2425