17 implementations of ToInt64
mscorlib (17)
system\boolean.cs (1)
276long IConvertible.ToInt64(IFormatProvider provider) {
system\byte.cs (1)
229long IConvertible.ToInt64(IFormatProvider provider) {
system\char.cs (1)
474long IConvertible.ToInt64(IFormatProvider provider) {
system\datetime.cs (1)
1619long IConvertible.ToInt64(IFormatProvider provider) {
system\dbnull.cs (1)
88long IConvertible.ToInt64(IFormatProvider provider) {
system\decimal.cs (1)
1242long IConvertible.ToInt64(IFormatProvider provider) {
system\double.cs (1)
343long IConvertible.ToInt64(IFormatProvider provider) {
system\enum.cs (1)
1000long IConvertible.ToInt64(IFormatProvider provider)
system\int16.cs (1)
242long IConvertible.ToInt64(IFormatProvider provider) {
system\int32.cs (1)
215long IConvertible.ToInt64(IFormatProvider provider) {
system\int64.cs (1)
194long IConvertible.ToInt64(IFormatProvider provider) {
system\sbyte.cs (1)
250long IConvertible.ToInt64(IFormatProvider provider) {
system\single.cs (1)
313long IConvertible.ToInt64(IFormatProvider provider) {
system\string.cs (1)
3405long IConvertible.ToInt64(IFormatProvider provider) {
system\uint16.cs (1)
217long IConvertible.ToInt64(IFormatProvider provider) {
system\uint32.cs (1)
199long IConvertible.ToInt64(IFormatProvider provider) {
system\uint64.cs (1)
194long IConvertible.ToInt64(IFormatProvider provider) {
22 references to ToInt64
mscorlib (9)
system\convert.cs (6)
237return v.ToInt64(provider); 294return value.ToInt64(provider); 365return ic.ToInt64(provider); 1253return value == null? 0: ((IConvertible)value).ToInt64(null); 1257return value == null? 0: ((IConvertible)value).ToInt64(provider); 1334return ((IConvertible)value).ToInt64(null);
system\diagnostics\eventing\eventprovider.cs (1)
854data = ((IConvertible)data).ToInt64(null);
system\variant.cs (2)
500v = new Variant(ic.ToInt64(provider)); 668v = new Variant(iv.ToInt64(provider));
System.AddIn.Contract (1)
System\Addin\Contract\RemoteArgument.cs (1)
235longToUse = convertibleValue.ToInt64(null);
System.Data (6)
fx\src\data\System\Data\Common\Int64Storage.cs (2)
174value = ((IConvertible)value).ToInt64(FormatProvider); 203values[record] = ((IConvertible)value).ToInt64(FormatProvider);
fx\src\data\System\Data\Common\SQLConvert.cs (1)
588return ((IConvertible)(string)value).ToInt64(formatProvider);
fx\src\data\System\Data\Filter\ConstNode.cs (1)
198return convertible.ToInt64(NumberFormatInfo.InvariantInfo);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (2)
992targetColumn.AutoIncrementSeed = ((IConvertible)value).ToInt64(CultureInfo.InvariantCulture); 1000targetColumn.AutoIncrementStep = ((IConvertible)value).ToInt64(CultureInfo.InvariantCulture);
System.Runtime.Serialization (3)
System\Runtime\Serialization\EnumDataContract.cs (2)
324tempValues.Add(((IConvertible)enumValue).ToInt64(null)); 336long longValue = IsULong ? (long)((IConvertible)value).ToUInt64(null) : ((IConvertible)value).ToInt64(null);
System\Runtime\Serialization\Json\JsonEnumDataContract.cs (1)
61jsonWriter.WriteLong(((IConvertible)obj).ToInt64(null));
System.Web.Extensions (1)
Script\Services\WebServiceEnumData.cs (1)
76this.values[i] = ((IConvertible)enumValue).ToInt64(CultureInfo.InvariantCulture);
System.Xml (2)
System\Xml\Serialization\CodeExporter.cs (1)
288return ((IConvertible)value).ToInt64(null);
System\Xml\Serialization\Models.cs (1)
366return new ConstantModel(fieldInfo, ((IConvertible)fieldInfo.GetValue(null)).ToInt64(null));