title: Asynchronous method 'anonymous' should not return void
body: <p>Can someone help me resolve this problem I tried everything.
  I usually know how to resolve that problem but not with anonymous method.
  DelegateCommand has 2 constructors.</p>
  
  <p>1) public DelegateCommand (Action executeMethod)</p>
  
  <p>2) public DelegateCommand (Action executeMethod, Func canExecute).</p>
  
  <p>I wanna know is it possible some how to remove that warning. Async and await are needed otherwise my method: enterButtonClicked(); would be called synchronously.</p>
  
  <pre><code> ...
      public DelegateCommand EnterButton { get; set; }
  
      public StartPageViewModel()
      {
          Title = "title_black.png";
          PasswordPlaceholder = "Lozinka";
  
          EnterButton = new DelegateCommand( async () =&gt; { await enterButtonClicked();}); // &lt;----- I am getting that warning here
      }
  
      public async Task enterButtonClicked()
      {
  
      }
  ...
  </code></pre>