title: cannot await method group func delegate
body: <p>I have a func delegate that is defined as follows,</p>
  
  <pre><code>   public enum RunEndStatus
      {
          Success
      }
      public class classA
      {
          Func&lt;object, RunEndStatus&gt; ProcessCalibrationRun { get; set; }
      }
  </code></pre>
  
  <p>Now in an other class lets say classB I am doing something like this,</p>
  
  <pre><code>public class ClassB
  {
      public void DoSomething()
      {
          ClassA a = new ClassA();
          a.ProcessCalibrationRun = ProcessCalibrationRun;//This is just fine. It won't complain here.
      }
      public RunEndStatus ProcessCalibrationRun(object obj)
      {
          //Here I have some piece of code takes so much time. To replicate it,
          Thread.Sleep(10000);
      }
  }
  </code></pre>
  
  <p>When the DoSomething method is called from somewhere, the application blocks for 10 minutes.So I am trying to fix my problem as follows,</p>
  
  <pre><code> public async Task&lt;RunEndStatus&gt; ProcessCalibrationRun(object obj)
      {
          await Task.Run(() =&gt; { Thread.Sleep(10000)});
          return RunEndStatus.Success;
      }
  </code></pre>
  
  <p>I am modifying the call as follows. But it says cannot await method group. Please help how can I await on that method. </p>
  
  <pre><code> public async void DoSomething()
      {
          ClassA a = new ClassA();
          a.ProcessCalibrationRun = await ProcessCalibrationRun; //Here it complains saying cannot await method group.
      }
  </code></pre>