title: Cannot convert lambda expression to type 'Delegate' because it is not a delegate type
body: <p>I am having trouble with an anonymous delegate lambda in C#. I just converted the app to C#5 and the delegates went all haywire on me. Any help would be great. The specific error is:</p>
  
  <blockquote>
    <p>Cannot convert lambda expression to type 'Delegate' because it is not
    a delegate type</p>
  </blockquote>
  
  <pre><code>public void UpdateUserList()
  {
    if (!Monitor.TryEnter((object)this.LvPerson, 150))
        return;
  
    if (this.InvokeRequired)
    {
        this.Invoke((Delegate) (() =&gt; this.UpdateUserList()));              
    }
    else
    { ... }
  }
  </code></pre>
  
  <p>I have also tried</p>
  
  <pre><code>this.Invoke(() =&gt; {this.UpdateUserList();});
  </code></pre>
  
  <p>I'm not sure where the issue is as this was working before I moved the project from Visual Studio 2008 to Visual Studio 2015.</p>
  
  <p>Thanks again for the help! </p>