14 references to CreateSerializationException
dotnet-svcutil-lib (14)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\PrimitiveDataContract.cs (1)
716
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(string.Format(SRSerialization.XmlForObjectCannotHaveContent, localName, ns), xes));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (13)
76
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorSerializing, GetSerializeType(graph), ex), ex));
80
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorSerializing, GetSerializeType(graph), ex), ex));
129
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorWriteStartObject, GetSerializeType(graph), ex), ex));
133
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorWriteStartObject, GetSerializeType(graph), ex), ex));
150
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorSerializing, GetSerializeType(graph), ex), ex));
154
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorSerializing, GetSerializeType(graph), ex), ex));
167
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorWriteEndObject, null, ex), ex));
171
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorWriteEndObject, null, ex), ex));
284
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorDeserializing, GetDeserializeType(), ex), ex));
288
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorDeserializing, GetDeserializeType(), ex), ex));
301
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorIsStartObject, GetDeserializeType(), ex), ex));
305
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.
CreateSerializationException
(GetTypeInfoError(SRSerialization.ErrorIsStartObject, GetDeserializeType(), ex), ex));
373
return XmlObjectSerializer.
CreateSerializationException
(errorMessage, null);