13 references to IsTypeSerializable
System.Private.DataContractSerialization (13)
System\Runtime\Serialization\DataContract.cs (1)
1944
while (type != null && DataContract.
IsTypeSerializable
(type))
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
483
_ilg.Call(_contextArg, XmlFormatGeneratorStatics.ReadIfNullOrRefMethod, _xmlReaderArg, type, DataContract.
IsTypeSerializable
(type));
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
659
_ilg.Call(_contextArg, XmlFormatGeneratorStatics.WriteNullMethod, _xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
685
_ilg.Call(_contextArg, XmlFormatGeneratorStatics.WriteNullMethod, _xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
System\Runtime\Serialization\ReflectionClassWriter.cs (2)
83
context.WriteNull(xmlWriter, memberType, DataContract.
IsTypeSerializable
(memberType));
98
context.WriteNull(xmlWriter, memberType, DataContract.
IsTypeSerializable
(memberType));
System\Runtime\Serialization\ReflectionReader.cs (1)
281
string objectId = context.ReadIfNullOrRef(xmlReader, type, DataContract.
IsTypeSerializable
(type));
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
520
_ilg.Call(_contextArg, XmlFormatGeneratorStatics.ReadIfNullOrRefMethod, _xmlReaderArg, type, DataContract.
IsTypeSerializable
(type));
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
672
_ilg.Call(_contextArg, XmlFormatGeneratorStatics.WriteNullMethod, _xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
698
_ilg.Call(_contextArg, XmlFormatGeneratorStatics.WriteNullMethod, _xmlWriterArg, memberType, DataContract.
IsTypeSerializable
(memberType));
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
89
if (!DataContract.
IsTypeSerializable
(memberType))
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (1)
187
if (!DataContract.
IsTypeSerializable
(memberType))
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
259
if (!type.ContainsGenericParameters && DataContract.
IsTypeSerializable
(type))