2 writes to dataContractSurrogate
System.Runtime.Serialization (2)
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
30
this.
dataContractSurrogate
= serializer.DataContractSurrogate;
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
39
this.
dataContractSurrogate
= serializer.DataContractSurrogate;
6 references to dataContractSurrogate
System.Runtime.Serialization (6)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (6)
239
if (
dataContractSurrogate
== null)
294
if (
dataContractSurrogate
!= null)
298
memberType = DataContractSurrogateCaller.GetDataContractType(
dataContractSurrogate
, memberType);
310
if (
dataContractSurrogate
== null)
317
Type surrogateType = DataContractSerializer.GetSurrogatedType(
dataContractSurrogate
, type);
344
obj = DataContractSerializer.SurrogateToDataContractType(
dataContractSurrogate
, obj, declaredType, ref objType);