113 references to ToInt32
mscorlib (3)
system\security\permissions\keycontainerpermission.cs (2)
621providerType = Convert.ToInt32(strAttrValue, null); 625keySpec = Convert.ToInt32(strAttrValue, null);
system\string.cs (1)
3396return Convert.ToInt32(this, provider);
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XamlInt32CollectionSerializer.cs (1)
238value = Convert.ToInt32(th.GetCurrentToken(), formatProvider);
PresentationFramework (7)
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
273((IAnnotationComponent)snc).ZOrder = Convert.ToInt32(node.Value, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
2005columnValue = System.Convert.ToInt32((string)data, CultureInfo.CurrentCulture);
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
185int pageNumber = Convert.ToInt32(elementID, CultureInfo.InvariantCulture) - 1;
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
230int pageNumber = Convert.ToInt32(elementID, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\FixedFindEngine.cs (1)
425bidiLevel = Convert.ToInt32(bidiLevelAsString, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
264i = System.Convert.ToInt32(s, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (1)
3805i = System.Convert.ToInt32(s, CultureInfo.InvariantCulture);
System (2)
net\System\Net\_FtpControlStream.cs (2)
910int year = Convert.ToInt32(dateTimeLine.Substring(0, 4), NumberFormatInfo.InvariantInfo); 1088return Convert.ToInt32(parsedList[3], NumberFormatInfo.InvariantInfo);
System.Activities (9)
System\Activities\Debugger\DebugInfo.cs (9)
332location.Value = Convert.ToSByte(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 337succeed = ConvertToChar(value, Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture), out ch); 345location.Value = Convert.ToInt16(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 349location.Value = Convert.ToInt32(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 353location.Value = Convert.ToInt64(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 357location.Value = Convert.ToByte(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 361location.Value = Convert.ToUInt16(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 365location.Value = Convert.ToUInt32(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture)); 369location.Value = Convert.ToUInt64(RemoveHexadecimalPrefix(value), Convert.ToInt32(stringRadix, CultureInfo.InvariantCulture));
System.Data (4)
fx\src\data\System\Data\SimpleType.cs (3)
130length = Convert.ToInt32(facet.Value, null); 133minLength = Convert.ToInt32(facet.Value, null); 136maxLength = Convert.ToInt32(facet.Value, null);
fx\src\data\System\Data\XDRSchema.cs (1)
183if ((Convert.ToInt32(occurs, CultureInfo.InvariantCulture)>1) && (typeNode==null)){
System.Data.SqlXml (1)
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
435numberingFormat.setGroupingSize(Convert.ToInt32(groupingSize, CultureInfo.InvariantCulture));
System.IdentityModel (2)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
1451rstr.KeySizeInBits = Convert.ToInt32(reader.ReadElementContentAsString(), CultureInfo.InvariantCulture);
System\IdentityModel\Tokens\WSSecurityJan2004.cs (1)
240length = Convert.ToInt32(lengthString, CultureInfo.InvariantCulture);
System.Management (4)
WmiGenerator.cs (4)
5130ret = System.Convert.ToInt32(strTemp,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 5134ret = System.Convert.ToInt32(bitMap,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 5305arrayToAdd.Add(System.Convert.ToInt32(numericValue,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)))); 5311arrayToAdd.Add(System.Convert.ToInt32(numericValue,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))));
System.Messaging (1)
System\Messaging\Message.cs (1)
2380integerId = Convert.ToInt32(pieces[1], CultureInfo.InvariantCulture);
System.Runtime.Remoting (3)
channels\http\combinedhttpchannel.cs (1)
68case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break;
channels\ipc\ipcchannel.cs (1)
71case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break;
channels\tcp\combinedtcpchannel.cs (1)
64case "priority": _channelPriority = Convert.ToInt32((String)entry.Value, CultureInfo.InvariantCulture); break;
System.Security (3)
system\security\cryptography\xml\encryptedtype.cs (1)
195KeySize = Convert.ToInt32(Utils.DiscardWhiteSpaces(keySizeNode.InnerText), null);
system\security\cryptography\xml\signedxml.cs (2)
403signatureLength = Convert.ToInt32(m_signature.SignedInfo.SignatureLength, null); 1005signatureLength = Convert.ToInt32(m_signature.SignedInfo.SignatureLength, null);
System.ServiceModel (1)
System\ServiceModel\Channels\NativeMsmqMessage.cs (1)
543integerId = Convert.ToInt32(pieces[1], CultureInfo.InvariantCulture);
System.Web (50)
Configuration\HttpCapabilitiesBase.cs (39)
837_gatewayMajorVersion = Convert.ToInt32(this["gatewayMajorVersion"], CultureInfo.InvariantCulture); 929screenPixelsWidthToUse = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 930characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 933screenPixelsWidthToUse = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 934characterWidthToUse = Convert.ToInt32(this["defaultCharacterWidth"], CultureInfo.InvariantCulture); 937screenPixelsWidthToUse = Convert.ToInt32(this["defaultScreenPixelsWidth"], CultureInfo.InvariantCulture); 938characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 941screenPixelsWidthToUse = Convert.ToInt32(this["defaultScreenCharactersWidth"], CultureInfo.InvariantCulture); 948_screenCharactersWidth = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 967screenPixelHeightToUse = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 968characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 971screenPixelHeightToUse = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 972characterHeightToUse = Convert.ToInt32(this["defaultCharacterHeight"], CultureInfo.InvariantCulture); 975screenPixelHeightToUse = Convert.ToInt32(this["defaultScreenPixelsHeight"], CultureInfo.InvariantCulture); 976characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 979screenPixelHeightToUse = Convert.ToInt32(this["defaultScreenCharactersHeight"], CultureInfo.InvariantCulture); 986_screenCharactersHeight = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1005screenCharactersWidthToUse = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 1006characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 1009screenCharactersWidthToUse = Convert.ToInt32(this["screenCharactersWidth"], CultureInfo.InvariantCulture); 1010characterWidthToUse = Convert.ToInt32(this["defaultCharacterWidth"], CultureInfo.InvariantCulture); 1013screenCharactersWidthToUse = Convert.ToInt32(this["defaultScreenCharactersWidth"], CultureInfo.InvariantCulture); 1014characterWidthToUse = Convert.ToInt32(this["characterWidth"], CultureInfo.InvariantCulture); 1017screenCharactersWidthToUse = Convert.ToInt32(this["defaultScreenPixelsWidth"], CultureInfo.InvariantCulture); 1024_screenPixelsWidth = Convert.ToInt32(this["screenPixelsWidth"], CultureInfo.InvariantCulture); 1041screenCharactersHeightToUse = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1042characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 1045screenCharactersHeightToUse = Convert.ToInt32(this["screenCharactersHeight"], CultureInfo.InvariantCulture); 1046characterHeightToUse = Convert.ToInt32(this["defaultCharacterHeight"], CultureInfo.InvariantCulture); 1049screenCharactersHeightToUse = Convert.ToInt32(this["defaultScreenCharactersHeight"], CultureInfo.InvariantCulture); 1050characterHeightToUse = Convert.ToInt32(this["characterHeight"], CultureInfo.InvariantCulture); 1053screenCharactersHeightToUse = Convert.ToInt32(this["defaultScreenPixelsHeight"], CultureInfo.InvariantCulture); 1060_screenPixelsHeight = Convert.ToInt32(this["screenPixelsHeight"], CultureInfo.InvariantCulture); 1072_screenBitDepth = Convert.ToInt32(this["screenBitDepth"], CultureInfo.InvariantCulture); 1111_numberOfSoftkeys = Convert.ToInt32(this["numberOfSoftkeys"], CultureInfo.InvariantCulture); 1122_maximumSoftkeyLabelLength = Convert.ToInt32(this["maximumSoftkeyLabelLength"], CultureInfo.InvariantCulture); 1630_maximumRenderedPageSize = Convert.ToInt32(this["maximumRenderedPageSize"], CultureInfo.InvariantCulture); 1711_defaultSubmitButtonLimit = s != null ? Convert.ToInt32(this["defaultSubmitButtonLimit"], CultureInfo.InvariantCulture) : 1; 1741_maximumHrefLength = Convert.ToInt32(this["maximumHrefLength"], CultureInfo.InvariantCulture);
OutputCacheModule.cs (2)
758maxage = Convert.ToInt32(directive.Substring(8), CultureInfo.InvariantCulture); 778minfresh = Convert.ToInt32(directive.Substring(10), CultureInfo.InvariantCulture);
UI\ObjectConverter.cs (1)
53return Convert.ToInt32((string)value, CultureInfo.InvariantCulture);
UI\Page.cs (1)
1060int numViewStateFields = Convert.ToInt32(fieldCountStr, CultureInfo.InvariantCulture);
UI\WebControls\DetailsView.cs (1)
2420newItemIndex = Convert.ToInt32(itemIndexArg, CultureInfo.InvariantCulture) - 1;
UI\WebControls\FormView.cs (1)
2050newItemIndex = Convert.ToInt32(itemIndexArg, CultureInfo.InvariantCulture) - 1;
UI\WebControls\GridView.cs (2)
2811return Convert.ToInt32(commandArgument, CultureInfo.InvariantCulture); 3011newPage = Convert.ToInt32(pageNumberArg, CultureInfo.InvariantCulture) - 1;
Util\ProviderUtil.cs (3)
42t = Convert.ToInt32(s, CultureInfo.InvariantCulture); 82t = Convert.ToInt32(s, CultureInfo.InvariantCulture); 123t = Convert.ToInt32(s, CultureInfo.InvariantCulture);
System.Web.DataVisualization (1)
Common\Formulas\FormulaHelpers.cs (1)
375return Convert.ToInt32(newParamValue, CultureInfo.InvariantCulture);
System.Web.Extensions (2)
UI\WebControls\ListView.cs (1)
2091return Convert.ToInt32(commandArgument, CultureInfo.InvariantCulture);
UI\WebControls\NumericPagerField.cs (1)
309int pageIndex = Convert.ToInt32(e.CommandName, CultureInfo.InvariantCulture);
System.Web.Mobile (5)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (1)
188list, Convert.ToInt32(list.DataMember, CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\ControlAdapter.cs (2)
229optimumPageWeight = Convert.ToInt32(pageWeight, CultureInfo.InvariantCulture); 246int numLines = Convert.ToInt32(numLinesStr, CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (1)
170list, Convert.ToInt32(list.DataMember, CultureInfo.InvariantCulture));
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (1)
162list, Convert.ToInt32(list.DataMember, CultureInfo.InvariantCulture));
System.Web.Services (1)
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
170if (Convert.ToInt32(port, CultureInfo.InvariantCulture) != uri.Port)
System.Windows.Forms (1)
winforms\Managed\System\WinForms\BindingNavigator.cs (1)
598newPosition = Convert.ToInt32(positionItem.Text, CultureInfo.CurrentCulture) - 1;
System.Windows.Forms.DataVisualization (1)
Common\Formulas\FormulaHelpers.cs (1)
375return Convert.ToInt32(newParamValue, CultureInfo.InvariantCulture);
System.Workflow.Activities (2)
Designers\StateDesignerConnector.cs (2)
312int sourceIndex = Convert.ToInt32(constructionArguments["SourceConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture); 323int targetIndex = Convert.ToInt32(constructionArguments["TargetConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture);
System.Workflow.ComponentModel (3)
AuthoringOM\Activity.cs (1)
2170int index = Convert.ToInt32(subPath, CultureInfo.InvariantCulture);
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (2)
227int sourceIndex = Convert.ToInt32(constructionArguments["SourceConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture); 238int targetIndex = Convert.ToInt32(constructionArguments["TargetConnectionIndex"] as string, System.Globalization.CultureInfo.InvariantCulture);
System.Workflow.Runtime (1)
Hosting\SqlWorkflowPersistenceService.cs (1)
761int seconds = Convert.ToInt32(parameters[SqlWorkflowPersistenceService.InstanceOwnershipTimeoutSecondsToken], System.Globalization.CultureInfo.CurrentCulture);
System.WorkflowServices (1)
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (1)
119Convert.ToInt32(parameters[ChannelManagerService.MaxIdleChannelsPerEndpointSetting], System.Globalization.CultureInfo.CurrentCulture);
WindowsBase (4)
Base\System\Windows\Generated\Int32Rect.cs (4)
195Convert.ToInt32(firstToken, formatProvider), 196Convert.ToInt32(th.NextTokenRequired(), formatProvider), 197Convert.ToInt32(th.NextTokenRequired(), formatProvider), 198Convert.ToInt32(th.NextTokenRequired(), formatProvider));