updating to the latest module.
[mono.git] / mcs / errors / cs1667-4.cs
1 // cs1667.cs: 'System.CLSCompliant' is not valid on property or event accessors. It is valid on 'assembly, module, class, struct, enum, constructor, method, property, indexer, field, event, interface, param, delegate, return, type parameter' declarations only.
2 // Line: 10
3
4 using System;
5 using System.Diagnostics;
6
7 class Class1 
8 {
9         public event ResolveEventHandler G {
10             [CLSCompliant(false)]
11             add {}
12             remove {}
13         }
14 }
15