error messages review
[mono.git] / mcs / errors / cs0657-15.cs
index e6b30e6f01ba29966ab088e5149085b8f94b8a9d..e9e1b0db2621ab379df6399e5bddcc09262e80ea 100644 (file)
@@ -1,13 +1,13 @@
-// cs0657.cs : 'param' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are 'event, property'
+// cs0657-15.cs: `property' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event'
 // Line : 8
 
 using System;
 
 class C
 {
-    [param: Obsolete]
+    [property: Obsolete]
     event ResolveEventHandler field { 
         add {}
         remove {}
     }
-}
\ No newline at end of file
+}