42 references to ToInt32
BasicWebSite (1)
Controllers\TempDataController.cs (1)
73var value2 = Convert.ToInt32(TempData["key2"], CultureInfo.InvariantCulture);
dotnet-svcutil-lib (2)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathScanner.cs (1)
150_kind = (LexKind)Convert.ToInt32(this.CurerntChar, CultureInfo.InvariantCulture);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeGenerator.cs (1)
997Ldc(Convert.ToInt32(o, CultureInfo.InvariantCulture));
Microsoft.AspNetCore.Components.Server.Tests (1)
Circuits\RenderBatchWriterTest.cs (1)
321? Convert.ToInt32(expectedEntryIterationVar, CultureInfo.InvariantCulture)
Microsoft.AspNetCore.DataProtection (3)
RegistryPolicyResolver.cs (3)
132options.EncryptionAlgorithmKeySize = Convert.ToInt32(valueFromRegistry, CultureInfo.InvariantCulture); 168options.EncryptionAlgorithmKeySize = Convert.ToInt32(valueFromRegistry, CultureInfo.InvariantCulture); 186options.EncryptionAlgorithmKeySize = Convert.ToInt32(valueFromRegistry, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
150return Convert.ToInt32(value, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Grpc.Swagger (1)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
150return Convert.ToInt32(value, CultureInfo.InvariantCulture);
Microsoft.AspNetCore.Owin (3)
OwinEnvironment.cs (3)
63{ OwinConstants.ResponseStatusCode, new FeatureMap<IHttpResponseFeature>(feature => feature.StatusCode, () => 200, (feature, value) => feature.StatusCode = Convert.ToInt32(value, CultureInfo.InvariantCulture)) }, 81(feature, value) => feature.LocalPort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) }, 83(feature, value) => feature.RemotePort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\SignalR\common\Shared\JsonUtils.cs (1)
131return Convert.ToInt32(reader.Value, CultureInfo.InvariantCulture);
Microsoft.Build.Tasks.Core (1)
ManifestUtil\ComImporter.cs (1)
74TypeLib = new TypeLib(tlbid, new Version(typeLibAttr.wMajorVerNum, typeLibAttr.wMinorVerNum), helpdir, typeLibAttr.lcid, Convert.ToInt32(typeLibAttr.wLibFlags, CultureInfo.InvariantCulture));
PresentationCore (2)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
610Int32 stylusTip = Convert.ToInt32(da.StylusTip, System.Globalization.CultureInfo.InvariantCulture);
System\Windows\Media\Imaging\BitmapMetadata.cs (1)
1262return System.Convert.ToInt32(rating, CultureInfo.InvariantCulture);
PresentationFramework (1)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1531pageNumber = Convert.ToInt32(args.Parameter, System.Globalization.CultureInfo.CurrentCulture);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\RangeAttribute.cs (1)
206Initialize((int)minimum, (int)maximum, v => Convert.ToInt32(v, CultureInfo.InvariantCulture));
System.Data.Common (17)
System\Data\Common\DBSchemaRow.cs (1)
88return Convert.ToInt32(value, CultureInfo.InvariantCulture);
System\Data\Filter\BinaryNode.cs (14)
180return Convert.ToInt32(vLeft, FormatProvider).CompareTo(Convert.ToInt32(vRight, FormatProvider)); 187return Convert.ToInt32(vLeft, FormatProvider).CompareTo(Convert.ToInt32(vRight, FormatProvider)); 204return Convert.ToInt32(DataExpression.ToBoolean(vLeft), FormatProvider) - 205Convert.ToInt32(DataExpression.ToBoolean(vRight), FormatProvider); 376checked { value = Convert.ToInt32(vLeft, FormatProvider) + Convert.ToInt32(vRight, FormatProvider); } 544checked { value = Convert.ToInt32(vLeft, FormatProvider) - Convert.ToInt32(vRight, FormatProvider); } 683checked { value = Convert.ToInt32(vLeft, FormatProvider) * Convert.ToInt32(vRight, FormatProvider); } 789checked { value = Convert.ToInt32(vLeft, FormatProvider) / Convert.ToInt32(vRight, FormatProvider); }
System\Data\Filter\FunctionNode.cs (2)
159argumentValues[i] = Convert.ToInt32(argumentValues[i], FormatProvider); 345return Convert.ToInt32(argumentValues[0], FormatProvider);
System.Data.Odbc (1)
System\Data\Odbc\OdbcMetaDataFactory.cs (1)
144if (Convert.ToInt32(odbcSource, null) == 0)
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\CodeGenerator.cs (1)
824Ldc(Convert.ToInt32(o, CultureInfo.InvariantCulture));
System.Private.Xml (2)
System\Xml\Serialization\CodeGenerator.cs (1)
794Ldc(Convert.ToInt32(o, CultureInfo.InvariantCulture));
System\Xml\XPath\Internal\XPathScanner.cs (1)
147_kind = (LexKind)Convert.ToInt32(CurrentChar, CultureInfo.InvariantCulture);
System.Runtime.Serialization.Formatters (2)
System\Runtime\Serialization\Formatter.cs (1)
122WriteInt32(Convert.ToInt32(data, CultureInfo.InvariantCulture), memberName);
System\Runtime\Serialization\FormatterConverter.cs (1)
73return System.Convert.ToInt32(value, CultureInfo.InvariantCulture);
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3834: Convert.ToInt32(o, CultureInfo.InvariantCulture);