35 references to AllowLeadingWhite
mscorlib (8)
system\globalization\numberformatinfo.cs (1)
812
private const NumberStyles InvalidNumberStyles = ~(NumberStyles.
AllowLeadingWhite
| NumberStyles.AllowTrailingWhite
system\globalization\numberstyles.cs (6)
52
Integer =
AllowLeadingWhite
| AllowTrailingWhite | AllowLeadingSign,
54
HexNumber =
AllowLeadingWhite
| AllowTrailingWhite | AllowHexSpecifier,
56
Number =
AllowLeadingWhite
| AllowTrailingWhite | AllowLeadingSign | AllowTrailingSign |
59
Float =
AllowLeadingWhite
| AllowTrailingWhite | AllowLeadingSign |
62
Currency =
AllowLeadingWhite
| AllowTrailingWhite | AllowLeadingSign | AllowTrailingSign |
65
Any =
AllowLeadingWhite
| AllowTrailingWhite | AllowLeadingSign | AllowTrailingSign |
system\number.cs (1)
794
if (IsWhite(ch) && ((options & NumberStyles.
AllowLeadingWhite
) != 0) && (((state & StateSign) == 0) || (((state & StateSign) != 0) && (((state & StateCurrency) != 0) || numfmt.numberNegativePattern == 2)))) {
PresentationCore (1)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
157
NumberStyles.
AllowLeadingWhite
|
System (1)
net\System\Net\_FtpControlStream.cs (1)
997
NumberStyles.
AllowLeadingWhite
| NumberStyles.AllowTrailingWhite,
System.Data (1)
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (1)
274
NumberStyles.
AllowLeadingWhite
;
System.Numerics (1)
System\Numerics\BigNumber.cs (1)
286
private const NumberStyles InvalidNumberStyles = ~(NumberStyles.
AllowLeadingWhite
| NumberStyles.AllowTrailingWhite
System.Web (1)
httpserverutility.cs (1)
1547
var flags = NumberStyles.
AllowLeadingWhite
| NumberStyles.AllowTrailingWhite | NumberStyles.AllowDecimalPoint | NumberStyles.AllowLeadingSign;
System.Xml (22)
System\Xml\Schema\XdrBuilder.cs (1)
1473
return UInt32.TryParse(str,NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out n);
System\Xml\XmlConvert.cs (21)
868
return Decimal.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
873
if (!Decimal.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
880
return Decimal.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
884
if (!Decimal.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
896
return SByte.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
901
if (!SByte.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
913
return Int16.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
918
if (!Int16.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
930
return Int32.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
935
if (!Int32.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
947
return Int64.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
952
if (!Int64.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
964
return Byte.Parse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
969
if (!Byte.TryParse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
982
return UInt16.Parse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
987
if (!UInt16.TryParse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
1000
return UInt32.Parse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
1006
if (!UInt32.TryParse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
1019
return UInt64.Parse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
1024
if (!UInt64.TryParse(s, NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
1075
double dVal = Double.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent|NumberStyles.
AllowLeadingWhite
|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);