2009-06-26 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / errors / cs0592-8.cs
blob077647fb6ecd2784c049df6f9a1cc5faa1282d16
1 // cs0592-8.cs: 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
2 // Line : 8
4 using System;
6 public class C
8 [return: Obsolete]
9 public void Test (int a)
12 static public void Main () {}