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