1 write to surrogateSelector
System.Runtime.Serialization (1)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
53this.surrogateSelector = serializer.SurrogateSelector;
7 references to surrogateSelector
System.Runtime.Serialization (7)
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (7)
70if (mode == SerializationMode.SharedType && surrogateSelector != null) 72dataContract = NetDataContractSerializer.GetDataContractFromSurrogateSelector(surrogateSelector, GetStreamingContext(), typeHandle, null /*type*/, ref surrogateDataContracts); 91if (mode == SerializationMode.SharedType && surrogateSelector != null) 93dataContract = NetDataContractSerializer.GetDataContractFromSurrogateSelector(surrogateSelector, GetStreamingContext(), typeHandle, type, ref surrogateDataContracts); 328Fx.Assert(surrogateSelector != null, "Method should not be called when surrogateSelector is null."); 330return (surrogateSelector.GetSurrogate(memberType, GetStreamingContext(), out surrogateSelectorNotUsed) != null); 335if (mode == SerializationMode.SharedType && surrogateSelector != null &&