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