title: How to stop ReSharper from showing error on a lambda expression where Action is expected?
body: <p>In Silverlight, <code>System.Windows.Threading</code>'s <code>Dispatcher.BeginInvoke()</code> takes an <code>Action&lt;T&gt;</code> or a delegate to invoke.</p>
  
  <p>.NET allows me to pass just the lambda expression.  but ReSharper sees it as an error, saying "Cannot resolve method 'BeginInvoke(lambda expression)'":  <code>Dispatcher.BeginInvoke(() =&gt; { DoSomething(); })</code></p>
  
  <p>The error goes away if I explicitly create the <code>Action</code> around the expression like this:  <code>Dispatcher.BeginInvoke(new Action&lt;object&gt;(o =&gt; { DoSomething(); }));</code></p>
  
  <p>I prefer the least amount of code in this case for the best readability.  Is there a way to disable this specific ReSharper error notification?  I tried some of the options, but could not find it.</p>
  
  <p>Thanks,
  Carl</p>