9 types derived from JsonDataContract
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\Json\JsonByteArrayDataContract.cs (1)
14
internal sealed class JsonByteArrayDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonClassDataContract.cs (1)
14
internal sealed class JsonClassDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonCollectionDataContract.cs (1)
14
internal sealed class JsonCollectionDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonEnumDataContract.cs (1)
9
internal sealed class JsonEnumDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
12
internal sealed class JsonObjectDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonQNameDataContract.cs (1)
14
internal sealed class JsonQNameDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonStringDataContract.cs (1)
14
internal sealed class JsonStringDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonUriDataContract.cs (1)
9
internal sealed class JsonUriDataContract :
JsonDataContract
System\Runtime\Serialization\Json\JsonXmlDataContract.cs (1)
15
internal sealed class JsonXmlDataContract :
JsonDataContract
2 instantiations of JsonDataContract
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
247
dataContract = new
JsonDataContract
(traditionalDataContract);
260
dataContract = new
JsonDataContract
(traditionalDataContract);
16 references to JsonDataContract
System.Private.DataContractSerialization (16)
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (3)
403
return
JsonDataContract
.GetJsonDataContract(contract).ReadJsonValue(reader, context);
413
internal static void WriteJsonValue(
JsonDataContract
contract, XmlWriterDelegator writer, object graph, XmlObjectSerializerWriteContextComplexJson? context, RuntimeTypeHandle declaredTypeHandle)
521
DataContractJsonSerializer.WriteJsonValue(
JsonDataContract
.GetJsonDataContract(contract), writer, graph, null, declaredType.TypeHandle); // XmlObjectSerializerWriteContextComplexJson
System\Runtime\Serialization\Json\JsonDataContract.cs (8)
72
public static
JsonDataContract
GetJsonDataContract(DataContract traditionalDataContract)
152
private static
JsonDataContract
[] s_dataContractCache = new
JsonDataContract
[32];
177
public static
JsonDataContract
GetJsonDataContract(DataContract traditionalDataContract)
180
JsonDataContract
dataContract = s_dataContractCache[id];
207
Array.Resize<
JsonDataContract
>(ref s_dataContractCache, newSize);
216
private static
JsonDataContract
CreateJsonDataContract(int id, DataContract traditionalDataContract)
220
JsonDataContract
dataContract = s_dataContractCache[id];
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (1)
154
s_getJsonDataContractMethod = typeof(
JsonDataContract
).GetMethod("GetJsonDataContract", Globals.ScanAllMembers);
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (2)
105
JsonDataContract
? jsonDataContract = null;
109
jsonDataContract =
JsonDataContract
.GetJsonDataContract(itemContract);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
152
JsonDataContract
jsonDataContract =
JsonDataContract
.GetJsonDataContract(dataContract);