2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs1667-4.cs
blob027c1452e5ff17459a6a1001c0b54a05dfef2395
1 // CS1667: 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 // GMCS1667: 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, type parameter' declarations only
3 // Line: 11
5 using System;
6 using System.Diagnostics;
8 class Class1
10 public event ResolveEventHandler G {
11 [CLSCompliant(false)]
12 add {}
13 remove {}