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
FileInfo.cs
Go to the documentation of this file.
1using System;
4
5namespace System.IO
6{
7 // Token: 0x0200054E RID: 1358
9 public sealed class FileInfo : FileSystemInfo
10 {
11 // Token: 0x0600286C RID: 10348 RVA: 0x00057BB4 File Offset: 0x00055DB4
12 private FileInfo()
13 {
14 }
15
16 // Token: 0x0600286D RID: 10349 RVA: 0x00057BC8 File Offset: 0x00055DC8
17 public FileInfo(string fileName)
18 {
19 }
20
21 // Token: 0x0600286E RID: 10350 RVA: 0x00057BD8 File Offset: 0x00055DD8
22 internal FileInfo(string originalPath, [Optional] string fullPath, [Optional] string fileName, bool isNormalized = false)
23 {
24 do
25 {
26 base..ctor();
27 }
28 while (originalPath == null);
30 if (!true)
31 {
32 }
34 if (fileName == null)
35 {
36 if (!true)
37 {
38 }
40 }
41 }
42
43 // Token: 0x0600286F RID: 10351 RVA: 0x00057C0C File Offset: 0x00055E0C
45 {
46 /*
47An exception occurred when decompiling this method (0600286F)
48
49ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.StreamWriter System.IO.FileInfo::CreateText()
50
51 ---> System.Exception: Basic block has to end with unconditional control flow.
52{
53 Block_0:
54 stloc:string(var_0_06, ldfld:string(FileSystemInfo::FullPath, ldloc:FileInfo[exp:FileSystemInfo](this)))
55}
56
57 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
58 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
59 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
60 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
61 --- End of inner exception stack trace ---
62 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
63 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
64*/;
65 }
66
67 // Token: 0x06002870 RID: 10352 RVA: 0x00057C24 File Offset: 0x00055E24
69 {
70 /*
71An exception occurred when decompiling this method (06002870)
72
73ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.StreamWriter System.IO.FileInfo::AppendText()
74
75 ---> System.Exception: Basic block has to end with unconditional control flow.
76{
77 Block_0:
78 stloc:string(var_0_06, ldfld:string(FileSystemInfo::FullPath, ldloc:FileInfo[exp:FileSystemInfo](this)))
79}
80
81 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
82 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
83 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
84 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
85 --- End of inner exception stack trace ---
86 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
87 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
88*/;
89 }
90
91 // Token: 0x06002871 RID: 10353 RVA: 0x00057C38 File Offset: 0x00055E38
93 : base(info, context)
94 {
95 }
96
97 // Token: 0x170005CF RID: 1487
98 // (get) Token: 0x06002872 RID: 10354 RVA: 0x00057C50 File Offset: 0x00055E50
99 public override string Name
100 {
101 get
102 {
103 return this._name;
104 }
105 }
106 }
107}
class f__AnonymousType0<< Count > j__TPar
override string Name
Definition FileInfo.cs:100
StreamWriter CreateText()
Definition FileInfo.cs:44
FileInfo(SerializationInfo info, StreamingContext context)
Definition FileInfo.cs:92
FileInfo(string fileName)
Definition FileInfo.cs:17
StreamWriter AppendText()
Definition FileInfo.cs:68
FileInfo(string originalPath, [Optional] string fullPath, [Optional] string fileName, bool isNormalized=false)
Definition FileInfo.cs:22
static string GetFullPath(string path)
Definition Path.cs:170
static string GetFileName(string path)
Definition Path.cs:142