Author: gert
Date: 2007-05-11 17:59:50 -0400 (Fri, 11 May 2007)
New Revision: 77265
Modified:
trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
trunk/mcs/class/System.Web/System.Web.UI/ControlBuilder.cs
Log:
* ControlBuilder.cs: Fixed exception message in MapType.
Modified: trunk/mcs/class/System.Web/System.Web.UI/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2007-05-11 21:48:44 UTC
(rev 77264)
+++ trunk/mcs/class/System.Web/System.Web.UI/ChangeLog 2007-05-11 21:59:50 UTC
(rev 77265)
@@ -1,3 +1,7 @@
+2007-05-11 Gert Driesen <[EMAIL PROTECTED]>
+
+ * ControlBuilder.cs: Fixed exception message in MapType.
+
2007-05-10 Marek Habersack <[EMAIL PROTECTED]>
* Control.cs: small formatting change
Modified: trunk/mcs/class/System.Web/System.Web.UI/ControlBuilder.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI/ControlBuilder.cs 2007-05-11
21:48:44 UTC (rev 77264)
+++ trunk/mcs/class/System.Web/System.Web.UI/ControlBuilder.cs 2007-05-11
21:59:50 UTC (rev 77265)
@@ -411,7 +411,7 @@
if (!mappedType.IsSubclassOf
(originalType))
throw new
ConfigurationErrorsException (
- String.Format ("The
specified type '{0}' used for mapping must inherit from the original type
'{0}'.", mappedTypeName, originalTypeName));
+ String.Format ("The
specified type '{0}' used for mapping must inherit from the original type
'{1}'.", mappedTypeName, originalTypeName));
return mappedType;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches