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
RuntimeMethodHandle.cs
Go to the documentation of this file.
1using System;
7
8namespace System
9{
10 // Token: 0x0200018B RID: 395
11 [ComVisible(true)]
14 {
15 // Token: 0x06000F47 RID: 3911 RVA: 0x000208A8 File Offset: 0x0001EAA8
17 {
18 this.value = v;
19 }
20
21 // Token: 0x06000F48 RID: 3912 RVA: 0x000208BC File Offset: 0x0001EABC
23 {
24 if (info != null)
25 {
26 Type type;
27 object obj = info.GetValue("MethodObj", type);
29 return;
30 }
31 }
32
33 // Token: 0x17000160 RID: 352
34 // (get) Token: 0x06000F49 RID: 3913 RVA: 0x0000207A File Offset: 0x0000027A
36 {
37 get
38 {
39 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
40 }
41 }
42
43 // Token: 0x06000F4A RID: 3914 RVA: 0x000208E8 File Offset: 0x0001EAE8
45 {
46 if (info != null)
47 {
48 MethodBase methodBase;
49 if (methodBase != null)
50 {
51 }
52 Type type;
53 info.AddValue("MethodObj", methodBase, type);
54 return;
55 }
56 }
57
58 // Token: 0x06000F4B RID: 3915 RVA: 0x00020910 File Offset: 0x0001EB10
60 {
61 throw new NotSupportedException();
62 }
63
64 // Token: 0x06000F4C RID: 3916 RVA: 0x00020924 File Offset: 0x0001EB24
66 {
67 throw new NotSupportedException();
68 }
69
70 // Token: 0x06000F4D RID: 3917 RVA: 0x00020938 File Offset: 0x0001EB38
71 [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
72 public override bool Equals(object obj)
73 {
74 if (obj != null)
75 {
76 }
77 throw new InvalidCastException();
78 }
79
80 // Token: 0x06000F4E RID: 3918 RVA: 0x0000207A File Offset: 0x0000027A
81 public override int GetHashCode()
82 {
83 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
84 }
85
86 // Token: 0x06000F4F RID: 3919 RVA: 0x00020950 File Offset: 0x0001EB50
88 {
89 /*
90An exception occurred when decompiling this method (06000F4F)
91
92ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.RuntimeMethodHandle::ConstructInstantiation(System.Reflection.RuntimeMethodInfo,System.TypeNameFormatFlags)
93
94 ---> System.Exception: Basic block has to end with unconditional control flow.
95{
96 IL_0000:
97 brtrue(IL_0000, logicnot:bool(ldc.i4:bool(0)))
98}
99
100 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
101 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
102 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
103 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
104 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
105 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
106 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
107 --- End of inner exception stack trace ---
108 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
109 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
110*/;
111 }
112
113 // Token: 0x06000F50 RID: 3920 RVA: 0x0000207A File Offset: 0x0000027A
114 internal bool IsNullHandle()
115 {
116 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
117 }
118
119 // Token: 0x04000696 RID: 1686
120 private IntPtr value;
121 }
122}
class f__AnonymousType0<< Count > j__TPar
RuntimeMethodHandle(SerializationInfo info, StreamingContext context)
override bool Equals(object obj)
void GetObjectData(SerializationInfo info, StreamingContext context)
static IntPtr GetFunctionPointer(IntPtr m)
static string ConstructInstantiation(RuntimeMethodInfo method, TypeNameFormatFlags format)