Author: marek
Date: 2008-01-25 05:00:05 -0500 (Fri, 25 Jan 2008)
New Revision: 93875

Modified:
   trunk/mcs/class/System.Core/System.Linq.Expressions/Expression.cs
Log:
Fixed copy&paste

Modified: trunk/mcs/class/System.Core/System.Linq.Expressions/Expression.cs
===================================================================
--- trunk/mcs/class/System.Core/System.Linq.Expressions/Expression.cs   
2008-01-25 08:15:37 UTC (rev 93874)
+++ trunk/mcs/class/System.Core/System.Linq.Expressions/Expression.cs   
2008-01-25 10:00:05 UTC (rev 93875)
@@ -404,7 +404,7 @@
                                Type ltype = left.Type;
 
                                if (ltype == typeof (byte) || ltype == typeof 
(sbyte))
-                                       throw new InvalidOperationException 
(String.Format ("SubtractChecked not defined for {0} and {1}", left.Type, 
right.Type));
+                                       throw new InvalidOperationException 
(String.Format ("AddChecked not defined for {0} and {1}", left.Type, 
right.Type));
                        }
 
                        return MakeSimpleBinary (ExpressionType.AddChecked, 
left, right, method);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to