2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0657-16.cs
blob4d5f51ef8d9cdfd30b35fd4f5a259cce61a8aa94
1 // cs0657-16.cs: `event' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, return'
2 // Line: 14
4 using System;
6 [AttributeUsage(AttributeTargets.All)]
7 public class TestAttribute: Attribute
11 class C
13 event ResolveEventHandler field {
14 [event: Test]
15 add {}
16 remove {}