26 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\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
143return Convert.ToInt64(value, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Grpc.Swagger (1)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
143return Convert.ToInt64(value, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\SignalR\common\Shared\JsonUtils.cs (1)
148return Convert.ToInt64(reader.Value, 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)
1959_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.Private.CoreLib (1)
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.Windows.Forms (1)
System\Windows\Forms\Input\KeysConverter.cs (1)
203finalValue |= Convert.ToInt64(e, CultureInfo.InvariantCulture);