title: Invoke c# event inside interface
body: <p>I am trying to invoke an event in the interface in which it is defined (see code below).
  However, I get the following error:
  <code>Program.cs(7,3): error CS0079: The event 'IMyInterface.MyEvent' can only appear on the left hand side of += or -=</code>.<br />
  I suspect it might have something to do with all events declared in interfaces are always properties.
  Is this a bug, a feature, and are there any workarounds?</p>
  <p>Thanks.</p>
  <pre class="lang-cs prettyprint-override"><code>using System;
  public interface IMyInterface
  {
      event EventHandler? MyEvent;
      void CallMyEvent()
      {
          MyEvent?.Invoke(this, EventArgs.Empty);
      }
  }
  
  public class MyClass : IMyInterface
  {
      public event EventHandler? MyEvent;
  }
  static class Program
  {
      static void Main()
      {
          var obj = new MyClass();
          obj.CallMyEvent();
      }
  }
  </code></pre>