Author: raja
Date: 2005-03-29 07:35:20 -0500 (Tue, 29 Mar 2005)
New Revision: 42331

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/decl.cs
Log:
* decl.cs (MemberCache.AddMethods): Use C# terminology in warning.
Don't mention IL method attribute names.


Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2005-03-29 12:27:05 UTC (rev 42330)
+++ trunk/mcs/mcs/ChangeLog     2005-03-29 12:35:20 UTC (rev 42331)
@@ -1,5 +1,8 @@
 2005-03-29  Raja R Harinath  <[EMAIL PROTECTED]>
 
+       * decl.cs (MemberCache.AddMethods): Use C# terminology in warning.
+       Don't mention IL method attribute names.
+
        Fix #47991.  Remove a TODO.
        * statement.cs (Block.Toplevel): Make into a field.
        (Block.Parameters): Move into ToplevelBlock.

Modified: trunk/mcs/mcs/decl.cs
===================================================================
--- trunk/mcs/mcs/decl.cs       2005-03-29 12:27:05 UTC (rev 42330)
+++ trunk/mcs/mcs/decl.cs       2005-03-29 12:35:20 UTC (rev 42331)
@@ -1432,8 +1432,8 @@
                                                    !type.IsSubclassOf 
(TypeManager.multicast_delegate_type)) {
                                                        
Report.SymbolRelatedToPreviousError (base_method);
                                                        Report.Warning (-28, 
-                                                               "The method 
'{0}' is marked virtual, but doesn't appear to have a slot." + 
-                                                               "  It may be 
ignored during overload resolution", 
+                                                               "The method 
'{0}' is marked 'override', but doesn't appear to override any virtual or 
abstract method:" + 
+                                                               " it may be 
ignored during overload resolution", 
                                                                
TypeManager.CSharpSignature (base_method));
                                                }
                                                goto skip;

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

Reply via email to