[mono/mono] aea002c5: Fix the build.

"Rodrigo Kumpera ([email protected])" <[email protected]> Tue, 12 Nov 2013 19:20:39 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001424dc22af9-4e108539-28cd-4a9e-a592-839ead32db82-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/1da5ac516cf6...aea002c50438

   Commit: aea002c50438df8bc1a6b53a214f6304f18bcfad
   Author: Rodrigo Kumpera <[email protected]> (kumpera)
     Date: 2013-11-12 19:18:31 GMT
      URL: https://github.com/mono/mono/commit/aea002c50438df8bc1a6b53a214f6304f18bcfad

Fix the build.

Changed paths:
  M mcs/class/corlib/System/Delegate.cs

Modified: mcs/class/corlib/System/Delegate.cs
===================================================================
@@ -527,7 +527,7 @@ public static Delegate Remove (Delegate source, Delegate value)
 				return source;
 
 			if (source.GetType () != value.GetType ())
-				throw new ArgumentException (Locale.GetText ("Incompatible Delegate Types. First is {0} second is {1}.", a.GetType ().FullName, b.GetType ().FullName));
+				throw new ArgumentException (Locale.GetText ("Incompatible Delegate Types. First is {0} second is {1}.", source.GetType ().FullName, value.GetType ().FullName));
 
 			return source.RemoveImpl (value);
 		}


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