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
JsonContainerAttribute.cs
Go to the documentation of this file.
1using System;
4
5namespace Newtonsoft.Json
6{
7 // Token: 0x02000020 RID: 32
9 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false)]
10 public abstract class JsonContainerAttribute : Attribute
11 {
12 // Token: 0x1700000D RID: 13
13 // (get) Token: 0x0600004C RID: 76 RVA: 0x000027EC File Offset: 0x000009EC
14 // (set) Token: 0x0600004D RID: 77 RVA: 0x00002800 File Offset: 0x00000A00
15 public string Id
16 {
18 get
19 {
20 return this.<Id>k__BackingField;
21 }
23 set
24 {
25 this.<Id>k__BackingField = value;
26 }
27 }
28
29 // Token: 0x1700000E RID: 14
30 // (get) Token: 0x0600004E RID: 78 RVA: 0x00002814 File Offset: 0x00000A14
31 // (set) Token: 0x0600004F RID: 79 RVA: 0x00002828 File Offset: 0x00000A28
32 public string Title
33 {
35 get
36 {
37 return this.<Title>k__BackingField;
38 }
40 set
41 {
43 }
44 }
45
46 // Token: 0x1700000F RID: 15
47 // (get) Token: 0x06000050 RID: 80 RVA: 0x0000283C File Offset: 0x00000A3C
48 // (set) Token: 0x06000051 RID: 81 RVA: 0x00002850 File Offset: 0x00000A50
49 public string Description
50 {
52 get
53 {
54 return this.<Description>k__BackingField;
55 }
57 set
58 {
60 }
61 }
62
63 // Token: 0x17000010 RID: 16
64 // (get) Token: 0x06000052 RID: 82 RVA: 0x00002864 File Offset: 0x00000A64
65 // (set) Token: 0x06000053 RID: 83 RVA: 0x00002878 File Offset: 0x00000A78
67 {
69 get
70 {
72 }
74 set
75 {
77 }
78 }
79
80 // Token: 0x17000011 RID: 17
81 // (get) Token: 0x06000054 RID: 84 RVA: 0x0000288C File Offset: 0x00000A8C
82 // (set) Token: 0x06000055 RID: 85 RVA: 0x000028A0 File Offset: 0x00000AA0
84 {
86 get
87 {
89 }
91 set
92 {
94 }
95 }
96
97 // Token: 0x17000012 RID: 18
98 // (get) Token: 0x06000056 RID: 86 RVA: 0x000028B4 File Offset: 0x00000AB4
99 // (set) Token: 0x06000057 RID: 87 RVA: 0x000028C8 File Offset: 0x00000AC8
100 public bool IsReference
101 {
102 get
103 {
104 /*
105An exception occurred when decompiling this method (06000056)
106
107ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Newtonsoft.Json.JsonContainerAttribute::get_IsReference()
108
109 ---> System.Exception: Basic block has to end with unconditional control flow.
110{
111 Block_0:
112 stloc:valuetype [mscorlib]System.Nullable`1<bool>(var_0_06, ldfld:valuetype [mscorlib]System.Nullable`1<bool>(JsonContainerAttribute::_isReference, ldloc:JsonContainerAttribute(this)))
113}
114
115 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
116 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
117 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
118 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
119 --- End of inner exception stack trace ---
120 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
121 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
122*/;
123 }
124 set
125 {
127 }
128 }
129
130 // Token: 0x17000013 RID: 19
131 // (get) Token: 0x06000058 RID: 88 RVA: 0x000028DC File Offset: 0x00000ADC
132 // (set) Token: 0x06000059 RID: 89 RVA: 0x000028F0 File Offset: 0x00000AF0
133 public bool ItemIsReference
134 {
135 get
136 {
137 /*
138An exception occurred when decompiling this method (06000058)
139
140ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Newtonsoft.Json.JsonContainerAttribute::get_ItemIsReference()
141
142 ---> System.Exception: Basic block has to end with unconditional control flow.
143{
144 Block_0:
145 stloc:valuetype [mscorlib]System.Nullable`1<bool>(var_0_06, ldfld:valuetype [mscorlib]System.Nullable`1<bool>(JsonContainerAttribute::_itemIsReference, ldloc:JsonContainerAttribute(this)))
146}
147
148 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
149 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
150 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
151 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
152 --- End of inner exception stack trace ---
153 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
154 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
155*/;
156 }
157 set
158 {
160 }
161 }
162
163 // Token: 0x17000014 RID: 20
164 // (get) Token: 0x0600005A RID: 90 RVA: 0x00002904 File Offset: 0x00000B04
165 // (set) Token: 0x0600005B RID: 91 RVA: 0x00002920 File Offset: 0x00000B20
167 {
168 get
169 {
170 /*
171An exception occurred when decompiling this method (0600005A)
172
173ICSharpCode.Decompiler.DecompilerException: Error decompiling Newtonsoft.Json.ReferenceLoopHandling Newtonsoft.Json.JsonContainerAttribute::get_ItemReferenceLoopHandling()
174
175 ---> System.Exception: Basic block has to end with unconditional control flow.
176{
177 Block_0:
178 stloc:valuetype [mscorlib]System.Nullable`1<valuetype Newtonsoft.Json.ReferenceLoopHandling>(var_0_06, ldfld:valuetype [mscorlib]System.Nullable`1<valuetype Newtonsoft.Json.ReferenceLoopHandling>(JsonContainerAttribute::_itemReferenceLoopHandling, ldloc:JsonContainerAttribute(this)))
179 stloc:valuetype [mscorlib]System.Nullable`1<valuetype Newtonsoft.Json.TypeNameHandling>(var_1_0D, ldfld:valuetype [mscorlib]System.Nullable`1<valuetype Newtonsoft.Json.TypeNameHandling>(JsonContainerAttribute::_itemTypeNameHandling, ldloc:JsonContainerAttribute(this)))
180}
181
182 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
183 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
184 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
185 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
186 --- End of inner exception stack trace ---
187 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
188 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
189*/;
190 }
191 set
192 {
193 }
194 }
195
196 // Token: 0x17000015 RID: 21
197 // (get) Token: 0x0600005C RID: 92 RVA: 0x00002930 File Offset: 0x00000B30
198 // (set) Token: 0x0600005D RID: 93 RVA: 0x00002944 File Offset: 0x00000B44
200 {
201 get
202 {
203 /*
204An exception occurred when decompiling this method (0600005C)
205
206ICSharpCode.Decompiler.DecompilerException: Error decompiling Newtonsoft.Json.TypeNameHandling Newtonsoft.Json.JsonContainerAttribute::get_ItemTypeNameHandling()
207
208 ---> System.Exception: Basic block has to end with unconditional control flow.
209{
210 Block_0:
211 stloc:valuetype [mscorlib]System.Nullable`1<valuetype Newtonsoft.Json.TypeNameHandling>(var_0_06, ldfld:valuetype [mscorlib]System.Nullable`1<valuetype Newtonsoft.Json.TypeNameHandling>(JsonContainerAttribute::_itemTypeNameHandling, ldloc:JsonContainerAttribute(this)))
212}
213
214 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
215 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
216 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
217 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
218 --- End of inner exception stack trace ---
219 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
220 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
221*/;
222 }
223 set
224 {
225 }
226 }
227
228 // Token: 0x0600005E RID: 94 RVA: 0x00002954 File Offset: 0x00000B54
230 {
231 }
232
233 // Token: 0x0600005F RID: 95 RVA: 0x00002968 File Offset: 0x00000B68
234 protected JsonContainerAttribute(string id)
235 {
236 this.Id = id;
237 }
238
239 // Token: 0x04000046 RID: 70
241 private string <Id>k__BackingField;
242
243 // Token: 0x04000047 RID: 71
245 private string <Title>k__BackingField;
246
247 // Token: 0x04000048 RID: 72
249 private string <Description>k__BackingField;
250
251 // Token: 0x04000049 RID: 73
253 private Type <ItemConverterType>k__BackingField;
254
255 // Token: 0x0400004A RID: 74
258
259 // Token: 0x0400004B RID: 75
260 internal bool? _isReference;
261
262 // Token: 0x0400004C RID: 76
263 internal bool? _itemIsReference;
264
265 // Token: 0x0400004D RID: 77
267
268 // Token: 0x0400004E RID: 78
270 }
271}
class f__AnonymousType0<< Count > j__TPar
object[]< ItemConverterParameters > k__BackingField