remove warning
[mono.git] / mcs / class / corlib / System / Double.cs
index 43ab8962a5c62a3d5ba89de076f9748392ee28d4..23198122acc40039ff119af139ebb7f3cfd0b7da 100644 (file)
@@ -274,7 +274,7 @@ namespace System {
                                if (sidx == len) {
                                        if (!tryParse)
                                                exc = Int32.GetFormatException ();
-                                       return true;
+                                       return false;
                                }
                        }
 
@@ -448,7 +448,7 @@ namespace System {
 
                                case State_ConsumeWhiteSpace:
                                        if (allow_trailing_white && Char.IsWhiteSpace (c)) {
-                                               state = State_Exit;
+                                               state = State_ConsumeWhiteSpace;
                                                break;
                                        }