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
JsonContainerContract.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
Cpp2IlInjected
;
4
using
Newtonsoft.Json.Shims
;
5
6
namespace
Newtonsoft.Json.Serialization
7
{
8
// Token: 0x0200007C RID: 124
9
[
Preserve
]
10
public
class
JsonContainerContract
:
JsonContract
11
{
12
// Token: 0x170000BB RID: 187
13
// (get) Token: 0x06000454 RID: 1108 RVA: 0x0000B9FC File Offset: 0x00009BFC
14
// (set) Token: 0x06000455 RID: 1109 RVA: 0x0000BA10 File Offset: 0x00009C10
15
internal
JsonContract
ItemContract
16
{
17
get
18
{
19
return
this.
_itemContract
;
20
}
21
set
22
{
23
this._itemContract
=
value
;
24
if
(
value
!=
null
)
25
{
26
bool
isSealed
=
value
.<
UnderlyingType
>
k__BackingField
.IsSealed;
27
JsonContract
itemContract
= this.
_itemContract
;
28
this._finalItemContract
=
itemContract
;
29
return
;
30
}
31
}
32
}
33
34
// Token: 0x170000BC RID: 188
35
// (get) Token: 0x06000456 RID: 1110 RVA: 0x0000BA44 File Offset: 0x00009C44
36
internal
JsonContract
FinalItemContract
37
{
38
get
39
{
40
return
this.
_finalItemContract
;
41
}
42
}
43
44
// Token: 0x170000BD RID: 189
45
// (get) Token: 0x06000457 RID: 1111 RVA: 0x0000BA58 File Offset: 0x00009C58
46
// (set) Token: 0x06000458 RID: 1112 RVA: 0x0000BA6C File Offset: 0x00009C6C
47
public
JsonConverter
ItemConverter
48
{
49
[
CompilerGenerated
]
50
get
51
{
52
return
this.<
ItemConverter
>
k__BackingField
;
53
}
54
[
CompilerGenerated
]
55
set
56
{
57
this.<
ItemConverter
>
k__BackingField
=
value
;
58
}
59
}
60
61
// Token: 0x170000BE RID: 190
62
// (get) Token: 0x06000459 RID: 1113 RVA: 0x0000BA80 File Offset: 0x00009C80
63
// (set) Token: 0x0600045A RID: 1114 RVA: 0x0000BA94 File Offset: 0x00009C94
64
public
bool
?
ItemIsReference
65
{
66
[
CompilerGenerated
]
67
get
68
{
69
return
this.<
ItemIsReference
>
k__BackingField
;
70
}
71
[
CompilerGenerated
]
72
set
73
{
74
this.<
ItemIsReference
>
k__BackingField
=
value
;
75
}
76
}
77
78
// Token: 0x170000BF RID: 191
79
// (get) Token: 0x0600045B RID: 1115 RVA: 0x0000212A File Offset: 0x0000032A
80
// (set) Token: 0x0600045C RID: 1116 RVA: 0x0000BAA8 File Offset: 0x00009CA8
81
public
ReferenceLoopHandling
?
ItemReferenceLoopHandling
82
{
83
[
CompilerGenerated
]
84
get
85
{
86
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
87
}
88
[
CompilerGenerated
]
89
set
90
{
91
}
92
}
93
94
// Token: 0x170000C0 RID: 192
95
// (get) Token: 0x0600045D RID: 1117 RVA: 0x0000212A File Offset: 0x0000032A
96
// (set) Token: 0x0600045E RID: 1118 RVA: 0x0000BAB8 File Offset: 0x00009CB8
97
public
TypeNameHandling
?
ItemTypeNameHandling
98
{
99
[
CompilerGenerated
]
100
get
101
{
102
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
103
}
104
[
CompilerGenerated
]
105
set
106
{
107
}
108
}
109
110
// Token: 0x0600045F RID: 1119 RVA: 0x0000BAC8 File Offset: 0x00009CC8
111
internal
JsonContainerContract
(
Type
underlyingType
)
112
:
base
(
underlyingType
)
113
{
114
if
(!
true
)
115
{
116
}
117
JsonContainerAttribute
cachedAttribute
=
JsonTypeReflector
.GetCachedAttribute<
JsonContainerAttribute
>(
underlyingType
);
118
if
(
cachedAttribute
!=
null
)
119
{
120
Type <ItemConverterType>
k__BackingField
=
cachedAttribute
.<ItemConverterType>
k__BackingField
;
121
if
(<ItemConverterType>
k__BackingField
!=
null
)
122
{
123
object
[] <ItemConverterParameters>
k__BackingField
=
cachedAttribute
.<ItemConverterParameters>
k__BackingField
;
124
if
(!
true
)
125
{
126
}
127
JsonConverter
jsonConverter
=
JsonTypeReflector
.
CreateJsonConverterInstance
(<ItemConverterType>
k__BackingField
, <ItemConverterParameters>
k__BackingField
);
128
this.ItemConverter
=
jsonConverter
;
129
}
130
bool
?
itemIsReference
=
cachedAttribute
._itemIsReference;
131
this.ItemIsReference
=
itemIsReference
;
132
}
133
}
134
135
// Token: 0x0400020B RID: 523
136
private
JsonContract
_itemContract
;
137
138
// Token: 0x0400020C RID: 524
139
private
JsonContract
_finalItemContract
;
140
141
// Token: 0x0400020D RID: 525
142
[
CompilerGenerated
]
143
private
JsonConverter <ItemConverter>
k__BackingField
;
144
145
// Token: 0x0400020E RID: 526
146
[
CompilerGenerated
]
147
private
bool
? <
ItemIsReference
>
k__BackingField
;
148
149
// Token: 0x0400020F RID: 527
150
[
CompilerGenerated
]
151
private
ReferenceLoopHandling
? <
ItemReferenceLoopHandling
>
k__BackingField
;
152
153
// Token: 0x04000210 RID: 528
154
[
CompilerGenerated
]
155
private
TypeNameHandling
? <
ItemTypeNameHandling
>
k__BackingField
;
156
}
157
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Newtonsoft.Json.JsonContainerAttribute
Definition
JsonContainerAttribute.cs:11
Newtonsoft.Json.JsonConverter
Definition
JsonConverter.cs:9
Newtonsoft.Json.Serialization.JsonContainerContract.k__BackingField
bool?< ItemIsReference > k__BackingField
Definition
JsonContainerContract.cs:147
Newtonsoft.Json.Serialization.JsonContainerContract.k__BackingField
JsonConverter< ItemConverter > k__BackingField
Definition
JsonContainerContract.cs:143
Newtonsoft.Json.Serialization.JsonContainerContract.ItemContract
JsonContract ItemContract
Definition
JsonContainerContract.cs:16
Newtonsoft.Json.Serialization.JsonContainerContract.JsonContainerContract
JsonContainerContract(Type underlyingType)
Definition
JsonContainerContract.cs:111
Newtonsoft.Json.Serialization.JsonContainerContract.ItemConverter
JsonConverter ItemConverter
Definition
JsonContainerContract.cs:48
Newtonsoft.Json.Serialization.JsonContainerContract.k__BackingField
ReferenceLoopHandling?< ItemReferenceLoopHandling > k__BackingField
Definition
JsonContainerContract.cs:151
Newtonsoft.Json.Serialization.JsonContainerContract.FinalItemContract
JsonContract FinalItemContract
Definition
JsonContainerContract.cs:37
Newtonsoft.Json.Serialization.JsonContainerContract._finalItemContract
JsonContract _finalItemContract
Definition
JsonContainerContract.cs:139
Newtonsoft.Json.Serialization.JsonContainerContract.ItemIsReference
bool? ItemIsReference
Definition
JsonContainerContract.cs:65
Newtonsoft.Json.Serialization.JsonContainerContract._itemContract
JsonContract _itemContract
Definition
JsonContainerContract.cs:136
Newtonsoft.Json.Serialization.JsonContainerContract.ItemTypeNameHandling
TypeNameHandling? ItemTypeNameHandling
Definition
JsonContainerContract.cs:98
Newtonsoft.Json.Serialization.JsonContainerContract.ItemReferenceLoopHandling
ReferenceLoopHandling? ItemReferenceLoopHandling
Definition
JsonContainerContract.cs:82
Newtonsoft.Json.Serialization.JsonContainerContract.k__BackingField
TypeNameHandling?< ItemTypeNameHandling > k__BackingField
Definition
JsonContainerContract.cs:155
Newtonsoft.Json.Serialization.JsonContainerContract
Definition
JsonContainerContract.cs:11
Newtonsoft.Json.Serialization.JsonContract.UnderlyingType
Type UnderlyingType
Definition
JsonContract.cs:20
Newtonsoft.Json.Serialization.JsonContract
Definition
JsonContract.cs:15
Newtonsoft.Json.Serialization.JsonTypeReflector.CreateJsonConverterInstance
static JsonConverter CreateJsonConverterInstance(Type converterType, object[] converterArgs)
Definition
JsonTypeReflector.cs:130
Newtonsoft.Json.Serialization.JsonTypeReflector
Definition
JsonTypeReflector.cs:15
System.Type
Definition
Type.cs:12
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Newtonsoft.Json.Serialization
Definition
CachedAttributeGetter.cs:7
Newtonsoft.Json.Shims
Definition
PreserveAttribute.cs:4
Newtonsoft.Json.TypeNameHandling
TypeNameHandling
Definition
TypeNameHandling.cs:10
Newtonsoft.Json.ReferenceLoopHandling
ReferenceLoopHandling
Definition
ReferenceLoopHandling.cs:9
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
source
Newtonsoft.Json
Serialization
JsonContainerContract.cs
Generated by
1.10.0