69 references to CreateConversionException
System.Private.DataContractSerialization (69)
System\Runtime\Serialization\DateTimeOffsetAdapter.cs (1)
58
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTimeOffset", exception);
System\Runtime\Serialization\Json\JsonReaderDelegator.cs (8)
178
throw XmlExceptionHelper.
CreateConversionException
(ticksvalue.ToString(), "Int64", exception);
200
throw XmlExceptionHelper.
CreateConversionException
(ticksvalue.ToString(), "DateTime", exception);
275
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
279
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
283
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
308
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
312
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
316
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
System\Runtime\Serialization\Json\XmlJsonReader.cs (4)
693
throw XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception);
711
throw XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception);
938
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(), "char", exception);
950
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(), "Int32", exception);
System\Runtime\Serialization\XmlReaderDelegator.cs (12)
488
throw XmlExceptionHelper.
CreateConversionException
(str, "byte[]", exception);
492
throw XmlExceptionHelper.
CreateConversionException
(str, "byte[]", exception);
689
throw XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception);
693
throw XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception);
697
throw XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception);
710
throw XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception);
714
throw XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception);
718
throw XmlExceptionHelper.
CreateConversionException
(str, "Guid", exception);
734
throw XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception);
738
throw XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception);
751
throw XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception);
755
throw XmlExceptionHelper.
CreateConversionException
(str, "Uri", exception);
System\Xml\XmlBufferReader.cs (6)
431
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception);
435
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception);
439
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "DateTime", exception);
453
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception);
457
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception);
461
throw XmlExceptionHelper.
CreateConversionException
(value.ToString(CultureInfo.InvariantCulture), "TimeSpan", exception);
System\Xml\XmlConverter.cs (31)
45
throw XmlExceptionHelper.
CreateConversionException
(value, "Boolean", exception);
49
throw XmlExceptionHelper.
CreateConversionException
(value, "Boolean", exception);
74
throw XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception);
78
throw XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception);
82
throw XmlExceptionHelper.
CreateConversionException
(value, "Int32", exception);
102
throw XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception);
106
throw XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception);
110
throw XmlExceptionHelper.
CreateConversionException
(value, "Int64", exception);
130
throw XmlExceptionHelper.
CreateConversionException
(value, "float", exception);
134
throw XmlExceptionHelper.
CreateConversionException
(value, "float", exception);
138
throw XmlExceptionHelper.
CreateConversionException
(value, "float", exception);
158
throw XmlExceptionHelper.
CreateConversionException
(value, "double", exception);
162
throw XmlExceptionHelper.
CreateConversionException
(value, "double", exception);
166
throw XmlExceptionHelper.
CreateConversionException
(value, "double", exception);
186
throw XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception);
190
throw XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception);
194
throw XmlExceptionHelper.
CreateConversionException
(value, "decimal", exception);
211
throw XmlExceptionHelper.
CreateConversionException
(ToString(value), "DateTime", exception);
223
throw XmlExceptionHelper.
CreateConversionException
(value, "DateTime", exception);
227
throw XmlExceptionHelper.
CreateConversionException
(value, "DateTime", exception);
247
throw XmlExceptionHelper.
CreateConversionException
(value, "UniqueId", exception);
251
throw XmlExceptionHelper.
CreateConversionException
(value, "UniqueId", exception);
268
throw XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception);
272
throw XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception);
276
throw XmlExceptionHelper.
CreateConversionException
(value, "TimeSpan", exception);
293
throw XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception);
297
throw XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception);
301
throw XmlExceptionHelper.
CreateConversionException
(value, "Guid", exception);
318
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
322
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
326
throw XmlExceptionHelper.
CreateConversionException
(value, "UInt64", exception);
System\Xml\XmlDictionaryReader.cs (7)
838
throw XmlExceptionHelper.
CreateConversionException
(string.Empty, "DateTime", exception);
842
throw XmlExceptionHelper.
CreateConversionException
(string.Empty, "DateTime", exception);
869
throw XmlExceptionHelper.
CreateConversionException
(string.Empty, "UniqueId", exception);
873
throw XmlExceptionHelper.
CreateConversionException
(string.Empty, "UniqueId", exception);
900
throw XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception);
904
throw XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception);
908
throw XmlExceptionHelper.
CreateConversionException
(string.Empty, "Guid", exception);