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