2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git] / errors / cs1667-2.cs
blob5b9a8910fe53a0436f3e2a2c97ff694db5ee6dc9
1 // cs1667-2.cs: Attribute `System.ObsoleteAttribute' is not valid on property or event accessors. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only
2 // Line: 14
4 class Test {
5 public static bool Error {
6 [System.Obsolete] set {
11 class MainClass {
12 public static void Main () {
13 Test.Error = false;