10 references to IsTypeSerializable
System.Runtime.Serialization (10)
System\Runtime\Serialization\DataContract.cs (1)
2061
while (type != null && DataContract.
IsTypeSerializable
(type))
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
534
ilg.Call(contextArg, XmlFormatGeneratorStatics.ReadIfNullOrRefMethod, xmlReaderArg, type, DataContract.
IsTypeSerializable
(type));
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
690
ilg.Call(contextArg, XmlFormatGeneratorStatics.WriteNullMethod, xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
716
ilg.Call(contextArg, XmlFormatGeneratorStatics.WriteNullMethod, xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
490
ilg.Call(contextArg, XmlFormatGeneratorStatics.ReadIfNullOrRefMethod, xmlReaderArg, type, DataContract.
IsTypeSerializable
(type));
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
667
ilg.Call(contextArg, XmlFormatGeneratorStatics.WriteNullMethod, xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
693
ilg.Call(contextArg, XmlFormatGeneratorStatics.WriteNullMethod, xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
347
if (!DataContract.
IsTypeSerializable
(memberType))
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
299
if (!DataContract.
IsTypeSerializable
(memberType))
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
242
if (!type.ContainsGenericParameters && DataContract.
IsTypeSerializable
(type))