Author: raja
Date: 2005-03-29 07:38:55 -0500 (Tue, 29 Mar 2005)
New Revision: 42333
Modified:
trunk/mcs/mcs/decl.cs
Log:
Hopefully, third time's the charm.
Modified: trunk/mcs/mcs/decl.cs
===================================================================
--- trunk/mcs/mcs/decl.cs 2005-03-29 12:36:14 UTC (rev 42332)
+++ trunk/mcs/mcs/decl.cs 2005-03-29 12:38:55 UTC (rev 42333)
@@ -1432,8 +1432,9 @@
!type.IsSubclassOf
(TypeManager.multicast_delegate_type)) {
Report.SymbolRelatedToPreviousError (base_method);
Report.Warning (-28,
- "The method
'{0}' is marked 'override', but doesn't appear to override any virtual or
abstract method:" +
- " 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;
@@ -1451,8 +1452,9 @@
if (new_base_method ==
base_method) {
Report.SymbolRelatedToPreviousError (base_method);
Report.Warning (-28,
- "The method
'{0}' is marked virtual, but doesn't appear to have a slot." +
- " The method
may be ignored during overload resolution",
+ "The method
'{0}' is marked 'override'," +
+ " but doesn't
appear to overrided any virtual or abstract method:" +
+ " it may be
ignored during overload resolution",
TypeManager.CSharpSignature (base_method));
}
base_method = new_base_method;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches