Update this enum
[mono.git] / mcs / errors / cs1667.cs
1 // cs1667.cs: Attribute `System.CLSCompliantAttribute' is not valid on property or event accessors. It is valid on `assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, parameter, delegate, return' declarations only
2 // Line: 14
3
4 class Test {
5         public static bool Error {
6             [System.CLSCompliant (true)] get {
7                 return false;
8             }
9         }
10 }
11
12 class MainClass {
13         public static void Main () {
14                 System.Console.WriteLine (Test.Error);
15         }
16 }