1 write to surrogateSelector
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
49
this.
surrogateSelector
= serializer.SurrogateSelector;
9 references to surrogateSelector
System.Runtime.Serialization (9)
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (9)
66
if (mode == SerializationMode.SharedType &&
surrogateSelector
!= null)
68
dataContract = NetDataContractSerializer.GetDataContractFromSurrogateSelector(
surrogateSelector
, streamingContext, typeHandle, type, ref surrogateDataContracts);
87
if (mode == SerializationMode.SharedType &&
surrogateSelector
!= null)
89
dataContract = NetDataContractSerializer.GetDataContractFromSurrogateSelector(
surrogateSelector
, streamingContext, typeHandle, null /*type*/, ref surrogateDataContracts);
108
if (mode == SerializationMode.SharedType &&
surrogateSelector
!= null)
110
dataContract = NetDataContractSerializer.GetDataContractFromSurrogateSelector(
surrogateSelector
, streamingContext, typeHandle, null /*type*/, ref surrogateDataContracts);
280
Fx.Assert(
surrogateSelector
!= null, "Method should not be called when surrogateSelector is null.");
282
return (
surrogateSelector
.GetSurrogate(memberType, streamingContext, out surrogateSelectorNotUsed) != null);
287
if (mode == SerializationMode.SharedType &&
surrogateSelector
!= null &&