[Bug 46842] C# double.TryParse( String.Empty, out number) succeeds with .NET Framework 4.0 when it should not

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 11 00:54:49 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46842

--- Comment #15 from Nikolay Sivov <bunglehead at gmail.com> ---
With current wine/win7/en_US.UTF-8 test program gives me:

---
Properties of NumberFormat.CurrentInfo object:
   CurrencyDecimalDigits: 2
   CurrencyDecimalSeparator: .
   IsReadOnly: True
   CurrencyGroupSizes: { 3 }
   NumberGroupSizes: { 3 }
   PercentGroupSizes: { 3 }
   CurrencyGroupSeparator: ,
   CurrencySymbol: $
   NaNSymbol: NaN
   CurrencyNegativePattern: 0
   NumberNegativePattern: 1
   PercentPositivePattern: 1
   PercentNegativePattern: 1
   NegativeInfinitySymbol: -∞
   NegativeSign: -
   NumberDecimalDigits: 2
   NumberDecimalSeparator: .
   NumberGroupSeparator: ,
   CurrencyPositivePattern: 0
   PositiveInfinitySymbol: ∞
   PositiveSign: +
   PercentDecimalDigits: 2
   PercentDecimalSeparator: .
   PercentGroupSeparator: ,
   PercentSymbol: %
   PerMilleSymbol: %
   NativeDigits: { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }
   DigitSubstitution: None
---

So at least missing fields are returned now. Will try parsing example from
comment 4 now.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list