[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0079-5.cs
blob97511f64a4da4d3f688f5ce50d3b3f7ce46c85b0
1 // CS0079: The event `C.ev' can only appear on the left hand side of `+=' or `-=' operator
2 // Line: 14
4 class C
6 static event System.EventHandler ev
8 add { }
9 remove { }
12 static void Main ()
14 ev *= null;