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