title: Where do I mark a lambda expression async?
body: <p>I've got this code:</p>
  
  <pre><code>private async void ContextMenuForGroupRightTapped(object sender, RightTappedRoutedEventArgs args)
  {
      CheckBox ckbx = null;
      if (sender is CheckBox)
      {
          ckbx = sender as CheckBox;
      }
      if (null == ckbx)
      {
          return;
      }
      string groupName = ckbx.Content.ToString();
  
      var contextMenu = new PopupMenu();
  
      // Add a command to edit the current Group
      contextMenu.Commands.Add(new UICommand("Edit this Group", (contextMenuCmd) =&gt;
      {
          Frame.Navigate(typeof(LocationGroupCreator), groupName);
      }));
  
      // Add a command to delete the current Group
      contextMenu.Commands.Add(new UICommand("Delete this Group", (contextMenuCmd) =&gt;
      {
          SQLiteUtils slu = new SQLiteUtils();
          slu.DeleteGroupAsync(groupName); // this line raises Resharper's hackles, but appending await raises err msg. Where should the "async" be?
      }));
  
      // Show the context menu at the position the image was right-clicked
      await contextMenu.ShowAsync(args.GetPosition(this));
  }
  </code></pre>
  
  <p>...that Resharper's inspection complained about with, "<em>Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call</em>" (on the line with the comment).</p>
  
  <p>And so, I prepended an "await" to it but, of course, I then need to add an "async" somewhere, too - but where?</p>