Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0657-15.cs
blobc0360804e6004f6e3ed26b02275659ef2d6335f2
1 // CS0657: `property' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event'. All attributes in this section will be ignored
2 // Line: 9
3 // Compiler options: -warnaserror
5 using System;
7 class C
9 [property: Obsolete]
10 event ResolveEventHandler field {
11 add {}
12 remove {}