[corlib] Improve the exception message in Delegate::Remove.

This commit is contained in:
Rodrigo Kumpera committed 2013-11-12 14:01:25 -05:00
1 parent cff65d2ae5
commit 0a2c38df5e
1 file changed
+1 -1
+1 -1
View File
@@ -527,7 +527,7 @@ namespace System
return source;
if (source.GetType () != value.GetType ())
throw new ArgumentException ("Delegate type mismatch");
throw new ArgumentException (Locale.GetText ("Incompatible Delegate Types. First is {0} second is {1}.", a.GetType ().FullName, b.GetType ().FullName));
return source.RemoveImpl (value);
}