Selaa lähdekoodia

* ControlBuilder.cs: Fixed exception message in MapType.

svn path=/trunk/mcs/; revision=77265
Gert Driesen 18 vuotta sitten
vanhempi
sitoutus
266a7e0e91

+ 4 - 0
mcs/class/System.Web/System.Web.UI/ChangeLog

@@ -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

+ 1 - 1
mcs/class/System.Web/System.Web.UI/ControlBuilder.cs

@@ -411,7 +411,7 @@ namespace System.Web.UI {
 					
 					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;
 				}