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