Author: marek
Date: 2005-10-17 04:08:33 -0400 (Mon, 17 Oct 2005)
New Revision: 51786

Modified:
   trunk/mcs/mcs/attribute.cs
Log:
Fixed Miguel's regression.

Modified: trunk/mcs/mcs/attribute.cs
===================================================================
--- trunk/mcs/mcs/attribute.cs  2005-10-17 06:56:40 UTC (rev 51785)
+++ trunk/mcs/mcs/attribute.cs  2005-10-17 08:08:33 UTC (rev 51786)
@@ -1067,7 +1067,7 @@
 
                        AttributeUsageAttribute usage_attr = GetAttributeUsage 
(ec);
                        if ((usage_attr.ValidOn & Target) == 0) {
-                               Report.Error (592, Location, "Attribute `{0}' 
is not valid on this declaration type.  " +
+                               Report.Error (592, Location, "Attribute `{0}' 
is not valid on this declaration type. " +
                                              "It is valid on `{1}' 
declarations only",
                                        GetSignatureForError (), 
GetValidTargets ());
                                return;
@@ -1399,7 +1399,7 @@
                                        sb.Append (", ");
                                }
                                sb.Remove (sb.Length - 2, 2);
-                               Report.Error (657, a.Location, "`{0}' is not a 
valid attribute location for this declaration.  " +
+                               Report.Error (657, a.Location, "`{0}' is not a 
valid attribute location for this declaration. " +
                                              "Valid attribute locations for 
this declaration are `{1}'", a.ExplicitTarget, sb.ToString ());
                                return false;
                        }

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

Reply via email to