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
MethodBase.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Reflection
7{
8 // Token: 0x020004DD RID: 1245
10 public abstract class MethodBase : MemberInfo
11 {
12 // Token: 0x060023C6 RID: 9158 RVA: 0x000508FC File Offset: 0x0004EAFC
13 protected MethodBase()
14 {
15 }
16
17 // Token: 0x060023C7 RID: 9159
18 public abstract ParameterInfo[] GetParameters();
19
20 // Token: 0x170004B0 RID: 1200
21 // (get) Token: 0x060023C8 RID: 9160
22 public abstract MethodAttributes Attributes { get; }
23
24 // Token: 0x060023C9 RID: 9161
26
27 // Token: 0x060023CA RID: 9162 RVA: 0x0000207A File Offset: 0x0000027A
28 public virtual MethodBody GetMethodBody()
29 {
30 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
31 }
32
33 // Token: 0x170004B1 RID: 1201
34 // (get) Token: 0x060023CB RID: 9163 RVA: 0x00050910 File Offset: 0x0004EB10
35 public virtual CallingConventions CallingConvention
36 {
37 get
38 {
39 return CallingConventions.Standard;
40 }
41 }
42
43 // Token: 0x170004B2 RID: 1202
44 // (get) Token: 0x060023CC RID: 9164 RVA: 0x0000207A File Offset: 0x0000027A
45 public bool IsAbstract
46 {
47 get
48 {
49 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
50 }
51 }
52
53 // Token: 0x170004B3 RID: 1203
54 // (get) Token: 0x060023CD RID: 9165 RVA: 0x00050920 File Offset: 0x0004EB20
55 public bool IsConstructor
56 {
57 get
58 {
59 if (this != null)
60 {
61 return;
62 }
63 }
64 }
65
66 // Token: 0x170004B4 RID: 1204
67 // (get) Token: 0x060023CE RID: 9166 RVA: 0x0000207A File Offset: 0x0000027A
68 public bool IsStatic
69 {
70 get
71 {
72 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
73 }
74 }
75
76 // Token: 0x170004B5 RID: 1205
77 // (get) Token: 0x060023CF RID: 9167 RVA: 0x0000207A File Offset: 0x0000027A
78 public bool IsVirtual
79 {
80 get
81 {
82 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
83 }
84 }
85
86 // Token: 0x170004B6 RID: 1206
87 // (get) Token: 0x060023D0 RID: 9168 RVA: 0x0000207A File Offset: 0x0000027A
88 public bool IsPublic
89 {
90 get
91 {
92 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
93 }
94 }
95
96 // Token: 0x170004B7 RID: 1207
97 // (get) Token: 0x060023D1 RID: 9169 RVA: 0x00050934 File Offset: 0x0004EB34
98 public virtual bool IsGenericMethod
99 {
100 get
101 {
102 }
103 }
104
105 // Token: 0x170004B8 RID: 1208
106 // (get) Token: 0x060023D2 RID: 9170 RVA: 0x00050944 File Offset: 0x0004EB44
107 public virtual bool IsGenericMethodDefinition
108 {
109 get
110 {
111 }
112 }
113
114 // Token: 0x060023D3 RID: 9171 RVA: 0x0000207A File Offset: 0x0000027A
115 public virtual Type[] GetGenericArguments()
116 {
117 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
118 }
119
120 // Token: 0x170004B9 RID: 1209
121 // (get) Token: 0x060023D4 RID: 9172 RVA: 0x00050954 File Offset: 0x0004EB54
122 public virtual bool ContainsGenericParameters
123 {
124 get
125 {
126 }
127 }
128
129 // Token: 0x060023D5 RID: 9173 RVA: 0x0000207A File Offset: 0x0000027A
132 public object Invoke(object obj, object[] parameters)
133 {
134 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
135 }
136
137 // Token: 0x060023D6 RID: 9174
138 public abstract object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
139
140 // Token: 0x170004BA RID: 1210
141 // (get) Token: 0x060023D7 RID: 9175
142 public abstract RuntimeMethodHandle MethodHandle { get; }
143
144 // Token: 0x170004BB RID: 1211
145 // (get) Token: 0x060023D8 RID: 9176 RVA: 0x00050964 File Offset: 0x0004EB64
146 public virtual bool IsSecurityCritical
147 {
148 get
149 {
150 /*
151An exception occurred when decompiling this method (060023D8)
152
153ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Reflection.MethodBase::get_IsSecurityCritical()
154
155 ---> System.Exception: Basic block has to end with unconditional control flow.
156{
157 Block_0:
158 stloc:Exception(var_1_07, callgetter:Exception(NotImplemented::get_ByDesign))
159}
160
161 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
162 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
163 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
164 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
165 --- End of inner exception stack trace ---
166 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
167 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
168*/;
169 }
170 }
171
172 // Token: 0x060023D9 RID: 9177 RVA: 0x00050978 File Offset: 0x0004EB78
173 public override bool Equals(object obj)
174 {
175 return base.Equals(obj);
176 }
177
178 // Token: 0x060023DA RID: 9178 RVA: 0x0005098C File Offset: 0x0004EB8C
179 public override int GetHashCode()
180 {
181 return base.GetHashCode();
182 }
183
184 // Token: 0x060023DB RID: 9179 RVA: 0x000509A0 File Offset: 0x0004EBA0
185 public static bool operator ==(MethodBase left, MethodBase right)
186 {
187 for (;;)
188 {
189 int num = 1;
190 if (left != null)
191 {
192 if (left != null)
193 {
194 }
195 long num2 = 0L;
196 if (num == 0)
197 {
198 }
199 long num3 = 0L;
200 if (num2 != 0L && num3 != 0L)
201 {
202 return;
203 }
204 }
205 }
206 }
207
208 // Token: 0x060023DC RID: 9180 RVA: 0x000509CC File Offset: 0x0004EBCC
209 public static bool operator !=(MethodBase left, MethodBase right)
210 {
211 bool flag;
212 return flag;
213 }
214
215 // Token: 0x060023DD RID: 9181 RVA: 0x0000207A File Offset: 0x0000027A
217 {
218 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
219 }
220
221 // Token: 0x060023DE RID: 9182 RVA: 0x0000207A File Offset: 0x0000027A
222 internal virtual int GetParametersCount()
223 {
224 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
225 }
226
227 // Token: 0x060023DF RID: 9183 RVA: 0x0000207A File Offset: 0x0000027A
228 internal virtual string FormatNameAndSig(bool serialization)
229 {
230 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
231 }
232
233 // Token: 0x060023E0 RID: 9184 RVA: 0x000509DC File Offset: 0x0004EBDC
234 internal virtual Type[] GetParameterTypes()
235 {
236 throw new ArrayTypeMismatchException();
237 }
238
239 // Token: 0x060023E1 RID: 9185 RVA: 0x0000207A File Offset: 0x0000027A
241 {
242 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
243 }
244
245 // Token: 0x060023E2 RID: 9186 RVA: 0x000509F0 File Offset: 0x0004EBF0
247 {
248 MethodBase methodBase;
249 return methodBase;
250 }
251
252 // Token: 0x060023E3 RID: 9187 RVA: 0x00050A20 File Offset: 0x0004EC20
256 }
257}
class f__AnonymousType0<< Count > j__TPar
object Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)
virtual Type[] GetParameterTypes()
object Invoke(object obj, object[] parameters)
virtual string FormatNameAndSig(bool serialization)
virtual int GetParametersCount()
virtual bool IsGenericMethodDefinition
static MethodBase GetMethodFromHandle(RuntimeMethodHandle handle)
override bool Equals(object obj)
static string ConstructParameters(Type[] parameterTypes, CallingConventions callingConvention, bool serialization)
virtual ParameterInfo[] GetParametersInternal()
ParameterInfo[] GetParameters()
virtual MethodBody GetMethodBody()
Definition MethodBase.cs:28
MethodAttributes Attributes
Definition MethodBase.cs:22
virtual ParameterInfo[] GetParametersNoCopy()
static bool operator==(MethodBase left, MethodBase right)
static bool operator!=(MethodBase left, MethodBase right)
RuntimeMethodHandle MethodHandle
MethodImplAttributes GetMethodImplementationFlags()
virtual bool ContainsGenericParameters
virtual Type[] GetGenericArguments()