18 references to SharedType
System.Runtime.Serialization (18)
System\Runtime\Serialization\CollectionDataContract.cs (2)
1254if (mode == SerializationMode.SharedType) 1297if (mode == SerializationMode.SharedType)
System\Runtime\Serialization\NetDataContractSerializer.cs (3)
457dataContract = DataContract.GetDataContract(typeHandle, type, SerializationMode.SharedType); 466return DataContract.GetDataContract(typeHandle, type, SerializationMode.SharedType); 504itemContract = DataContract.GetDataContract(elementType.TypeHandle, elementType, SerializationMode.SharedType);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (4)
50this.mode = SerializationMode.SharedType; 70if (mode == SerializationMode.SharedType && surrogateSelector != null) 91if (mode == SerializationMode.SharedType && surrogateSelector != null) 335if (mode == SerializationMode.SharedType && surrogateSelector != null &&
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
190if (this.Mode == SerializationMode.SharedType && dataContract.IsValidContract(this.Mode))
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (8)
45this.mode = SerializationMode.SharedType; 66if (mode == SerializationMode.SharedType && surrogateSelector != null) 87if (mode == SerializationMode.SharedType && surrogateSelector != null) 108if (mode == SerializationMode.SharedType && surrogateSelector != null) 128if (mode == SerializationMode.SharedType) 138if (mode == SerializationMode.SharedType) 148if (mode == SerializationMode.SharedType) 287if (mode == SerializationMode.SharedType && surrogateSelector != null &&