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
FileSystemEnumerable.cs
Go to the documentation of this file.
1using System;
7
9{
10 // Token: 0x02000576 RID: 1398
12 {
13 // Token: 0x06002A15 RID: 10773 RVA: 0x0005B8E8 File Offset: 0x00059AE8
15 {
16 do
17 {
18 base..ctor();
19 if (directory == null)
20 {
21 return;
22 }
23 this._directory = directory;
24 }
25 while (transform == null);
26 this._transform = transform;
27 if (options == null)
28 {
29 if (!true)
30 {
31 }
32 if (!true)
33 {
34 }
35 }
37 }
38
39 // Token: 0x1700060D RID: 1549
40 // (get) Token: 0x06002A16 RID: 10774 RVA: 0x0005B920 File Offset: 0x00059B20
41 // (set) Token: 0x06002A17 RID: 10775 RVA: 0x0005B934 File Offset: 0x00059B34
55
56 // Token: 0x1700060E RID: 1550
57 // (get) Token: 0x06002A18 RID: 10776 RVA: 0x0005B948 File Offset: 0x00059B48
66
67 // Token: 0x06002A19 RID: 10777 RVA: 0x0005B95C File Offset: 0x00059B5C
69 {
70 /*
71An exception occurred when decompiling this method (06002A19)
72
73ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<TResult> System.IO.Enumeration.FileSystemEnumerable`1::GetEnumerator()
74
75 ---> System.Exception: Basic block has to end with unconditional control flow.
76{
77 IL_0000:
78 brtrue(IL_0000, ldloc:FileSystemEnumerable`1[exp:bool](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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
83 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
84 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
85 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
86 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
87 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
88 --- End of inner exception stack trace ---
89 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
90 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
91*/;
92 }
93
94 // Token: 0x06002A1A RID: 10778 RVA: 0x0000207A File Offset: 0x0000027A
96 {
97 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
98 }
99
100 // Token: 0x04001696 RID: 5782
102
103 // Token: 0x04001697 RID: 5783
105
106 // Token: 0x04001698 RID: 5784
108
109 // Token: 0x04001699 RID: 5785
110 private readonly string _directory;
111
112 // Token: 0x0400169A RID: 5786
115
116 // Token: 0x0400169B RID: 5787
119
120 // Token: 0x02000577 RID: 1399
121 public sealed class FindPredicate : MulticastDelegate
122 {
123 // Token: 0x06002A1B RID: 10779 RVA: 0x0005B96C File Offset: 0x00059B6C
124 public FindPredicate(object @object, IntPtr method)
125 {
126 }
127
128 // Token: 0x06002A1C RID: 10780 RVA: 0x0000207A File Offset: 0x0000027A
129 public bool Invoke(FileSystemEntry entry)
130 {
131 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
132 }
133 }
134
135 // Token: 0x02000578 RID: 1400
136 public sealed class FindTransform : MulticastDelegate
137 {
138 // Token: 0x06002A1D RID: 10781 RVA: 0x0005B988 File Offset: 0x00059B88
139 public FindTransform(object @object, IntPtr method)
140 {
141 }
142
143 // Token: 0x06002A1E RID: 10782 RVA: 0x0000207A File Offset: 0x0000027A
145 {
146 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
147 }
148 }
149
150 // Token: 0x02000579 RID: 1401
151 private sealed class DelegateEnumerator : FileSystemEnumerator<TResult>
152 {
153 // Token: 0x06002A1F RID: 10783 RVA: 0x0005B9A4 File Offset: 0x00059BA4
155 {
157 string directory = enumerable._directory;
158 }
159
160 // Token: 0x06002A20 RID: 10784 RVA: 0x0000207A File Offset: 0x0000027A
161 protected override TResult TransformEntry(FileSystemEntry entry)
162 {
163 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
164 }
165
166 // Token: 0x06002A21 RID: 10785 RVA: 0x0005B9C0 File Offset: 0x00059BC0
167 protected override bool ShouldRecurseIntoEntry(FileSystemEntry entry)
168 {
169 if (this != null)
170 {
171 }
172 return true;
173 }
174
175 // Token: 0x06002A22 RID: 10786 RVA: 0x0005B9D4 File Offset: 0x00059BD4
176 protected override bool ShouldIncludeEntry(FileSystemEntry entry)
177 {
178 if (this != null)
179 {
180 }
181 return true;
182 }
183
184 // Token: 0x0400169C RID: 5788
186 }
187 }
188}
class f__AnonymousType0<< Count > j__TPar
DelegateEnumerator(FileSystemEnumerable< TResult > enumerable)
FileSystemEnumerable< TResult >.DelegateEnumerator _enumerator
FileSystemEnumerable< TResult >.FindPredicate< ShouldIncludePredicate > k__BackingField
FileSystemEnumerable(string directory, FileSystemEnumerable< TResult >.FindTransform transform, [Optional] EnumerationOptions options)
FileSystemEnumerable< TResult >.FindPredicate ShouldIncludePredicate
readonly FileSystemEnumerable< TResult >.FindTransform _transform
FileSystemEnumerable< TResult >.FindPredicate ShouldRecursePredicate
FileSystemEnumerable< TResult >.FindPredicate< ShouldRecursePredicate > k__BackingField