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
RuntimePropertyInfo.cs
Go to the documentation of this file.
1using System;
6using Mono;
7
8namespace System.Reflection
9{
10 // Token: 0x02000514 RID: 1300
12 [StructLayout(0)]
14 {
15 // Token: 0x06002640 RID: 9792 RVA: 0x00053B9C File Offset: 0x00051D9C
19
20 // Token: 0x17000562 RID: 1378
21 // (get) Token: 0x06002641 RID: 9793 RVA: 0x00053BAC File Offset: 0x00051DAC
23 {
24 get
25 {
26 }
27 }
28
29 // Token: 0x17000563 RID: 1379
30 // (get) Token: 0x06002642 RID: 9794 RVA: 0x00053BBC File Offset: 0x00051DBC
31 public override Module Module
32 {
33 get
34 {
35 /*
36An exception occurred when decompiling this method (06002642)
37
38ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Reflection.Module System.Reflection.RuntimePropertyInfo::get_Module()
39
40 ---> System.Exception: Basic block has to end with unconditional control flow.
41{
42 Block_0:
43 stloc:RuntimeModule(var_0_0B, call:RuntimeModule(RuntimeType::GetRuntimeModule, call:RuntimeType(RuntimePropertyInfo::GetDeclaringTypeInternal, ldloc:RuntimePropertyInfo(this))))
44}
45
46 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
47 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
48 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
49 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
50 --- End of inner exception stack trace ---
51 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
52 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
53*/;
54 }
55 }
56
57 // Token: 0x06002643 RID: 9795 RVA: 0x00053BD4 File Offset: 0x00051DD4
59 {
60 if (this != null)
61 {
62 }
63 throw new InvalidCastException();
64 }
65
66 // Token: 0x17000564 RID: 1380
67 // (get) Token: 0x06002644 RID: 9796 RVA: 0x00053BEC File Offset: 0x00051DEC
69 {
70 get
71 {
72 if (this != null)
73 {
74 }
75 throw new InvalidCastException();
76 }
77 }
78
79 // Token: 0x06002645 RID: 9797 RVA: 0x00053C04 File Offset: 0x00051E04
84
85 // Token: 0x06002646 RID: 9798 RVA: 0x00053C1C File Offset: 0x00051E1C
86 public override string ToString()
87 {
88 long num = 0L;
89 return this.FormatNameAndSig(num != 0L);
90 }
91
92 // Token: 0x06002647 RID: 9799 RVA: 0x00053C34 File Offset: 0x00051E34
93 private string FormatNameAndSig(bool serialization)
94 {
95 /*
96An exception occurred when decompiling this method (06002647)
97
98ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Reflection.RuntimePropertyInfo::FormatNameAndSig(System.Boolean)
99
100 ---> System.Exception: Basic block has to end with unconditional control flow.
101{
102 IL_0000:
103 brtrue(IL_0000, logicnot:bool(ldfld:native int[exp:bool](RuntimePropertyInfo::prop, ldloc:RuntimePropertyInfo(this))))
104}
105
106 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
107 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
108 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
109 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
110 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
111 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
112 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
113 --- End of inner exception stack trace ---
114 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
115 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
116*/;
117 }
118
119 // Token: 0x06002648 RID: 9800 RVA: 0x00053C48 File Offset: 0x00051E48
121 {
122 while (info == null)
123 {
124 }
126 string text = this.FormatNameAndSig(true);
127 }
128
129 // Token: 0x06002649 RID: 9801 RVA: 0x00053C68 File Offset: 0x00051E68
130 internal string SerializationToString()
131 {
132 return this.FormatNameAndSig(true);
133 }
134
135 // Token: 0x0600264A RID: 9802 RVA: 0x00053C7C File Offset: 0x00051E7C
136 private void CachePropertyInfo(PInfo flags)
137 {
138 PInfo pinfo = this.cached;
139 PInfo pinfo2 = this.cached;
141 }
142
143 // Token: 0x17000565 RID: 1381
144 // (get) Token: 0x0600264B RID: 9803 RVA: 0x00053CA0 File Offset: 0x00051EA0
145 public override bool CanRead
146 {
147 get
148 {
149 PInfo pinfo = this.cached;
150 PInfo pinfo2 = this.cached;
152 MethodInfo get_method = this.info.get_method;
153 bool flag;
154 return flag;
155 }
156 }
157
158 // Token: 0x17000566 RID: 1382
159 // (get) Token: 0x0600264C RID: 9804 RVA: 0x00053CD0 File Offset: 0x00051ED0
160 public override bool CanWrite
161 {
162 get
163 {
164 PInfo pinfo = this.cached;
165 PInfo pinfo2 = this.cached;
167 MethodInfo set_method = this.info.set_method;
168 bool flag;
169 return flag;
170 }
171 }
172
173 // Token: 0x17000567 RID: 1383
174 // (get) Token: 0x0600264D RID: 9805 RVA: 0x00053D00 File Offset: 0x00051F00
175 public override Type PropertyType
176 {
177 get
178 {
179 /*
180An exception occurred when decompiling this method (0600264D)
181
182ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Type System.Reflection.RuntimePropertyInfo::get_PropertyType()
183
184 ---> System.Exception: Basic block has to end with unconditional control flow.
185{
186 Block_0:
187 stloc:PInfo(var_0_06, ldfld:PInfo(RuntimePropertyInfo::cached, ldloc:RuntimePropertyInfo(this)))
188 stloc:PInfo(var_1_0D, ldfld:PInfo(RuntimePropertyInfo::cached, ldloc:RuntimePropertyInfo(this)))
189 stfld:PInfo(RuntimePropertyInfo::cached, ldloc:RuntimePropertyInfo(this), ldloc:PInfo(var_1_0D))
190 stloc:MethodInfo(var_2_20, ldfld:MethodInfo(MonoPropertyInfo::get_method, ldfld:MonoPropertyInfo[exp:valuetype System.Reflection.MonoPropertyInfo&](RuntimePropertyInfo::info, ldloc:RuntimePropertyInfo(this))))
191 stloc:MethodInfo(var_4_2C, ldfld:MethodInfo(MonoPropertyInfo::get_method, ldfld:MonoPropertyInfo[exp:valuetype System.Reflection.MonoPropertyInfo&](RuntimePropertyInfo::info, ldloc:RuntimePropertyInfo(this))))
192 stloc:MethodInfo(var_5_39, ldfld:MethodInfo(MonoPropertyInfo::set_method, ldfld:MonoPropertyInfo[exp:valuetype System.Reflection.MonoPropertyInfo&](RuntimePropertyInfo::info, ldloc:RuntimePropertyInfo(this))))
193}
194
195 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
196 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
197 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
198 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
199 --- End of inner exception stack trace ---
200 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
201 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
202*/;
203 }
204 }
205
206 // Token: 0x17000568 RID: 1384
207 // (get) Token: 0x0600264E RID: 9806 RVA: 0x00053D48 File Offset: 0x00051F48
208 public override Type ReflectedType
209 {
210 get
211 {
212 /*
213An exception occurred when decompiling this method (0600264E)
214
215ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Type System.Reflection.RuntimePropertyInfo::get_ReflectedType()
216
217 ---> System.Exception: Basic block has to end with unconditional control flow.
218{
219 Block_0:
220 stloc:PInfo(var_0_06, ldfld:PInfo(RuntimePropertyInfo::cached, ldloc:RuntimePropertyInfo(this)))
221 stloc:PInfo(var_1_0D, ldfld:PInfo(RuntimePropertyInfo::cached, ldloc:RuntimePropertyInfo(this)))
222 stfld:PInfo(RuntimePropertyInfo::cached, ldloc:RuntimePropertyInfo(this), ldloc:PInfo(var_1_0D))
223 stloc:MonoPropertyInfo(var_2_1B, ldfld:MonoPropertyInfo(RuntimePropertyInfo::info, ldloc:RuntimePropertyInfo(this)))
224}
225
226 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
227 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
228 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
229 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
230 --- End of inner exception stack trace ---
231 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
232 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
233*/;
234 }
235 }
236
237 // Token: 0x17000569 RID: 1385
238 // (get) Token: 0x0600264F RID: 9807 RVA: 0x00053D70 File Offset: 0x00051F70
239 public override Type DeclaringType
240 {
241 get
242 {
243 PInfo pinfo = this.cached;
244 PInfo pinfo2 = this.cached;
246 return this.info.declaring_type;
247 }
248 }
249
250 // Token: 0x1700056A RID: 1386
251 // (get) Token: 0x06002650 RID: 9808 RVA: 0x00053DA0 File Offset: 0x00051FA0
252 public override string Name
253 {
254 get
255 {
256 PInfo pinfo = this.cached;
257 PInfo pinfo2 = this.cached;
259 return this.info.name;
260 }
261 }
262
263 // Token: 0x06002651 RID: 9809 RVA: 0x00053DD0 File Offset: 0x00051FD0
264 public override MethodInfo GetGetMethod(bool nonPublic)
265 {
266 PInfo pinfo = this.cached;
267 PInfo pinfo2 = this.cached;
269 MethodInfo get_method = this.info.get_method;
270 bool isPublic = this.info.get_method.IsPublic;
271 return this.info.get_method;
272 }
273
274 // Token: 0x06002652 RID: 9810 RVA: 0x00053E1C File Offset: 0x0005201C
276 {
277 PInfo pinfo = this.cached;
278 PInfo pinfo2 = this.cached;
280 MethodInfo get_method = this.info.get_method;
282 MethodInfo set_method = this.info.set_method;
285 if (parameterInfo == null || parameterInfo != null)
286 {
287 return parameterInfo;
288 }
289 throw new ArrayTypeMismatchException();
290 }
291
292 // Token: 0x06002653 RID: 9811 RVA: 0x00053E84 File Offset: 0x00052084
293 public override MethodInfo GetSetMethod(bool nonPublic)
294 {
295 PInfo pinfo = this.cached;
296 PInfo pinfo2 = this.cached;
298 MethodInfo set_method = this.info.set_method;
299 bool isPublic = this.info.set_method.IsPublic;
300 return this.info.set_method;
301 }
302
303 // Token: 0x06002654 RID: 9812 RVA: 0x00053ED0 File Offset: 0x000520D0
304 public override bool IsDefined(Type attributeType, bool inherit)
305 {
306 if (!true)
307 {
308 }
309 long num = 0L;
310 return MonoCustomAttrs.IsDefined(this, attributeType, num != 0L);
311 }
312
313 // Token: 0x06002655 RID: 9813 RVA: 0x00053EEC File Offset: 0x000520EC
314 public override object[] GetCustomAttributes(bool inherit)
315 {
316 if (!true)
317 {
318 }
319 long num = 0L;
320 return MonoCustomAttrs.GetCustomAttributes(this, num != 0L);
321 }
322
323 // Token: 0x06002656 RID: 9814 RVA: 0x00053F08 File Offset: 0x00052108
324 public override object[] GetCustomAttributes(Type attributeType, bool inherit)
325 {
326 if (!true)
327 {
328 }
329 long num = 0L;
330 return MonoCustomAttrs.GetCustomAttributes(this, attributeType, num != 0L);
331 }
332
333 // Token: 0x06002657 RID: 9815 RVA: 0x00053F24 File Offset: 0x00052124
335 {
336 while (getter == null || getter != null)
337 {
338 }
339 throw new InvalidCastException();
340 }
341
342 // Token: 0x06002658 RID: 9816 RVA: 0x0000207A File Offset: 0x0000027A
344 {
345 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
346 }
347
348 // Token: 0x06002659 RID: 9817 RVA: 0x0000207A File Offset: 0x0000027A
349 public override object GetValue(object obj, object[] index)
350 {
351 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
352 }
353
354 // Token: 0x0600265A RID: 9818 RVA: 0x00053F3C File Offset: 0x0005213C
355 public override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
356 {
357 if (index != null)
358 {
359 return;
360 }
361 }
362
363 // Token: 0x0600265B RID: 9819 RVA: 0x00053F50 File Offset: 0x00052150
364 public override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
365 {
366 if (index != null)
367 {
368 if (value == null || value != null)
369 {
370 return;
371 }
372 }
373 else if (value == null || value != null)
374 {
375 return;
376 }
377 throw new ArrayTypeMismatchException();
378 }
379
380 // Token: 0x1700056B RID: 1387
381 // (get) Token: 0x0600265C RID: 9820 RVA: 0x0000207A File Offset: 0x0000027A
382 public override int MetadataToken
383 {
384 get
385 {
386 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
387 }
388 }
389
390 // Token: 0x0600265D RID: 9821 RVA: 0x0000207A File Offset: 0x0000027A
392 {
393 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
394 }
395
396 // Token: 0x0600265E RID: 9822 RVA: 0x0000207A File Offset: 0x0000027A
398 {
399 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
400 }
401
402 // Token: 0x0600265F RID: 9823 RVA: 0x00053F78 File Offset: 0x00052178
404 {
405 return "The handle is invalid.";
406 }
407
408 // Token: 0x06002660 RID: 9824 RVA: 0x00053F8C File Offset: 0x0005218C
410 {
411 }
412
413 // Token: 0x0400150D RID: 5389
414 internal IntPtr klass;
415
416 // Token: 0x0400150E RID: 5390
417 internal IntPtr prop;
418
419 // Token: 0x0400150F RID: 5391
421
422 // Token: 0x04001510 RID: 5392
423 private PInfo cached;
424
425 // Token: 0x04001511 RID: 5393
427
428 // Token: 0x02000515 RID: 1301
429 private sealed class GetterAdapter : MulticastDelegate
430 {
431 // Token: 0x06002661 RID: 9825 RVA: 0x00053FA0 File Offset: 0x000521A0
432 public GetterAdapter(object @object, IntPtr method)
433 {
435 this.m_target = @object;
437 this.method_code = this;
438 }
439
440 // Token: 0x06002662 RID: 9826 RVA: 0x00054000 File Offset: 0x00052200
441 public object Invoke(object _this)
442 {
443 /*
444An exception occurred when decompiling this method (06002662)
445
446ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Reflection.RuntimePropertyInfo/GetterAdapter::Invoke(System.Object)
447
448 ---> System.Exception: Basic block has to end with unconditional control flow.
449{
450 Block_0:
451 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:GetterAdapter[exp:Delegate](this)))
452 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetterAdapter[exp:Delegate](this)))
453 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:GetterAdapter[exp:Delegate](this)))
454}
455
456 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
457 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
458 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
459 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
460 --- End of inner exception stack trace ---
461 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
462 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
463*/;
464 }
465 }
466
467 // Token: 0x02000516 RID: 1302
468 private sealed class Getter<T, R> : MulticastDelegate
469 {
470 // Token: 0x06002663 RID: 9827 RVA: 0x00054024 File Offset: 0x00052224
471 public Getter(object @object, IntPtr method)
472 {
473 }
474
475 // Token: 0x06002664 RID: 9828 RVA: 0x0000207A File Offset: 0x0000027A
476 public R Invoke(T _this)
477 {
478 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
479 }
480 }
481
482 // Token: 0x02000517 RID: 1303
483 private sealed class StaticGetter<R> : MulticastDelegate
484 {
485 // Token: 0x06002665 RID: 9829 RVA: 0x00054044 File Offset: 0x00052244
486 public StaticGetter(object @object, IntPtr method)
487 {
488 }
489
490 // Token: 0x06002666 RID: 9830 RVA: 0x0000207A File Offset: 0x0000027A
491 public R Invoke()
492 {
493 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
494 }
495 }
496 }
497}
class f__AnonymousType0<< Count > j__TPar
static bool IsDefined(ICustomAttributeProvider obj, Type attributeType, bool inherit)
static object[] GetCustomAttributes(ICustomAttributeProvider obj, Type attributeType, bool inherit)
override MethodInfo GetGetMethod(bool nonPublic)
override bool IsDefined(Type attributeType, bool inherit)
static PropertyInfo internal_from_handle_type(IntPtr event_handle, IntPtr type_handle)
override object GetValue(object obj, object[] index)
override void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
static object StaticGetterAdapterFrame< R >(RuntimePropertyInfo.StaticGetter< R > getter, object obj)
override ParameterInfo[] GetIndexParameters()
override MethodInfo GetSetMethod(bool nonPublic)
RuntimePropertyInfo.GetterAdapter cached_getter
string FormatNameAndSig(bool serialization)
override object[] GetCustomAttributes(Type attributeType, bool inherit)
static int get_metadata_token(RuntimePropertyInfo monoProperty)
static void get_property_info(RuntimePropertyInfo prop, MonoPropertyInfo info, PInfo req_info)
void GetObjectData(SerializationInfo info, StreamingContext context)
override object[] GetCustomAttributes(bool inherit)
override object GetValue(object obj, BindingFlags invokeAttr, Binder binder, object[] index, CultureInfo culture)
static object GetterAdapterFrame< T, R >(RuntimePropertyInfo.Getter< T, R > getter, object obj)
static PropertyInfo GetPropertyFromHandle(RuntimePropertyHandle handle, RuntimeTypeHandle reflectedType)
RuntimeModule GetRuntimeModule()