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