52 references to CreateConversionException
dotnet-svcutil-lib (52)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
63
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTimeOffset", exception));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (7)
358
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "byte[]", exception));
362
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "byte[]", exception));
554
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
558
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
562
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
583
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception));
587
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (6)
474
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception));
478
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception));
482
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception));
496
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception));
500
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception));
504
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlConverter.cs (31)
78
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Boolean", exception));
82
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Boolean", exception));
107
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
111
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
115
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
135
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
139
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
143
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
163
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "float", exception));
167
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "float", exception));
171
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "float", exception));
191
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "double", exception));
195
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "double", exception));
199
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "double", exception));
219
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
223
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
227
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
244
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(ToString(value), "DateTime", exception));
256
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "DateTime", exception));
260
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "DateTime", exception));
280
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UniqueId", exception));
284
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UniqueId", exception));
301
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception));
305
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception));
309
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception));
326
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception));
330
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception));
334
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception));
351
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
355
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
359
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (7)
730
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "DateTime", exception));
734
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "DateTime", exception));
761
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "UniqueId", exception));
765
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "UniqueId", exception));
792
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception));
796
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception));
800
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception));