60 references to CurrentInfo
dotnet-svcutil-lib (20)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (6)
244ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Char"); 425ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Int16"); 443ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Byte"); 462ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "SByte"); 481ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "UInt32"); 520ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "UInt16");
FrameworkFork\System.Runtime.Serialization\System\Text\Base64Encoding.cs (4)
42throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo)))); 79throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, count.ToString(NumberFormatInfo.CurrentInfo)))); 147throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo)))); 230throw /*System.Runtime.Serialization.*/DiagnosticUtility.ExceptionUtility.ThrowHelperError(new FormatException(string.Format(SRSerialization.XmlInvalidBase64Length, charCount.ToString(NumberFormatInfo.CurrentInfo))));
FrameworkFork\System.Runtime.Serialization\System\Text\BinHexEncoding.cs (1)
40throw new FormatException(string.Format(SRSerialization.XmlInvalidBinHexLength, charCount.ToString(NumberFormatInfo.CurrentInfo)));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (1)
964XmlExceptionHelper.ThrowConversionOverflow(this, i.ToString(NumberFormatInfo.CurrentInfo), "Int16");
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlExceptionHelper.cs (8)
129ThrowXmlException(reader, SRSerialization.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo)); 134ThrowXmlException(reader, SRSerialization.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo)); 139ThrowXmlException(reader, SRSerialization.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.CurrentInfo)); 149ThrowXmlException(reader, SRSerialization.XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo)); 244ThrowXmlException(reader, SRSerialization.XmlDictionaryStringIDRange, XmlDictionaryString.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberFormatInfo.CurrentInfo)); 249ThrowXmlException(reader, SRSerialization.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo)); 254ThrowXmlException(reader, SRSerialization.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo));
PresentationFramework (1)
System\Windows\Controls\Slider.cs (1)
877NumberFormatInfo format = (NumberFormatInfo)(NumberFormatInfo.CurrentInfo.Clone());
System.Data.Common (1)
System\Data\SQLTypes\SQLMoney.cs (1)
246money = new SqlMoney(decimal.Parse(s, NumberStyles.Currency, NumberFormatInfo.CurrentInfo));
System.Net.NameResolution (1)
System\Net\Dns.cs (1)
701SR.Format(SR.net_toolong, nameof(hostName), MaxHostName.ToString(NumberFormatInfo.CurrentInfo)));
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
484return Number.FormatDecimal(this, null, NumberFormatInfo.CurrentInfo); 489return Number.FormatDecimal(this, format, NumberFormatInfo.CurrentInfo);
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
357return Number.FormatFloat(m_value, null, NumberFormatInfo.CurrentInfo); 362return Number.FormatFloat(m_value, format, NumberFormatInfo.CurrentInfo);
src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (2)
215CurrentInfo : // Fast path for a null provider 229CurrentInfo;
src\libraries\System.Private.CoreLib\src\System\Half.cs (2)
508return Number.FormatFloat(this, null, NumberFormatInfo.CurrentInfo); 516return Number.FormatFloat(this, format, NumberFormatInfo.CurrentInfo);
src\libraries\System.Private.CoreLib\src\System\Number.Formatting.cs (3)
1373NegativeInt32ToDecStr(value, -1, NumberFormatInfo.CurrentInfo.NegativeSign); 1805NegativeInt64ToDecStr(value, -1, NumberFormatInfo.CurrentInfo.NegativeSign); 2231: NegativeInt128ToDecStr(value, -1, NumberFormatInfo.CurrentInfo.NegativeSign);
src\libraries\System.Private.CoreLib\src\System\Single.cs (2)
352return Number.FormatFloat(m_value, null, NumberFormatInfo.CurrentInfo); 362return Number.FormatFloat(m_value, format, NumberFormatInfo.CurrentInfo);
System.Private.DataContractSerialization (17)
System\Runtime\Serialization\Json\ByteArrayHelperWithString.cs (1)
54ThrowConversionException(value.ToString(System.Globalization.NumberFormatInfo.CurrentInfo), "Byte");
System\Runtime\Serialization\XmlReaderDelegator.cs (6)
361ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Char"); 558ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Int16"); 577ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "Byte"); 596ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "SByte"); 615ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "UInt32"); 657ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "UInt16");
System\Xml\XmlDictionaryReader.cs (1)
1076XmlExceptionHelper.ThrowConversionOverflow(this, i.ToString(NumberFormatInfo.CurrentInfo), "Int16");
System\Xml\XmlExceptionHelper.cs (9)
140ThrowXmlException(reader, SR.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo)); 146ThrowXmlException(reader, SR.XmlMaxArrayLengthOrMaxItemsQuotaExceeded, maxQuota.ToString(NumberFormatInfo.CurrentInfo)); 152ThrowXmlException(reader, SR.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo)); 164ThrowXmlException(reader, SR.XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo)); 170ThrowXmlException(reader, SR.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.CurrentInfo)); 283ThrowXmlException(reader, SR.XmlDictionaryStringIDRange, XmlDictionaryString.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberFormatInfo.CurrentInfo)); 289ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo)); 295ThrowXmlException(reader, SR.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo));
System.Runtime.Numerics (6)
System\Numerics\BigInteger.cs (6)
672return Parse(value, style, NumberFormatInfo.CurrentInfo); 688return TryParse(value, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); 703return TryParse(value, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); 1566return Number.FormatBigInteger(this, null, NumberFormatInfo.CurrentInfo); 1576return Number.FormatBigInteger(this, format, NumberFormatInfo.CurrentInfo); 1632string signStr = _sign < 0 ? NumberFormatInfo.CurrentInfo.NegativeSign : "";
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (1)
162if (!BigInteger.TryParse(serialNumber, NumberStyles.AllowHexSpecifier, NumberFormatInfo.CurrentInfo, out h))