4 references to InvalidDataContractException
System.Runtime.Serialization (3)
System\Runtime\Serialization\CollectionDataContract.cs (2)
1135
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
InvalidDataContractException
(GetInvalidCollectionMessage(message, SR.GetString(SR.InvalidCollectionDataContract, DataContract.GetClrTypeFullName(type)), param)));
1268
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
InvalidDataContractException
(InvalidCollectionInSharedContractMessage));
System\Runtime\Serialization\DataContract.cs (1)
1093
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
InvalidDataContractException
(message));
System.ServiceModel (1)
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
201
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
InvalidDataContractException
(String.Format(CultureInfo.InvariantCulture, "Cannot find DataContract attribute for {0}", messageName)));