Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0657-22.cs
blob5191de1665645887e4d1b5fdd13618f0bb9737d4
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
5 using System;
7 abstract class X
9 [field:NonSerialized]
10 public abstract event EventHandler XEvent;