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