[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0070-2.cs
blob95f9cdb61d89f576aaddc5676e18ad102766fa99
1 // CS0070: The event `A.evt' can only appear on the left hand side of += or -= when used outside of the type `A'
2 // Line: 22
4 using System;
6 public static class EventExtensions
8 public static void Raise (this EventHandler h)
13 public class A
15 public event EventHandler evt;
18 public class B : A
20 public void Run()
22 Action a = () => evt.Raise ();