9 references to GetDataContract
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (4)
236dataContract = GetDataContract(Globals.TypeOfIEnumerable); 312DataContract dc = GetDataContract(dataNode.Value.GetType()); 415itemContract = context.GetDataContract(Globals.TypeOfKeyValuePair.MakeGenericType(collectionContract.ItemType.GetGenericArguments())); 419itemContract = context.GetDataContract(context.GetSurrogatedType(collectionContract.ItemType));
System\Runtime\Serialization\XmlObjectSerializerContext.cs (2)
262dataContract = dataContractType == null ? null : GetDataContract(dataContractType); 290DataContract itemContract = GetDataContract(GetSurrogatedType(collectionContract.ItemType));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
99DataContract dataContract = GetDataContract(declaredType); 107dataContract ??= GetDataContract(declaredType);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
66GetDataContract(DataContractSurrogateCaller.GetDataContractType(_serializationSurrogateProvider, declaredType));