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