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