Merge pull request #3686 from lambdageek/dev-format-printf
[mono.git] / mcs / errors / cs0592-8.cs
index 8f2689360aaf8948bb74255ba867527a2549e701..24df2e8dc36886c69994b820b8dd08abe7e7d921 100644 (file)
@@ -1,4 +1,4 @@
-// cs0657.cs : Attribute 'Obsolete' is not valid on this declaration type. It is valid on 'class, struct, enum, constructor, method, property, field, event, interface, delegate' declarations only.
+// CS0592: The attribute `System.ObsoleteAttribute' is not valid on this declaration type. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only
 // Line : 8
 
 using System;
@@ -9,4 +9,5 @@ public class C
     public void Test (int a)
     {
     }
+    static public void Main () {}
 }