12 instantiations of SerializationException
dotnet-svcutil-lib (12)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (4)
148
throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRSerialization.ErrorDeserializing, string.Format(SRSerialization.ErrorTypeInfo, DataContract.GetClrTypeFullName(dataContract.UnderlyingType)), string.Format(SRSerialization.NoSetMethodForProperty, string.Empty, string.Empty))));
610
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRSerialization.DataContractCacheOverflow)));
630
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRSerialization.DataContractCacheOverflow)));
654
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRSerialization.DataContractCacheOverflow)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExtensionDataReader.cs (1)
344
throw new
SerializationException
(SRSerialization.InvalidStateInExtensionDataReader);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (1)
379
return new
SerializationException
(errorMessage, innerException);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
529
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRSerialization.RequiredMemberMustBeEmitted, memberName, type.FullName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
351
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRServiceModel.SFxInvalidMessageBody, messageInfo.WrapperName, messageInfo.WrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
381
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(SRServiceModel.SFxInvalidMessageBodyEmptyMessage));
421
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(SRServiceModel.SFxInvalidMessageBodyEmptyMessage));
458
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRServiceModel.SFxInvalidMessageBody, _requestWrapperName, _requestWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
480
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
SerializationException
(string.Format(SRServiceModel.SFxInvalidMessageBody, _responseWrapperName, _responseWrapperNamespace, reader.NodeType, reader.Name, reader.NamespaceURI)));
10 references to SerializationException
dotnet-svcutil-lib (10)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializer.cs (2)
371
static internal
SerializationException
CreateSerializationException(string errorMessage)
377
static internal
SerializationException
CreateSerializationException(string errorMessage, Exception innerException)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
237
catch (
SerializationException
sx)
439
catch (System.Runtime.Serialization.
SerializationException
e)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\FaultFormatter.cs (1)
128
catch (
SerializationException
)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (2)
151
catch (
SerializationException
se)
217
catch (
SerializationException
se)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
402
catch (
SerializationException
se)
445
catch (
SerializationException
se)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerFaultFormatter.cs (1)
108
catch (
SerializationException
)