/[dotgnu-pnet]/pnetlib/runtime/System/Private/NumberParser.cs
ViewVC logotype

Diff of /pnetlib/runtime/System/Private/NumberParser.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by drobosson, Thu Mar 17 07:53:04 2005 UTC revision 1.20 by drobosson, Wed Sep 14 11:57:34 2005 UTC
# Line 1503  internal sealed class NumberParser Line 1503  internal sealed class NumberParser
1503                  double result = 0;                  double result = 0;
1504                  int t;                  int t;
1505    
1506                    // Bail out if the string is empty
1507                    if(s.Length == 0)
1508                    {
1509                            throw new FormatException();
1510                    }
1511    
1512                  //  Double does not parse hex numbers                  //  Double does not parse hex numbers
1513                  if ((style & NumberStyles.AllowHexSpecifier) != 0)                  if ((style & NumberStyles.AllowHexSpecifier) != 0)
1514                          throw new FormatException(_("Format_HexNotSupported"));                          throw new FormatException(_("Format_HexNotSupported"));

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26