45 references to ToInt64
mscorlib (7)
microsoft\win32\registrykey.cs (1)
1572
long data = Convert.
ToInt64
(value, System.Globalization.CultureInfo.InvariantCulture);
system\datetime.cs (1)
388
serializedTicks = Convert.
ToInt64
(enumerator.Value, CultureInfo.InvariantCulture);
system\enum.cs (2)
222
result = (UInt64)Convert.
ToInt64
(value, CultureInfo.InvariantCulture);
1002
return Convert.
ToInt64
(GetValue(), CultureInfo.CurrentCulture);
system\runtime\serialization\formatter.cs (1)
154
WriteInt64(Convert.
ToInt64
(data, CultureInfo.InvariantCulture), memberName);
system\runtime\serialization\formatterconverter.cs (1)
116
return System.Convert.
ToInt64
(value, CultureInfo.InvariantCulture);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (1)
741
WriteInt64(Convert.
ToInt64
(value, CultureInfo.InvariantCulture));
System (4)
compmod\system\componentmodel\EnumConverter.cs (4)
124
convertedValue |= Convert.
ToInt64
((Enum)Enum.Parse(type, v, true), culture);
139
finalValue |= Convert.
ToInt64
(e, culture);
205
ulValues[idx] = Convert.
ToInt64
((Enum)objValues.GetValue(idx), culture);
208
long longValue = Convert.
ToInt64
((Enum)value, culture);
System.Configuration (2)
System\Configuration\ValidatorUtils.cs (2)
38
ValidateResolution(resolution.ToString(), Convert.
ToInt64
(value, CultureInfo.InvariantCulture), Convert.
ToInt64
(resolution, CultureInfo.InvariantCulture));
System.Data (14)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (3)
803
maxLength = Convert.
ToInt64
(temp, null);
833
maxLength = Convert.
ToInt64
(temp, null);
863
maxLength = Convert.
ToInt64
(temp, null);
fx\src\data\System\Data\DataColumn.cs (1)
1877
this.current = Convert.
ToInt64
(value, formatProvider);
fx\src\data\System\Data\Filter\BinaryNode.cs (10)
319
checked {value = Convert.
ToInt64
(vLeft, FormatProvider) + Convert.
ToInt64
(vRight, FormatProvider);}
426
checked {value = Convert.
ToInt64
(vLeft, FormatProvider) - Convert.
ToInt64
(vRight, FormatProvider);}
515
checked {value = Convert.
ToInt64
(vLeft, FormatProvider) * Convert.
ToInt64
(vRight, FormatProvider);}
583
checked {value = Convert.
ToInt64
(vLeft, FormatProvider) / Convert.
ToInt64
(vRight, FormatProvider);}
804
value = Convert.
ToInt64
(vLeft, FormatProvider) % Convert.
ToInt64
(vRight, FormatProvider);
System.Data.Entity (6)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
2058
Convert.
ToInt64
(((DbConstantExpression)expression).Value, CultureInfo.InvariantCulture) < 0);
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
2995
if (constExpr != null && System.Convert.
ToInt64
(constExpr.Value, CultureInfo.InvariantCulture) < 0)
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (2)
713
edmEnumType.Members.OrderBy(m => Convert.
ToInt64
(m.Value, CultureInfo.InvariantCulture)).ThenBy(m => m.Name).GetEnumerator();
715
objectEnumType.Members.OrderBy(m => Convert.
ToInt64
(m.Value, CultureInfo.InvariantCulture)).ThenBy(m => m.Name).GetEnumerator();
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (1)
303
rowsAffected = Convert.
ToInt64
(m_rowsAffectedParameter.Value, CultureInfo.InvariantCulture);
System\Data\Metadata\Edm\EnumType.cs (1)
168
Debug.Assert(Helper.IsEnumMemberValueInRange(UnderlyingType.PrimitiveTypeKind, Convert.
ToInt64
(enumMember.Value, CultureInfo.InvariantCulture)));
System.IdentityModel (1)
System\IdentityModel\SecurityUtils.cs (1)
282
return Convert.
ToInt64
(regValue, CultureInfo.InvariantCulture);
System.Management (6)
property.cs (2)
454
((String[])(wmiValue))[i] = (Convert.
ToInt64
(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Int64)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(System.Int64)));
563
wmiValue = (Convert.
ToInt64
(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Int64)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(System.Int64)));
WmiGenerator.cs (4)
1889
Int64 test = System.Convert.
ToInt64
(ValueMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64)));
1894
if (System.Convert.
ToInt64
(
1993
Int64 test = System.Convert.
ToInt64
(BitMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64)));
2009
if( (System.Convert.
ToInt64
(BitMap[i],(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.UInt64))) == 0) ) // Bug No: 121987
System.Security (1)
system\security\cryptography\xml\utils.cs (1)
492
return Convert.
ToInt64
(regValue, CultureInfo.InvariantCulture);
System.ServiceModel (1)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
314
long effectiveTicksInterval = Convert.
ToInt64
((double)this.ServiceTokenValidityThresholdPercentage / 100.0 * (double)serviceTokenTicksInterval, NumberFormatInfo.InvariantInfo);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\KeysConverter.cs (1)
219
finalValue |= Convert.
ToInt64
(e, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
4328
v.SetLong(Convert.
ToInt64
(var, CultureInfo.InvariantCulture));
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
238
return Convert.
ToInt64
(regValue, CultureInfo.InvariantCulture);