2 references to ThrowIfCannotSerializeReadOnlyTypes
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
187
ThrowIfCannotSerializeReadOnlyTypes
(XmlFormatGeneratorStatics.ClassSerializationExceptionMessageProperty);
192
ThrowIfCannotSerializeReadOnlyTypes
(XmlFormatGeneratorStatics.CollectionSerializationExceptionMessageProperty);