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