Parcourir la source

Also work for floats

svn path=/trunk/mcs/; revision=18899
Miguel de Icaza il y a 22 ans
Parent
commit
7a8b202243
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      mcs/class/System.Data/System.Data/ExpressionElement.cs

+ 1 - 1
mcs/class/System.Data/System.Data/ExpressionElement.cs

@@ -1658,7 +1658,7 @@ namespace System.Data
 				try {
 					Element = int.Parse (s);
 					_ResultType = typeof (int);
-				} catch (OverflowException) {
+				} catch {
 					Element = Decimal.Parse (s);
 					_ResultType = typeof (Decimal);
 				}