4 references to UnexpectedContractType
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\DataContract.cs (4)
171
throw new InvalidDataContractException(SR.Format(SR.
UnexpectedContractType
, DataContract.GetClrTypeFullName(GetType()), DataContract.GetClrTypeFullName(UnderlyingType)));
178
throw new InvalidDataContractException(SR.Format(SR.
UnexpectedContractType
, DataContract.GetClrTypeFullName(GetType()), DataContract.GetClrTypeFullName(UnderlyingType)));
185
throw new InvalidDataContractException(SR.Format(SR.
UnexpectedContractType
, DataContract.GetClrTypeFullName(GetType()), DataContract.GetClrTypeFullName(UnderlyingType)));
190
throw new InvalidDataContractException(SR.Format(SR.
UnexpectedContractType
, DataContract.GetClrTypeFullName(GetType()), DataContract.GetClrTypeFullName(UnderlyingType)));