System\Xml\Schema\XmlValueConverter.cs (31)
429public override long ToInt64(bool value) {return (long) ChangeType((object) value, Int64Type, null); }
430public override long ToInt64(DateTime value) {return (long) ChangeType((object) value, Int64Type, null); }
431public override long ToInt64(DateTimeOffset value) {return (long) ChangeType((object) value, Int64Type, null); }
432public override long ToInt64(decimal value) {return (long) ChangeType((object) value, Int64Type, null); }
433public override long ToInt64(double value) {return (long) ChangeType((object) value, Int64Type, null); }
434public override long ToInt64(int value) {return (long) ChangeType((object) value, Int64Type, null); }
435public override long ToInt64(long value) {return (long) ChangeType((object) value, Int64Type, null); }
436public override long ToInt64(float value) {return (long) ChangeType((object) value, Int64Type, null); }
437public override long ToInt64(string value) {return (long) ChangeType((object) value, Int64Type, null); }
438public override long ToInt64(object value) {return (long) ChangeType((object) value, Int64Type, null); }
931if (sourceType == Int64Type) return ((decimal) (long) value);
972if (sourceType == Int64Type) return Int64ToInt32((long) value);
1006if (sourceType == Int64Type) return ((long) value);
1010return (long) ChangeTypeWildcardDestination(value, Int64Type, null);
1047if (sourceType == Int64Type) return XmlConvert.ToString((long) value);
1065if (destinationType == Int64Type) return DecimalToInt64((decimal) value);
1079if (destinationType == Int64Type) return ((long) (int) value);
1093if (destinationType == Int64Type) return ((long) value);
1108if (destinationType == Int64Type) return this.ToInt64((string) value);
1125if (destinationType == Int64Type) return this.ToInt64(value);
1130if (sourceType == Int64Type) return (new XmlAtomicValue(SchemaType, (long) value));
1137if (sourceType == Int64Type) return (new XmlAtomicValue(SchemaType, (long) value));
2315return (long) ChangeTypeWildcardDestination(value, Int64Type, null);
2386if (sourceType == Int64Type) return XmlConvert.ToString((long) value);
2492if (destinationType == Int64Type) return XmlConvert.ToInt64((string) value);
2542if (destinationType == Int64Type) {
2638if (clrType == Int64Type) return true;
2848return (long) ChangeTypeWildcardDestination(value, Int64Type, null);
2985if (destinationType == Int64Type) {
3002if (sourceType == Int64Type) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Long), (long) value));
3174if (itemTypeDst == Int64Type) return ToArray<long>(value, nsResolver);