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
JsonPrimitiveContract.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic
;
3
using
System.Runtime.CompilerServices
;
4
using
Newtonsoft.Json.Shims
;
5
using
Newtonsoft.Json.Utilities
;
6
7
namespace
Newtonsoft.Json.Serialization
8
{
9
// Token: 0x02000084 RID: 132
10
[
Preserve
]
11
public
class
JsonPrimitiveContract
:
JsonContract
12
{
13
// Token: 0x170000CB RID: 203
14
// (get) Token: 0x060004BE RID: 1214 RVA: 0x0000C868 File Offset: 0x0000AA68
15
// (set) Token: 0x060004BF RID: 1215 RVA: 0x0000C87C File Offset: 0x0000AA7C
16
internal
PrimitiveTypeCode
TypeCode
17
{
18
[
CompilerGenerated
]
19
get
20
{
21
return
this.<
TypeCode
>
k__BackingField
;
22
}
23
[
CompilerGenerated
]
24
set
25
{
26
this.<
TypeCode
>
k__BackingField
=
value
;
27
}
28
}
29
30
// Token: 0x060004C0 RID: 1216 RVA: 0x0000C890 File Offset: 0x0000AA90
31
public
JsonPrimitiveContract
(
Type
underlyingType
)
32
:
base
(
underlyingType
)
33
{
34
this.ContractType
=
JsonContractType
.Primitive;
35
if
(3 == 0)
36
{
37
}
38
PrimitiveTypeCode
typeCode =
ConvertUtils
.
GetTypeCode
(
underlyingType
);
39
this.TypeCode
= typeCode;
40
this.IsReadOnlyOrFixedSize
=
true
;
41
if
(!
true
)
42
{
43
}
44
Type
nonNullableUnderlyingType
= this.
NonNullableUnderlyingType
;
45
this.InternalReadType
=
ReadType
.ReadAsInt32;
46
}
47
48
// Token: 0x060004C1 RID: 1217 RVA: 0x0000C8D4 File Offset: 0x0000AAD4
49
// Note: this type is marked as 'beforefieldinit'.
50
static
JsonPrimitiveContract
()
51
{
52
if
(!
true
)
53
{
54
}
55
}
56
57
// Token: 0x0400021E RID: 542
58
[
CompilerGenerated
]
59
private
PrimitiveTypeCode <TypeCode>
k__BackingField
;
60
61
// Token: 0x0400021F RID: 543
62
private
static
readonly
Dictionary<Type, ReadType>
ReadTypeMap
;
63
}
64
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Newtonsoft.Json.Serialization.JsonContract.NonNullableUnderlyingType
Type NonNullableUnderlyingType
Definition
JsonContract.cs:487
Newtonsoft.Json.Serialization.JsonContract
Definition
JsonContract.cs:15
Newtonsoft.Json.Serialization.JsonPrimitiveContract.k__BackingField
PrimitiveTypeCode< TypeCode > k__BackingField
Definition
JsonPrimitiveContract.cs:59
Newtonsoft.Json.Serialization.JsonPrimitiveContract.JsonPrimitiveContract
static JsonPrimitiveContract()
Definition
JsonPrimitiveContract.cs:50
Newtonsoft.Json.Serialization.JsonPrimitiveContract.JsonPrimitiveContract
JsonPrimitiveContract(Type underlyingType)
Definition
JsonPrimitiveContract.cs:31
Newtonsoft.Json.Serialization.JsonPrimitiveContract.ReadTypeMap
static readonly Dictionary< Type, ReadType > ReadTypeMap
Definition
JsonPrimitiveContract.cs:62
Newtonsoft.Json.Serialization.JsonPrimitiveContract
Definition
JsonPrimitiveContract.cs:12
Newtonsoft.Json.Utilities.ConvertUtils.GetTypeCode
static PrimitiveTypeCode GetTypeCode(Type t)
Definition
ConvertUtils.cs:20
Newtonsoft.Json.Utilities.ConvertUtils
Definition
ConvertUtils.cs:18
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:15
System.Type
Definition
Type.cs:12
Newtonsoft.Json.Serialization.JsonContractType
JsonContractType
Definition
JsonContractType.cs:9
Newtonsoft.Json.Serialization
Definition
CachedAttributeGetter.cs:7
Newtonsoft.Json.Shims
Definition
PreserveAttribute.cs:4
Newtonsoft.Json.Utilities.PrimitiveTypeCode
PrimitiveTypeCode
Definition
PrimitiveTypeCode.cs:9
Newtonsoft.Json.Utilities
Definition
Base64Encoder.cs:6
Newtonsoft.Json.ReadType
ReadType
Definition
ReadType.cs:9
System.Collections.Generic
Definition
ArrayBuilder.cs:5
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System.Xml.Schema.XmlSchemaWhiteSpace.Preserve
@ Preserve
System.TypeCode
TypeCode
Definition
TypeCode.cs:7
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
source
Newtonsoft.Json
Serialization
JsonPrimitiveContract.cs
Generated by
1.10.0