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