Author: martin
Date: 2005-04-18 03:52:06 -0400 (Mon, 18 Apr 2005)
New Revision: 43201

Modified:
   trunk/mcs/gmcs/decl.cs
Log:
**** Merged r42306 from MCS ****


Modified: trunk/mcs/gmcs/decl.cs
===================================================================
--- trunk/mcs/gmcs/decl.cs      2005-04-18 07:51:29 UTC (rev 43200)
+++ trunk/mcs/gmcs/decl.cs      2005-04-18 07:52:06 UTC (rev 43201)
@@ -1763,10 +1763,9 @@
                                                    !TypeManager.IsDelegateType 
(type)) {
                                                        
Report.SymbolRelatedToPreviousError (base_method);
                                                        Report.Warning (-28, 
-                                                               "{0} contains a 
method '{1}' that is marked " + 
-                                                               " virtual, but 
doesn't appear to have a slot." + 
-                                                               "  The method 
may be ignored during overload resolution", 
-                                                               type, 
base_method);
+                                                               "The method 
'{0}' is marked virtual, but doesn't appear to have a slot." + 
+                                                               "  It may be 
ignored during overload resolution", 
+                                                               
TypeManager.CSharpSignature (base_method));
                                                }
                                                goto skip;
                                        }
@@ -1783,10 +1782,9 @@
                                                if (new_base_method == 
base_method) {
                                                        
Report.SymbolRelatedToPreviousError (base_method);
                                                        Report.Warning (-28, 
-                                                               "{0} contains a 
method '{1}' that is marked " + 
-                                                               " virtual, but 
doesn't appear to have a slot." + 
+                                                               "The method 
'{0}' is marked virtual, but doesn't appear to have a slot." + 
                                                                "  The method 
may be ignored during overload resolution", 
-                                                               type, 
base_method);
+                                                               
TypeManager.CSharpSignature (base_method));
                                                }
                                                base_method = new_base_method;
                                        }

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

Reply via email to