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