title: Argument type 'lambda expression' is not assignable to parameter type 'System.Action'
body: <p>This issue drives me insane since past couple hours.</p>
  
  <p>I have 2 versions of the same property I wrote:</p>
  
  <pre><code>public IMvxCommand ButtonClickedCommand
  {
      get
      {
          return new MvxCommand(() =&gt;
              {
                  Mvx.Resolve&lt;IMvxWebBrowserTask&gt;().ShowWebPage("http://google.com");
              });
      }
  }
  </code></pre>
  
  <p>And</p>
  
  <pre><code>public IMvxCommand ButtonClickedCommand
  {
      get
      {
          return new MvxCommand((Action) (() =&gt;
              {
                  Mvx.Resolve&lt;IMvxWebBrowserTask&gt;().ShowWebPage("http://google.com");
              }));
      }
  }
  </code></pre>
  
  <p>Both methods are correct, both are being run when button is clicked and they do what they have to do. But the first one shows me this:</p>
  
  <p><img src="https://dl.dropboxusercontent.com/u/23242740/ScreenShots/2013-06-19%20Image_0000.png" alt=""></p>
  
  <p>The second:</p>
  
  <p><img src="https://dl.dropboxusercontent.com/u/23242740/ScreenShots/2013-06-19%20Image_0001.png" alt=""></p>
  
  <p>If there is no solution for it, and it's some kind of a bug I will drop it, but the other project I'm working on, is using the v3 library also, and there is no such issue.</p>
  
  <p>Lucas</p>
  
  <p>//Edit</p>
  
  <p>I'd like to add more detail to the issue, so that maybe it will help find the reason of the problem.</p>
  
  <p>There is generaly no problem with lambda expressions if I write them for the methods I create myself. For example:</p>
  
  <pre><code>public void fun()
  {
      fun2(() =&gt;
               {
                   GetType();
               });
  }
  
  public void fun2(Action action)
  {
  }
  </code></pre>
  
  <p>This snippet above is using a lambda expression for the required Action parameter, so the situation very similar to the one from the first snippet, and yet there is no problem with that. The problem is, if I pass the lambda expression to the constructor of MvxCommand object that I will not explicitly cast to Action.</p>
  
  <p><img src="https://dl.dropboxusercontent.com/u/23242740/ScreenShots/2013-06-19%20Image_0005.png" alt=""></p>