FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (31)
440public override long ToInt64(bool value) { return (long)ChangeType((object)value, Int64Type, null); }
441public override long ToInt64(DateTime value) { return (long)ChangeType((object)value, Int64Type, null); }
442public override long ToInt64(DateTimeOffset value) { return (long)ChangeType((object)value, Int64Type, null); }
443public override long ToInt64(decimal value) { return (long)ChangeType((object)value, Int64Type, null); }
444public override long ToInt64(double value) { return (long)ChangeType((object)value, Int64Type, null); }
445public override long ToInt64(int value) { return (long)ChangeType((object)value, Int64Type, null); }
446public override long ToInt64(long value) { return (long)ChangeType((object)value, Int64Type, null); }
447public override long ToInt64(float value) { return (long)ChangeType((object)value, Int64Type, null); }
448public override long ToInt64(string value) { return (long)ChangeType((object)value, Int64Type, null); }
449public override long ToInt64(object value) { return (long)ChangeType((object)value, Int64Type, null); }
1026if (sourceType == Int64Type) return ((decimal)(long)value);
1072if (sourceType == Int64Type) return Int64ToInt32((long)value);
1111if (sourceType == Int64Type) return ((long)value);
1115return (long)ChangeTypeWildcardDestination(value, Int64Type, null);
1157if (sourceType == Int64Type) return XmlConvert.ToString((long)value);
1176if (destinationType == Int64Type) return DecimalToInt64((decimal)value);
1191if (destinationType == Int64Type) return ((long)(int)value);
1206if (destinationType == Int64Type) return ((long)value);
1222if (destinationType == Int64Type) return this.ToInt64((string)value);
1240if (destinationType == Int64Type) return this.ToInt64(value);
1246if (sourceType == Int64Type) return (new XmlAtomicValue(SchemaType, (long)value));
1254if (sourceType == Int64Type) return (new XmlAtomicValue(SchemaType, (long)value));
2565return (long)ChangeTypeWildcardDestination(value, Int64Type, null);
2648if (sourceType == Int64Type) return XmlConvert.ToString((long)value);
2763if (destinationType == Int64Type) return XmlConvert.ToInt64((string)value);
2823if (destinationType == Int64Type)
2935if (clrType == Int64Type) return true;
3159return (long)ChangeTypeWildcardDestination(value, Int64Type, null);
3313if (destinationType == Int64Type)
3333if (sourceType == Int64Type) return (new XmlAtomicValue(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Long), (long)value));
3523if (itemTypeDst == Int64Type) return ToArray<long>(value, nsResolver);