34 references to ToInt64
dotnet-svcutil-lib (2)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (2)
323tempValues.Add(Convert.ToInt64(enumValue, null)); 335long longValue = IsULong ? (long)Convert.ToUInt64(value, null) : Convert.ToInt64(value, null);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
src\aspnetcore\src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
143return Convert.ToInt64(value, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\aspnetcore\src\SignalR\common\Shared\JsonUtils.cs (1)
148return Convert.ToInt64(reader.Value, CultureInfo.InvariantCulture);
Microsoft.TestPlatform.CommunicationUtilities (1)
Serialization\TestObjectBaseConverter.cs (1)
157writer.WriteNumberValue(Convert.ToInt64(e, CultureInfo.InvariantCulture));
Microsoft.Win32.Registry (1)
Microsoft\Win32\RegistryKey.cs (1)
1345long data = Convert.ToInt64(value, System.Globalization.CultureInfo.InvariantCulture);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\EnumConverter.cs (1)
74Convert.ToInt64(enumVal, culture);
System.Configuration.ConfigurationManager (2)
System\Configuration\ValidatorUtils.cs (2)
25ValidateResolution(resolution.ToString(), Convert.ToInt64(value, CultureInfo.InvariantCulture), 26Convert.ToInt64(resolution, CultureInfo.InvariantCulture));
System.Data.Common (11)
System\Data\DataColumn.cs (1)
1951_current = Convert.ToInt64(value, formatProvider);
System\Data\Filter\BinaryNode.cs (10)
391checked { value = Convert.ToInt64(vLeft, FormatProvider) + Convert.ToInt64(vRight, FormatProvider); } 559checked { value = Convert.ToInt64(vLeft, FormatProvider) - Convert.ToInt64(vRight, FormatProvider); } 698checked { value = Convert.ToInt64(vLeft, FormatProvider) * Convert.ToInt64(vRight, FormatProvider); } 809checked { value = Convert.ToInt64(vLeft, FormatProvider) / Convert.ToInt64(vRight, FormatProvider); } 1071value = Convert.ToInt64(vLeft, FormatProvider) % Convert.ToInt64(vRight, FormatProvider);
System.Management (6)
System\Management\Property.cs (2)
434((string[])(wmiValue))[i] = (Convert.ToInt64(valArray.GetValue(i), (IFormatProvider)culInfo.GetFormat(typeof(long)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(long))); 538wmiValue = (Convert.ToInt64(val, (IFormatProvider)culInfo.GetFormat(typeof(long)))).ToString((IFormatProvider)culInfo.GetFormat(typeof(long)));
System\Management\WMIGenerator.cs (4)
1839long test = System.Convert.ToInt64(ValueMap[i], (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(ulong))); 1844if (System.Convert.ToInt64( 1943long test = System.Convert.ToInt64(BitMap[i], (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(ulong))); 1959if ((System.Convert.ToInt64(BitMap[i], (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(ulong))) == 0))
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
834_dateData = (ulong)Convert.ToInt64(enumerator.Value, CultureInfo.InvariantCulture);
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\EnumDataContract.cs (2)
273tempValues.Add(Convert.ToInt64(enumValue, null)); 285long longValue = IsULong ? (long)Convert.ToUInt64(value, null) : Convert.ToInt64(value, null);
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\Formatter.cs (1)
126WriteInt64(Convert.ToInt64(data, CultureInfo.InvariantCulture), memberName);
System\Runtime\Serialization\FormatterConverter.cs (1)
88return System.Convert.ToInt64(value, CultureInfo.InvariantCulture);
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\LocalAppContextSwitches.cs (1)
25return Convert.ToInt64(data, CultureInfo.InvariantCulture);
System.ServiceModel.Primitives (1)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
312long effectiveTicksInterval = Convert.ToInt64((double)ServiceTokenValidityThresholdPercentage / 100.0 * (double)serviceTokenTicksInterval, NumberFormatInfo.InvariantInfo);
System.Windows.Forms (1)
System\Windows\Forms\Input\KeysConverter.cs (1)
203finalValue |= Convert.ToInt64(e, CultureInfo.InvariantCulture);