34 references to ToInt32
Microsoft.AspNetCore.App.CodeFixes (1)
RouteParameterUnusedParameterFixer.cs (1)
79var routeParameterInsertIndex = Convert.ToInt32(diagnostic.Properties["RouteParameterInsertIndex"], CultureInfo.InvariantCulture);
Microsoft.Build (3)
BackEnd\Components\Scheduler\SchedulingPlan.cs (3)
379int configId = Convert.ToInt32(values[0], CultureInfo.InvariantCulture); 384int childId = Convert.ToInt32(values[i], CultureInfo.InvariantCulture); 409int configId = Convert.ToInt32(values[0], CultureInfo.InvariantCulture);
Microsoft.Build.Tasks.Core (1)
ManifestUtil\DeployManifest.cs (1)
511try { return Convert.ToInt32(_updateInterval, CultureInfo.InvariantCulture); }
Microsoft.NET.Sdk.Publish.Tasks (1)
MsDeploy\CommonUtility.cs (1)
1702int iPriority = string.IsNullOrEmpty(priority) ? 0 : Convert.ToInt32(priority, CultureInfo.InvariantCulture);
MSBuild (1)
XMake.cs (1)
1826parameters.MemoryUseLimit = Convert.ToInt32(memoryUseLimit, CultureInfo.InvariantCulture);
PresentationBuildTasks (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlInt32CollectionSerializer.cs (1)
224value = Convert.ToInt32(th.GetCurrentToken(), formatProvider);
PresentationCore (2)
MS\Internal\IListConverters.cs (1)
185list.Add(Convert.ToInt32(_tokenizer.GetCurrentToken(), ci) != 0);
System\Windows\Media\Generated\Int32Collection.cs (1)
723value = Convert.ToInt32(th.GetCurrentToken(), formatProvider);
PresentationFramework (6)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
256((IAnnotationComponent)snc).ZOrder = Convert.ToInt32(node.Value, CultureInfo.InvariantCulture);
System\Windows\Controls\DocumentViewer.cs (1)
1907columnValue = System.Convert.ToInt32((string)data, CultureInfo.CurrentCulture);
System\Windows\Documents\DocumentSequence.cs (1)
162int pageNumber = Convert.ToInt32(elementID, CultureInfo.InvariantCulture) - 1;
System\Windows\Documents\FixedDocument.cs (1)
207int pageNumber = Convert.ToInt32(elementID, CultureInfo.InvariantCulture);
System\Windows\Documents\FixedFindEngine.cs (1)
409bidiLevel = Convert.ToInt32(bidiLevelAsString, CultureInfo.InvariantCulture);
System\Windows\Documents\XamlToRtfWriter.cs (1)
3796i = System.Convert.ToInt32(s, CultureInfo.InvariantCulture);
System.Data.Common (4)
System\Data\SimpleType.cs (3)
94_length = Convert.ToInt32(facet.Value, null); 97_minLength = Convert.ToInt32(facet.Value, null); 100_maxLength = Convert.ToInt32(facet.Value, null);
System\Data\XDRSchema.cs (1)
194if ((Convert.ToInt32(occurs, CultureInfo.InvariantCulture) > 1) && (typeNode == null))
System.Management (3)
System\Management\WMIGenerator.cs (3)
5051ret = System.Convert.ToInt32(strTemp, (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(int))); 5055ret = System.Convert.ToInt32(bitMap, (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(int))); 5227arrayToAdd.Add(System.Convert.ToInt32(numericValue, (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(int))));
System.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
1095return Convert.ToInt32(parsedList[3], NumberFormatInfo.InvariantInfo);
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (1)
664return Convert.ToInt32(this, provider);
System.Private.Xml (1)
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
503numberingFormat.setGroupingSize(Convert.ToInt32(groupingSize, CultureInfo.InvariantCulture));
System.Security.Cryptography.Xml (3)
System\Security\Cryptography\Xml\EncryptionMethod.cs (1)
95KeySize = Convert.ToInt32(Utils.DiscardWhiteSpaces(keySizeNode.InnerText), null);
System\Security\Cryptography\Xml\SignedXml.cs (2)
441signatureLength = Convert.ToInt32(m_signature.SignedInfo.SignatureLength, null); 1049signatureLength = Convert.ToInt32(m_signature.SignedInfo.SignatureLength, null);
System.ServiceModel.Primitives (1)
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
188length = Convert.ToInt32(lengthString, CultureInfo.InvariantCulture);
System.Speech (3)
Internal\SrgsParser\XmlParser.cs (3)
1769int minmax = Convert.ToInt32(repeat, CultureInfo.InvariantCulture); 1780minRepeat = Convert.ToInt32(repeat.Substring(0, sep), CultureInfo.InvariantCulture); 1783maxRepeat = Convert.ToInt32(repeat.Substring(sep + 1), CultureInfo.InvariantCulture);
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
611newPosition = Convert.ToInt32(_positionItem.Text, CultureInfo.CurrentCulture) - 1;