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
DefaultReferenceResolver.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000086 RID: 134
11 {
12 // Token: 0x060004C7 RID: 1223 RVA: 0x0000C958 File Offset: 0x0000AB58
21
22 // Token: 0x060004C8 RID: 1224 RVA: 0x0000212A File Offset: 0x0000032A
23 public object ResolveReference(object context, string reference)
24 {
25 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
26 }
27
28 // Token: 0x060004C9 RID: 1225 RVA: 0x0000C970 File Offset: 0x0000AB70
29 public string GetReference(object context, object value)
30 {
31 /*
32An exception occurred when decompiling this method (060004C9)
33
34ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Newtonsoft.Json.Serialization.DefaultReferenceResolver::GetReference(System.Object,System.Object)
35
36 ---> System.Exception: Basic block has to end with unconditional control flow.
37{
38 IL_0008:
39 stloc:CultureInfo(var_3_0F, callgetter:CultureInfo(CultureInfo::get_InvariantCulture))
40}
41
42 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
43 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
44 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
45 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
46 --- End of inner exception stack trace ---
47 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
48 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
49*/;
50 }
51
52 // Token: 0x060004CA RID: 1226 RVA: 0x0000C98C File Offset: 0x0000AB8C
53 public void AddReference(object context, string reference, object value)
54 {
55 }
56
57 // Token: 0x060004CB RID: 1227 RVA: 0x0000C99C File Offset: 0x0000AB9C
58 public bool IsReferenced(object context, object value)
59 {
60 bool flag;
61 return flag;
62 }
63
64 // Token: 0x060004CC RID: 1228 RVA: 0x0000C9AC File Offset: 0x0000ABAC
66 {
67 }
68
69 // Token: 0x04000222 RID: 546
70 private int _referenceCount;
71 }
72}
class f__AnonymousType0<< Count > j__TPar
void AddReference(object context, string reference, object value)
BidirectionalDictionary< string, object > GetMappings(object context)
object ResolveReference(object context, string reference)
BidirectionalDictionary< string, object > DefaultReferenceMappings