Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0657-22.cs
1 // CS0657: `field' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event, method'. All attributes in this section will be ignored
2 // Line: 9
3 // Compiler options: -warnaserror
4
5 using System;
6
7 abstract class X
8 {
9         [field:NonSerialized]
10         public abstract event EventHandler XEvent;
11 }