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
RejectedAssetCollection.cs
Go to the documentation of this file.
1using System;
4
5namespace ReLogic.Content
6{
7 // Token: 0x02000B3D RID: 2877
9 {
10 // Token: 0x060053D5 RID: 21461 RVA: 0x00285010 File Offset: 0x00283210
15
16 // Token: 0x060053D6 RID: 21462 RVA: 0x00285024 File Offset: 0x00283224
17 public bool IsRejected(string assetPath)
18 {
19 /*
20An exception occurred when decompiling this method (060053D6)
21
22ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean ReLogic.Content.RejectedAssetCollection::IsRejected(System.String)
23
24 ---> System.Exception: Basic block has to end with unconditional control flow.
25{
26 Block_0:
27 stloc:class [mscorlib]System.Collections.Generic.Dictionary`2<string, class ReLogic.Content.IRejectionReason>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.Dictionary`2<string, class ReLogic.Content.IRejectionReason>(RejectedAssetCollection::_rejectedAssetsAndReasons, ldloc:RejectedAssetCollection(this)))
28}
29
30 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
31 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
32 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
33 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
34 --- End of inner exception stack trace ---
35 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
36 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
37*/;
38 }
39
40 // Token: 0x060053D7 RID: 21463 RVA: 0x00285038 File Offset: 0x00283238
45
46 // Token: 0x060053D8 RID: 21464 RVA: 0x000021DB File Offset: 0x000003DB
48 {
49 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
50 }
51
52 // Token: 0x060053D9 RID: 21465 RVA: 0x0028504C File Offset: 0x0028324C
54 {
55 }
56
57 // Token: 0x04008CF7 RID: 36087
59 }
60}
class f__AnonymousType0<< Count > j__TPar
Dictionary< string, IRejectionReason > _rejectedAssetsAndReasons
void Reject(string assetPath, IRejectionReason reason)
bool TryGetRejections(List< string > rejectionReasons)