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
JPropertyDescriptor.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020000B9 RID: 185
10 {
11 // Token: 0x060006C4 RID: 1732 RVA: 0x00011EE4 File Offset: 0x000100E4
13 {
14 }
15
16 // Token: 0x060006C5 RID: 1733 RVA: 0x00011EF4 File Offset: 0x000100F4
17 private static JObject CastInstance(object instance)
18 {
19 throw new InvalidCastException();
20 }
21
22 // Token: 0x060006C6 RID: 1734 RVA: 0x00011F08 File Offset: 0x00010108
23 public override bool CanResetValue(object component)
24 {
25 }
26
27 // Token: 0x060006C7 RID: 1735 RVA: 0x00011F18 File Offset: 0x00010118
28 public override object GetValue(object component)
29 {
30 /*
31An exception occurred when decompiling this method (060006C7)
32
33ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object Newtonsoft.Json.Linq.JPropertyDescriptor::GetValue(System.Object)
34
35 ---> System.Exception: Basic block has to end with unconditional control flow.
36{
37 Block_0:
38 stloc:JObject(var_0_06, call:JObject(JPropertyDescriptor::CastInstance, ldloc:object(component)))
39}
40
41 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
42 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
43 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
44 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
45 --- End of inner exception stack trace ---
46 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
47 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
48*/;
49 }
50
51 // Token: 0x060006C8 RID: 1736 RVA: 0x00011F2C File Offset: 0x0001012C
52 public override void ResetValue(object component)
53 {
54 }
55
56 // Token: 0x060006C9 RID: 1737 RVA: 0x00011F3C File Offset: 0x0001013C
57 public override void SetValue(object component, object value)
58 {
59 if (value != null)
60 {
61 }
63 }
64
65 // Token: 0x060006CA RID: 1738 RVA: 0x00011F54 File Offset: 0x00010154
66 public override bool ShouldSerializeValue(object component)
67 {
68 }
69
70 // Token: 0x1700014B RID: 331
71 // (get) Token: 0x060006CB RID: 1739 RVA: 0x00011F64 File Offset: 0x00010164
72 public override Type ComponentType
73 {
74 get
75 {
76 if (!true)
77 {
78 }
79 Type type;
80 return type;
81 }
82 }
83
84 // Token: 0x1700014C RID: 332
85 // (get) Token: 0x060006CC RID: 1740 RVA: 0x00011F78 File Offset: 0x00010178
86 public override bool IsReadOnly
87 {
88 get
89 {
90 }
91 }
92
93 // Token: 0x1700014D RID: 333
94 // (get) Token: 0x060006CD RID: 1741 RVA: 0x00011F88 File Offset: 0x00010188
95 public override Type PropertyType
96 {
97 get
98 {
99 if (!true)
100 {
101 }
102 Type type;
103 return type;
104 }
105 }
106
107 // Token: 0x1700014E RID: 334
108 // (get) Token: 0x060006CE RID: 1742 RVA: 0x00011F9C File Offset: 0x0001019C
109 protected override int NameHashCode
110 {
111 get
112 {
113 return this.nameHash;
114 }
115 }
116 }
117}
class f__AnonymousType0<< Count > j__TPar
override bool CanResetValue(object component)
override object GetValue(object component)
override void SetValue(object component, object value)
static JObject CastInstance(object instance)
override void ResetValue(object component)
override bool ShouldSerializeValue(object component)