35 references to AllowLeadingSign
mscorlib (8)
system\globalization\numberformatinfo.cs (1)
813
| NumberStyles.
AllowLeadingSign
| NumberStyles.AllowTrailingSign
system\globalization\numberstyles.cs (5)
52
Integer = AllowLeadingWhite | AllowTrailingWhite |
AllowLeadingSign
,
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)
797
else if ((signflag = (((options & NumberStyles.
AllowLeadingSign
) != 0) && ((state & StateSign) == 0))) && ((next = MatchChars(p, numfmt.positiveSign)) != null)) {
system\timezoneinfo.cs (1)
3918
if (!Int32.TryParse(token, NumberStyles.
AllowLeadingSign
/* "[sign]digits" */, CultureInfo.InvariantCulture, out value)) {
PresentationCore (2)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
160
private const NumberStyles SignedDecimalPointStyle = UnsignedDecimalPointStyle | NumberStyles.
AllowLeadingSign
;
Core\CSharp\System\Windows\Media\CharacterMetrics.cs (1)
176
NumberStyles.AllowDecimalPoint | NumberStyles.
AllowLeadingSign
,
System.Data (1)
fx\src\data\System\Data\SQLTypes\SQLMoney.cs (1)
272
NumberStyles.
AllowLeadingSign
|
System.Data.Entity (2)
System\Data\Common\EntitySql\AST\Literal.cs (1)
312
if (!Decimal.TryParse(numberPart, NumberStyles.
AllowLeadingSign
| NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out value))
System\Data\EntityModel\SchemaObjectModel\SchemaEnumMember.cs (1)
84
if (long.TryParse(reader.Value, NumberStyles.
AllowLeadingSign
, CultureInfo.InvariantCulture, out tmpValue))
System.Numerics (1)
System\Numerics\BigNumber.cs (1)
287
| NumberStyles.
AllowLeadingSign
| NumberStyles.AllowTrailingSign
System.ServiceModel (1)
System\ServiceModel\Dispatcher\QueryModel.cs (1)
576
NumberStyles.
AllowLeadingSign
| NumberStyles.AllowDecimalPoint | NumberStyles.AllowTrailingWhite,
System.Web (2)
httpserverutility.cs (1)
1547
var flags = NumberStyles.AllowLeadingWhite | NumberStyles.AllowTrailingWhite | NumberStyles.AllowDecimalPoint | NumberStyles.
AllowLeadingSign
;
OutputCacheModule.cs (1)
446
if (Double.TryParse(s, NumberStyles.Float & ~NumberStyles.
AllowLeadingSign
& ~NumberStyles.AllowExponent, CultureInfo.InvariantCulture, out d)) {
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
659
if (int.TryParse(components[0].Substring("SRID=".Length), NumberStyles.
AllowLeadingSign
, CultureInfo.InvariantCulture, out srid))
System.Xml (17)
System\Xml\XmlConvert.cs (17)
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)) {
1039
float f = Single.Parse(s, NumberStyles.
AllowLeadingSign
|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo);
1057
else if (!Single.TryParse(s, NumberStyles.
AllowLeadingSign
|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) {
1075
double dVal = Double.Parse(s, NumberStyles.
AllowLeadingSign
|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo);
1093
else if (!Double.TryParse(s, NumberStyles.
AllowLeadingSign
|NumberStyles.AllowDecimalPoint|NumberStyles.AllowExponent, NumberFormatInfo.InvariantInfo, out result)) {
1110
if (Double.TryParse(str, NumberStyles.
AllowLeadingSign
|NumberStyles.AllowDecimalPoint|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out d)) {