3 references to GetOnlyCollectionMustHaveAddMethod
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\CollectionDataContract.cs (2)
355throw new InvalidDataContractException(SR.Format(SR.GetOnlyCollectionMustHaveAddMethod, GetClrTypeFullName(UnderlyingType))); 365throw new InvalidDataContractException(SR.Format(SR.GetOnlyCollectionMustHaveAddMethod, GetClrTypeFullName(UnderlyingType)));
System\Runtime\Serialization\Json\JsonCollectionDataContract.cs (1)
72throw new InvalidDataContractException(SR.Format(SR.GetOnlyCollectionMustHaveAddMethod, DataContract.GetClrTypeFullName(this.TraditionalDataContract.UnderlyingType)));