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
ExtensionDataGetter.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x0200009D RID: 157
11 {
12 // Token: 0x0600055B RID: 1371 RVA: 0x0000DEB8 File Offset: 0x0000C0B8
13 public ExtensionDataGetter(object @object, IntPtr method)
14 {
16 this.m_target = @object;
18 this.method_code = this;
19 }
20
21 // Token: 0x0600055C RID: 1372 RVA: 0x0000DF18 File Offset: 0x0000C118
23 {
24 /*
25An exception occurred when decompiling this method (0600055C)
26
27ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerable`1<System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>> Newtonsoft.Json.Serialization.ExtensionDataGetter::Invoke(System.Object)
28
29 ---> System.Exception: Basic block has to end with unconditional control flow.
30{
31 Block_0:
32 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:ExtensionDataGetter[exp:Delegate](this)))
33 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:ExtensionDataGetter[exp:Delegate](this)))
34 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:ExtensionDataGetter[exp:Delegate](this)))
35}
36
37 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
38 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
39 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
40 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
41 --- End of inner exception stack trace ---
42 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
43 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
44*/;
45 }
46
47 // Token: 0x0600055D RID: 1373 RVA: 0x0000212A File Offset: 0x0000032A
48 public IAsyncResult BeginInvoke(object o, AsyncCallback callback, object @object)
49 {
50 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
51 }
52
53 // Token: 0x0600055E RID: 1374 RVA: 0x0000212A File Offset: 0x0000032A
55 {
56 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
57 }
58 }
59}
class f__AnonymousType0<< Count > j__TPar
IEnumerable< KeyValuePair< object, object > > Invoke(object o)
IEnumerable< KeyValuePair< object, object > > EndInvoke(IAsyncResult result)
IAsyncResult BeginInvoke(object o, AsyncCallback callback, object @object)