25 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)
510try { return Convert.ToInt32(_updateInterval, CultureInfo.InvariantCulture); }
MSBuild (1)
XMake.cs (1)
1528parameters.MemoryUseLimit = Convert.ToInt32(memoryUseLimit, CultureInfo.InvariantCulture);
PresentationBuildTasks (1)
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)
206int 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.Net.Requests (1)
System\Net\FtpControlStream.cs (1)
1093return Convert.ToInt32(parsedList[3], NumberFormatInfo.InvariantInfo);
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.Windows.Forms (1)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
611newPosition = Convert.ToInt32(_positionItem.Text, CultureInfo.CurrentCulture) - 1;