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