1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// CS0079: The event `C.ev' can only appear on the left hand side of `+=' or `-=' operator // Line: 14 class C { static event System.EventHandler ev { add { } remove { } } static void Main () { ev *= null; } }