22 references to ThrowInvalidDataContractException
dotnet-svcutil-lib (22)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ClassDataContract.cs (8)
371
DataContract.
ThrowInvalidDataContractException
(
887
DataContract.
ThrowInvalidDataContractException
(
913
DataContract.
ThrowInvalidDataContractException
(
1230
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.DuplicateCallback, method, currentCallback, DataContract.GetClrTypeFullName(method.DeclaringType), attributeType), method.DeclaringType);
1232
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.DuplicateAttribute, prevAttributeType, attributeType, DataContract.GetClrTypeFullName(method.DeclaringType), method), method.DeclaringType);
1234
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.CallbacksCannotBeVirtualMethods, method, DataContract.GetClrTypeFullName(method.DeclaringType), attributeType), method.DeclaringType);
1238
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.CallbackMustReturnVoid, DataContract.GetClrTypeFullName(method.DeclaringType), method), method.DeclaringType);
1240
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.CallbackParameterInvalid, DataContract.GetClrTypeFullName(method.DeclaringType), method, Globals.TypeOfStreamingContext), method.DeclaringType);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (1)
740
DataContract.
ThrowInvalidDataContractException
(
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (11)
1798
ThrowInvalidDataContractException
(string.Format(SRSerialization.DataContractNamespaceIsNotValid, dataContractNs), type);
1805
ThrowInvalidDataContractException
(string.Format(SRSerialization.DataContractNamespaceReserved, Globals.SerializationNamespace), type);
1808
ThrowInvalidDataContractException
(string.Format(SRSerialization.DataContractNamespaceIsNotValid, dataContractNs), type);
2088
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeOneScheme, DataContract.GetClrTypeFullName(type)), type);
2098
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeOneScheme, DataContract.GetClrTypeFullName(type)), type);
2104
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeNoData, DataContract.GetClrTypeFullName(type)), type);
2108
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeEmptyString, DataContract.GetClrTypeFullName(type)), type);
2112
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeUnknownMethod, methodName, DataContract.GetClrTypeFullName(type)), type);
2115
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeReturnType, DataContract.GetClrTypeFullName(type), methodName), type);
2120
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeMethodNull, DataContract.GetClrTypeFullName(type)), type);
2126
DataContract.
ThrowInvalidDataContractException
(string.Format(SRSerialization.KnownTypeAttributeValidMethodTypes, DataContract.GetClrTypeFullName(type)), type);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (1)
210
DataContract.
ThrowInvalidDataContractException
(
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
454
DataContract.
ThrowInvalidDataContractException
(