[bcl] Update BCL Linked Size
[mono-project.git] / mcs / errors / cs0657-16.cs
blob04306dc46a7f34f65fe0cd658bc45c93c5d97b86
1 // CS0657: `event' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `method, param, return'. All attributes in this section will be ignored
2 // Line: 15
3 // Compiler options: -warnaserror
5 using System;
7 [AttributeUsage(AttributeTargets.All)]
8 public class TestAttribute: Attribute
12 class C
14 event ResolveEventHandler field {
15 [event: Test]
16 add {}
17 remove {}