14 references to DataContractSurrogateCaller
System.Private.DataContractSerialization (14)
System\Runtime\Serialization\DataContractSerializer.cs (2)
528object? obj = DataContractSurrogateCaller.GetObjectToSerialize(serializationSurrogateProvider, oldObj, objType, surrogatedDeclaredType); 540return DataContractSurrogateCaller.GetDataContractType(serializationSurrogateProvider, DataContract.UnwrapNullableType(type));
System\Runtime\Serialization\DataContractSet.cs (5)
158object? customData = DataContractSurrogateCaller.GetCustomDataToExport( 220Type dcType = DataContractSurrogateCaller.GetDataContractType(_surrogateProvider, clrType); 237Type dcType = DataContractSurrogateCaller.GetDataContractType(_surrogateProvider, type); 241object? customData = DataContractSurrogateCaller.GetCustomDataToExport(_extendedSurrogateProvider, type, dcType); 272Type dcType = DataContractSurrogateCaller.GetDataContractType(_surrogateProvider, dataMemberType);
System\Runtime\Serialization\SchemaExporter.cs (1)
349DataContractSurrogateCaller.GetKnownCustomDataTypes(_dataContractSet.SerializationExtendedSurrogateProvider, knownTypes);
System\Runtime\Serialization\SchemaImporter.cs (1)
1337DataContractSurrogateCaller.GetKnownCustomDataTypes(_dataContractSet.SerializationExtendedSurrogateProvider, knownTypes);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (3)
66GetDataContract(DataContractSurrogateCaller.GetDataContractType(_serializationSurrogateProvider, declaredType)); 74object? obj = DataContractSurrogateCaller.GetDeserializedObject(_serializationSurrogateProvider, oldObj, dataContract.UnderlyingType, declaredType); 88memberType = DataContractSurrogateCaller.GetDataContractType(_serializationSurrogateProvider, memberType);
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
186memberType = DataContractSurrogateCaller.GetDataContractType(_serializationSurrogateProvider, memberType);
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
250type = DataContractSurrogateCaller.GetDataContractType(surrogate, type);