77 references to CreateConversionException
System.Runtime.Serialization (77)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
61
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTimeOffset", exception));
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (10)
218
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(ticksvalue, "Int64", exception));
222
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(ticksvalue, "Int64", exception));
226
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(ticksvalue, "Int64", exception));
248
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(ticksvalue, "DateTime", exception));
320
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
324
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
328
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
358
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
362
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
366
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
System\Runtime\Serialization\Json\XmlJsonReader.cs (10)
697
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
701
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
705
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
723
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
727
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
731
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
1010
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "char", exception));
1022
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
1026
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
1030
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
System\Runtime\Serialization\XmlReaderDelegator.cs (12)
506
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "byte[]", exception));
510
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "byte[]", exception));
726
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
730
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
734
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
748
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
752
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
756
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception));
772
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception));
776
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception));
789
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception));
793
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception));
System\Xml\XmlBufferReader.cs (6)
495
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception));
499
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception));
503
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception));
517
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception));
521
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception));
525
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception));
System\Xml\XmlConverter.cs (31)
73
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Boolean", exception));
77
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Boolean", exception));
102
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
106
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
110
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception));
130
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
134
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
138
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception));
158
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "float", exception));
162
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "float", exception));
166
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "float", exception));
186
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "double", exception));
190
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "double", exception));
194
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "double", exception));
214
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
218
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
222
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception));
239
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(ToString(value), "DateTime", exception));
251
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "DateTime", exception));
255
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "DateTime", exception));
275
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UniqueId", exception));
279
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UniqueId", exception));
296
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception));
300
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception));
304
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception));
322
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception));
326
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception));
330
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception));
347
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
351
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
355
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception));
System\Xml\XmlDictionaryReader.cs (7)
869
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "DateTime", exception));
873
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "DateTime", exception));
900
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "UniqueId", exception));
904
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "UniqueId", exception));
932
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception));
936
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception));
940
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception));