116 references to Integer
mscorlib (40)
system\byte.cs (3)
92return Parse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 103return Parse(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 130return TryParse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\convert.cs (8)
694return SByte.Parse(value, NumberStyles.Integer, provider); 797return Byte.Parse(value, NumberStyles.Integer, provider); 896return Int16.Parse(value, NumberStyles.Integer, provider); 1010return UInt16.Parse(value, NumberStyles.Integer, provider); 1121return Int32.Parse(value, NumberStyles.Integer, provider); 1238return UInt32.Parse(value, NumberStyles.Integer, provider); 1329return Int64.Parse(value, NumberStyles.Integer, provider); 1437return UInt64.Parse(value, NumberStyles.Integer, provider);
system\int16.cs (3)
118return Parse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 127return Parse(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 159return TryParse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\int32.cs (3)
120return Number.ParseInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 135return Number.ParseInt32(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 153return Number.TryParseInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\int64.cs (3)
114return Number.ParseInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 123return Number.ParseInt64(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 137return Number.TryParseInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\runtime\remoting\soapinteroptypes.cs (5)
1103return new SoapInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1166return new SoapPositiveInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1228return new SoapNonPositiveInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1290return new SoapNonNegativeInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture)); 1352return new SoapNegativeInteger(Decimal.Parse(value, NumberStyles.Integer, CultureInfo.InvariantCulture));
system\sbyte.cs (3)
121return Parse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 132return Parse(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 168return TryParse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\security\claims\ClaimsPrincipal.cs (1)
410if (Int64.TryParse(listOfIdentities[i], NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out handle))
system\timezoneinfo.cs (1)
2604if (!Int32.TryParse(resources[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out resourceId)) {
system\uint16.cs (3)
108return Parse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 120return Parse(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 145return TryParse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\uint32.cs (3)
118return Number.ParseUInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 130return Number.ParseUInt32(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 141return Number.TryParseUInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\uint64.cs (3)
114return Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 125return Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 136return Number.TryParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
system\version.cs (1)
425if (!Int32.TryParse(component, NumberStyles.Integer, CultureInfo.InvariantCulture, out parsedComponent)) {
PresentationCore (2)
Core\CSharp\System\Windows\FontStretches.cs (1)
145if (int.TryParse(s, NumberStyles.Integer, provider, out stretchValue))
Core\CSharp\System\Windows\FontWeights.cs (1)
208if (int.TryParse(s, NumberStyles.Integer, provider, out weightValue))
PresentationFramework (7)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
1396NumberStyles.Integer, 1497NumberStyles.Integer,
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
11878if (Int32.TryParse(a[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out flushDepth)) 11887if (Int32.TryParse(a[2], NumberStyles.Integer, CultureInfo.InvariantCulture, out luThreshold))
src\Framework\System\Windows\PropertyPath.cs (2)
721NumberStyles.Integer, 930NumberStyles.Integer,
src\Framework\System\Windows\PropertyPathConverter.cs (1)
208NumberStyles.Integer,
System (11)
compmod\system\componentmodel\ByteConverter.cs (1)
47return Byte.Parse(value, NumberStyles.Integer, formatInfo);
compmod\system\componentmodel\Int16Converter.cs (1)
53return Int16.Parse(value, NumberStyles.Integer, formatInfo);
compmod\system\componentmodel\Int32Converter.cs (1)
45return Int32.Parse(value, NumberStyles.Integer, formatInfo);
compmod\system\componentmodel\Int64Converter.cs (1)
46return Int64.Parse(value, NumberStyles.Integer, formatInfo);
compmod\system\componentmodel\SByteConverter.cs (1)
47return SByte.Parse(value, NumberStyles.Integer, formatInfo);
compmod\system\componentmodel\UInt16Converter.cs (1)
46return UInt16.Parse(value, NumberStyles.Integer, formatInfo);
compmod\system\componentmodel\UInt32Converter.cs (1)
47return UInt32.Parse(value, NumberStyles.Integer, formatInfo);
compmod\system\componentmodel\UInt64Converter.cs (1)
49return UInt64.Parse(value, NumberStyles.Integer, formatInfo);
net\System\Net\WebUtility.cs (1)
204parsedSuccessfully = UInt32.TryParse(entity.Substring(1), NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out parsedValue);
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
148if (!UInt16.TryParse(port, NumberStyles.Integer, CultureInfo.InvariantCulture, out portValue))
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
1024if (!Int32.TryParse(names[index * 2], NumberStyles.Integer, CultureInfo.InvariantCulture, out key)) {
System.Activities (4)
System\Activities\Statements\MethodResolver.cs (1)
120if (int.TryParse(name.Substring(paramArrayBaseName.Length), NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out n))
System\Activities\XamlIntegration\DynamicUpdateMapItemConverter.cs (3)
29if (int.TryParse(strArray[0], NumberStyles.Integer, culture, out result1)) 36if (int.TryParse(strArray[0], NumberStyles.Integer, culture, out result1) && int.TryParse(strArray[1], NumberStyles.Integer, culture, out result2))
System.Data (6)
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
341return System.Int32.Parse(stringValue, System.Globalization.NumberStyles.Integer, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Filter\ConstNode.cs (2)
166if (Int32.TryParse(sval, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out i4)) { 170if (Int64.TryParse(sval, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out i8)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
2410_defaultCodePage = Int32.Parse(stringCodePage, NumberStyles.Integer, CultureInfo.InvariantCulture); 2425Int32 packetSize = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture); 2447_defaultLCID = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture);
System.Data.Entity (21)
System\Data\Common\EntitySql\AST\Literal.cs (14)
267if (!UInt32.TryParse(numberPart, NumberStyles.Integer, CultureInfo.InvariantCulture, out value)) 278if (!Int64.TryParse(numberPart, NumberStyles.Integer, CultureInfo.InvariantCulture, out value)) 290if (!UInt64.TryParse(numberPart, NumberStyles.Integer, CultureInfo.InvariantCulture, out value)) 359if (Int32.TryParse(numericString, NumberStyles.Integer, CultureInfo.InvariantCulture, out int32Value)) 365if (!Int64.TryParse(numericString, NumberStyles.Integer, CultureInfo.InvariantCulture, out int64Value)) 552int offsetHours = Int32.Parse(datetimeParts[datetimeParts.Length - 2], NumberStyles.Integer, CultureInfo.InvariantCulture); 553int offsetMinutes = Int32.Parse(datetimeParts[datetimeParts.Length - 1], NumberStyles.Integer, CultureInfo.InvariantCulture); 600hour = Int32.Parse(datetimeParts[timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 605minute = Int32.Parse(datetimeParts[++timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 615second = Int32.Parse(datetimeParts[timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 625ticks = Int32.Parse(ticksString, NumberStyles.Integer, CultureInfo.InvariantCulture); 633year = Int32.Parse(datetimeParts[0], NumberStyles.Integer, CultureInfo.InvariantCulture); 638month = Int32.Parse(datetimeParts[1], NumberStyles.Integer, CultureInfo.InvariantCulture); 643day = Int32.Parse(datetimeParts[2], NumberStyles.Integer, CultureInfo.InvariantCulture);
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (5)
131if (!Byte.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 143if (!SByte.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 155if (!Int16.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 167if (!Int32.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp)) 179if (!Int64.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp))
System\Data\EntityModel\SchemaObjectModel\Utils.cs (2)
273if ( int.TryParse(text,NumberStyles.Integer,System.Globalization.CultureInfo.InvariantCulture,out value) ) 296if (byte.TryParse(text, NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out value))
System.Data.Services (4)
System\Data\Services\DataService.cs (1)
2629if (!Int32.TryParse(contentIdValue, System.Globalization.NumberStyles.Integer, System.Globalization.NumberFormatInfo.InvariantInfo, out contentId))
System\Data\Services\RequestQueryProcessor.cs (1)
1367if (!Int32.TryParse(itemText, NumberStyles.Integer, CultureInfo.InvariantCulture, out count))
System\Data\Services\Serializers\JsonReader.cs (2)
90if (long.TryParse(ticksStr, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out ticks)) 349if (Int32.TryParse(s, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out intValue))
System.Data.Services.Client (3)
System\Data\Services\Client\AtomParser.cs (1)
994if (!long.TryParse(MaterializeAtom.ReadElementString(this.reader, true), System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out countValue))
System\Data\Services\Client\DataServiceContext.cs (1)
5682!Int32.TryParse(contentValueID, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out contentID))
System\Data\Services\Client\MaterializeFromAtom.cs (1)
518if (!long.TryParse(countNode.Value, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out this.countValue))
System.Numerics (3)
System\Numerics\BigInteger.cs (3)
810return BigNumber.ParseBigInteger(value, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); 818return BigNumber.ParseBigInteger(value, NumberStyles.Integer, NumberFormatInfo.GetInstance(provider)); 826return BigNumber.TryParseBigInteger(value, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
System.ServiceModel (1)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (1)
63!int.TryParse(portString, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out port))
System.Web (5)
UI\DataBinder.cs (1)
240intIndex = Int32.TryParse(index, NumberStyles.Integer, CultureInfo.InvariantCulture, out parsedIndex);
UI\WebControls\AdRotator.cs (1)
964!int.TryParse(impressionsString, NumberStyles.Integer,
UI\WebControls\GridView.cs (1)
2819return Int32.TryParse(commandArgument, NumberStyles.Integer, CultureInfo.InvariantCulture, out rowIndex);
UI\WebControls\TreeView.cs (1)
3370int populateIndex = Int32.Parse(logParts[i], NumberStyles.Integer, CultureInfo.InvariantCulture);
UI\WebParts\LayoutEditorPart.cs (1)
112if (Int32.TryParse(_zoneIndex.Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out zoneIndex)) {
System.Web.DataVisualization (1)
Common\DataManager\DataSeries.cs (1)
1426if (Int32.TryParse(dp["OriginalPointIndex"], NumberStyles.Integer, CultureInfo.InvariantCulture, out index))
System.Web.Extensions (3)
Script\Serialization\JavaScriptObjectDeserializer.cs (2)
237if (Int32.TryParse(input, NumberStyles.Integer, CultureInfo.InvariantCulture, out n)) { 244if (Int64.TryParse(input, NumberStyles.Integer, CultureInfo.InvariantCulture, out l)) {
UI\WebControls\ListView.cs (1)
2101return Int32.TryParse(commandArgument, NumberStyles.Integer, CultureInfo.InvariantCulture, out itemIndex);
System.Windows.Forms.DataVisualization (1)
Common\DataManager\DataSeries.cs (1)
1426if (Int32.TryParse(dp["OriginalPointIndex"], NumberStyles.Integer, CultureInfo.InvariantCulture, out index))
System.Workflow.Activities (2)
Rules\Design\Dialogs\RuleSetDialog.cs (2)
519int.TryParse(item1.SubItems[col].Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out val1); 520int.TryParse(item2.SubItems[col].Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out val2);
System.Workflow.Runtime (1)
Hosting\DefaultWorkflowSchedulerService.cs (1)
73if (!int.TryParse(p, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.CurrentCulture, out maxSimultaneousWorkflows))
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskLeaseLifetimeHelper.cs (1)
53if (Int32.TryParse(remotingLeaseLifetimeInMinutesStringValue, NumberStyles.Integer, CultureInfo.InvariantCulture, out remotingLeaseLifetimeInMinutes))