title: error CS1660: Cannot convert lambda expression to type 'bool' because it is not a delegate type
body: <p>This has been driving me mad for ages. I took the following piece of working code</p>
  
  <pre><code>&lt;input @onchange="@((ui) =&gt; Console.WriteLine(ui.Value))" /&gt;
  </code></pre>
  
  <p>and copied it to a new blazor component project. I then started getting the error</p>
  
  <p><code>error CS1660: Cannot convert lambda expression to type 'bool' because it is not a delegate type</code></p>