107 references to CurrentInfo
mscorlib (56)
system\byte.cs (5)
92
return Parse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
98
return Parse(s, style, NumberFormatInfo.
CurrentInfo
);
130
return TryParse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
155
return Number.FormatInt32(m_value, null, NumberFormatInfo.
CurrentInfo
);
162
return Number.FormatInt32(m_value, format, NumberFormatInfo.
CurrentInfo
);
system\decimal.cs (5)
501
return Number.FormatDecimal(this, null, NumberFormatInfo.
CurrentInfo
);
507
return Number.FormatDecimal(this, format, NumberFormatInfo.
CurrentInfo
);
531
return Number.ParseDecimal(s, NumberStyles.Number, NumberFormatInfo.
CurrentInfo
);
536
return Number.ParseDecimal(s, style, NumberFormatInfo.
CurrentInfo
);
549
return Number.TryParseDecimal(s, NumberStyles.Number, NumberFormatInfo.
CurrentInfo
, out result);
system\double.cs (5)
214
return Number.FormatDouble(m_value, null, NumberFormatInfo.
CurrentInfo
);
220
return Number.FormatDouble(m_value, format, NumberFormatInfo.
CurrentInfo
);
236
return Parse(s, NumberStyles.Float| NumberStyles.AllowThousands, NumberFormatInfo.
CurrentInfo
);
241
return Parse(s, style, NumberFormatInfo.
CurrentInfo
);
266
return TryParse(s, NumberStyles.Float| NumberStyles.AllowThousands, NumberFormatInfo.
CurrentInfo
, out result);
system\globalization\numberformatinfo.cs (1)
309
return
CurrentInfo
;
system\int16.cs (5)
87
return Number.FormatInt32(m_value, null, NumberFormatInfo.
CurrentInfo
);
98
return ToString(format, NumberFormatInfo.
CurrentInfo
);
118
return Parse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
123
return Parse(s, style, NumberFormatInfo.
CurrentInfo
);
159
return TryParse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
system\int32.cs (5)
94
return Number.FormatInt32(m_value, null, NumberFormatInfo.
CurrentInfo
);
101
return Number.FormatInt32(m_value, format, NumberFormatInfo.
CurrentInfo
);
120
return Number.ParseInt32(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
126
return Number.ParseInt32(s, style, NumberFormatInfo.
CurrentInfo
);
153
return Number.TryParseInt32(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
system\int64.cs (5)
92
return Number.FormatInt64(m_value, null, NumberFormatInfo.
CurrentInfo
);
104
return Number.FormatInt64(m_value, format, NumberFormatInfo.
CurrentInfo
);
114
return Number.ParseInt64(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
119
return Number.ParseInt64(s, style, NumberFormatInfo.
CurrentInfo
);
137
return Number.TryParseInt64(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
system\sbyte.cs (5)
89
return Number.FormatInt32(m_value, null, NumberFormatInfo.
CurrentInfo
);
100
return ToString(format, NumberFormatInfo.
CurrentInfo
);
121
return Parse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
127
return Parse(s, style, NumberFormatInfo.
CurrentInfo
);
168
return TryParse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
system\single.cs (5)
182
return Number.FormatSingle(m_value, null, NumberFormatInfo.
CurrentInfo
);
194
return Number.FormatSingle(m_value, format, NumberFormatInfo.
CurrentInfo
);
212
return Parse(s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.
CurrentInfo
);
217
return Parse(s, style, NumberFormatInfo.
CurrentInfo
);
234
return TryParse(s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.
CurrentInfo
, out result);
system\uint16.cs (5)
84
return Number.FormatUInt32(m_value, null, NumberFormatInfo.
CurrentInfo
);
97
return Number.FormatUInt32(m_value, format, NumberFormatInfo.
CurrentInfo
);
108
return Parse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
114
return Parse(s, style, NumberFormatInfo.
CurrentInfo
);
145
return TryParse(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
system\uint32.cs (5)
95
return Number.FormatUInt32(m_value, null, NumberFormatInfo.
CurrentInfo
);
107
return Number.FormatUInt32(m_value, format, NumberFormatInfo.
CurrentInfo
);
118
return Number.ParseUInt32(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
124
return Number.ParseUInt32(s, style, NumberFormatInfo.
CurrentInfo
);
141
return Number.TryParseUInt32(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
system\uint64.cs (5)
91
return Number.FormatUInt64(m_value, null, NumberFormatInfo.
CurrentInfo
);
103
return Number.FormatUInt64(m_value, format, NumberFormatInfo.
CurrentInfo
);
114
return Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
120
return Number.ParseUInt64(s, style, NumberFormatInfo.
CurrentInfo
);
136
return Number.TryParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
PresentationFramework (1)
src\Framework\System\Windows\Controls\Slider.cs (1)
909
NumberFormatInfo format = (NumberFormatInfo)(NumberFormatInfo.
CurrentInfo
.Clone());
SMSvcHost (2)
System\ServiceModel\Activation\ListenerAdapter.cs (2)
508
siteId.ToString(NumberFormatInfo.
CurrentInfo
),
550
siteId.ToString(NumberFormatInfo.
CurrentInfo
),
System (8)
net\System\Net\Cache\RequestCacheEntry.cs (3)
94
sb.Append("\r\nMaxStale(sec) = ").Append(MaxStale == TimeSpan.MinValue? "": ((int)MaxStale.TotalSeconds).ToString(NumberFormatInfo.
CurrentInfo
));
95
sb.Append("\r\nHitCount = ").Append(HitCount.ToString(NumberFormatInfo.
CurrentInfo
));
96
sb.Append("\r\nUsageCount = ").Append(UsageCount.ToString(NumberFormatInfo.
CurrentInfo
));
net\System\Net\DNS.cs (1)
217
"hostName", MaxHostName.ToString(NumberFormatInfo.
CurrentInfo
)));
net\System\Net\SecureProtocols\_SslState.cs (1)
515
return new IOException(SR.GetString(SR.net_auth_ignored_reauth, _ConstMaxQueuedReadBytes.ToString(NumberFormatInfo.
CurrentInfo
)));
net\System\Net\Sockets\Socket.cs (3)
2605
throw new ArgumentOutOfRangeException("checkRead", SR.GetString(SR.net_sockets_toolarge_select, "checkRead", MaxSelect.ToString(NumberFormatInfo.
CurrentInfo
)));
2608
throw new ArgumentOutOfRangeException("checkWrite", SR.GetString(SR.net_sockets_toolarge_select, "checkWrite", MaxSelect.ToString(NumberFormatInfo.
CurrentInfo
)));
2611
throw new ArgumentOutOfRangeException("checkError", SR.GetString(SR.net_sockets_toolarge_select, "checkError", MaxSelect.ToString(NumberFormatInfo.
CurrentInfo
)));
System.Activities (1)
System\Activities\Statements\MethodResolver.cs (1)
120
if (int.TryParse(name.Substring(paramArrayBaseName.Length), NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out n))
System.Data (1)
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (1)
283
money = new SqlMoney(Decimal.Parse(s, NumberStyles.Currency, NumberFormatInfo.
CurrentInfo
));
System.Numerics (5)
System\Numerics\BigInteger.cs (5)
374
return BigNumber.FormatBigInteger(this, null, NumberFormatInfo.
CurrentInfo
);
382
return BigNumber.FormatBigInteger(this, format, NumberFormatInfo.
CurrentInfo
);
810
return BigNumber.ParseBigInteger(value, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
);
814
return BigNumber.ParseBigInteger(value, style, NumberFormatInfo.
CurrentInfo
);
826
return BigNumber.TryParseBigInteger(value, NumberStyles.Integer, NumberFormatInfo.
CurrentInfo
, out result);
System.Runtime.Serialization (23)
System\Runtime\Serialization\Json\ByteArrayHelperWithString.cs (1)
55
ThrowConversionException(value.ToString(System.Globalization.NumberFormatInfo.
CurrentInfo
), "Byte");
System\Runtime\Serialization\XmlReaderDelegator.cs (6)
372
ThrowConversionException(value.ToString(NumberFormatInfo.
CurrentInfo
), "Char");
580
ThrowConversionException(value.ToString(NumberFormatInfo.
CurrentInfo
), "Int16");
599
ThrowConversionException(value.ToString(NumberFormatInfo.
CurrentInfo
), "Byte");
621
ThrowConversionException(value.ToString(NumberFormatInfo.
CurrentInfo
), "SByte");
643
ThrowConversionException(value.ToString(NumberFormatInfo.
CurrentInfo
), "UInt32");
693
ThrowConversionException(value.ToString(NumberFormatInfo.
CurrentInfo
), "UInt16");
System\Text\Base64Encoding.cs (4)
40
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.
CurrentInfo
))));
75
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, count.ToString(NumberFormatInfo.
CurrentInfo
))));
141
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.
CurrentInfo
))));
222
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.
CurrentInfo
))));
System\Text\BinHexEncoding.cs (1)
52
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(SR.GetString(SR.XmlInvalidBinHexLength, charCount.ToString(NumberFormatInfo.
CurrentInfo
))));
System\Xml\XmlDictionaryReader.cs (1)
1110
XmlExceptionHelper.ThrowConversionOverflow(this, i.ToString(NumberFormatInfo.
CurrentInfo
), "Int16");
System\Xml\XmlExceptionHelper.cs (10)
133
ThrowXmlException(reader, SR.XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.
CurrentInfo
));
138
ThrowXmlException(reader, SR.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.
CurrentInfo
));
143
ThrowXmlException(reader, SR.XmlMaxArrayLengthOrMaxItemsQuotaExceeded, maxQuota.ToString(NumberFormatInfo.
CurrentInfo
));
148
ThrowXmlException(reader, SR.XmlMaxDepthExceeded, maxDepth.ToString(NumberFormatInfo.
CurrentInfo
));
153
ThrowXmlException(reader, SR.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.
CurrentInfo
));
158
ThrowXmlException(reader, SR.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.
CurrentInfo
));
253
ThrowXmlException(reader, SR.XmlDictionaryStringIDRange, XmlDictionaryString.MinKey.ToString(NumberFormatInfo.
CurrentInfo
), XmlDictionaryString.MaxKey.ToString(NumberFormatInfo.
CurrentInfo
));
258
ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.
CurrentInfo
));
263
ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.
CurrentInfo
));
System.ServiceModel (3)
System\ServiceModel\Configuration\ServiceModelEnhancedConfigurationElementCollection.cs (2)
50
values.Add("OldElementLineNumber", oldElement.ElementInformation.LineNumber.ToString(NumberFormatInfo.
CurrentInfo
));
52
values.Add("NewElementLineNumber", element.ElementInformation.LineNumber.ToString(NumberFormatInfo.
CurrentInfo
));
System\ServiceModel\Configuration\XPathMessageFilterElement.cs (1)
110
writer.WriteAttributeString(ConfigurationStrings.NodeQuota, Filter.NodeQuota.ToString(NumberFormatInfo.
CurrentInfo
));
System.ServiceModel.Activation (4)
System\ServiceModel\Activation\MetabaseReader.cs (4)
158
record.dwMDDataType.ToString(NumberFormatInfo.
CurrentInfo
),
159
record.dwMDIdentifier.ToString(NumberFormatInfo.
CurrentInfo
))));
173
SR.Hosting_MetabaseDataStringsTerminate(record.dwMDIdentifier.ToString(NumberFormatInfo.
CurrentInfo
))));
190
SR.Hosting_MetabaseDataStringsTerminate(record.dwMDIdentifier.ToString(NumberFormatInfo.
CurrentInfo
))));
System.Web (3)
UI\WebControls\basecomparevalidator.cs (3)
85
NumberFormatInfo info = NumberFormatInfo.
CurrentInfo
;
216
cleanInput = ConvertDouble(text, NumberFormatInfo.
CurrentInfo
);
248
cleanInput = ConvertCurrency(text, NumberFormatInfo.
CurrentInfo
);