12 references to GetDataContract
System.Runtime.Serialization (12)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (4)
248
DataContract dc =
GetDataContract
(dataNode.Value.GetType());
321
dataContract =
GetDataContract
(Globals.TypeOfIEnumerable);
398
itemContract = context.
GetDataContract
(Globals.TypeOfKeyValuePair.MakeGenericType(collectionContract.ItemType.GetGenericArguments()));
402
itemContract = context.
GetDataContract
(context.GetSurrogatedType(collectionContract.ItemType));
System\Runtime\Serialization\XmlObjectSerializerContext.cs (2)
304
return
GetDataContract
(dataContractType);
357
DataContract itemContract =
GetDataContract
(GetSurrogatedType(collectionContract.ItemType));
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
134
DataContract dataContract =
GetDataContract
(declaredType);
141
GetDataContract
(declaredType);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (4)
177
dataContract = (declaredTypeID < 0) ?
GetDataContract
(declaredType) : GetDataContract(declaredTypeID, declaredType.TypeHandle);
187
dataContract = (declaredTypeID < 0) ?
GetDataContract
(declaredType) : GetDataContract(declaredTypeID, declaredType.TypeHandle);
200
GetDataContract
(DataContractSurrogateCaller.GetDataContractType(dataContractSurrogate, declaredType));
298
return
GetDataContract
(type);