title: Lambda expression evaluation not working in Visual Studio 2015. Why?
body: <p>I was quite excited to test the lambda expression evaluation in Watch/Immediate window of VS2015, unfortunately I can't get this feature working.</p>
  
  <p>I was testing this on few ASP.NET project(using .NET 4.6.1), but no matter what expression I type into Watch window, the message is still the same: <code>Expression cannot contain lambda expressions</code>. Colleague of mine is happily using this tool on the same projects since we received VS2015.</p>
  
  <p>This is one from all lambda's:</p>
  
  <pre><code>private static void LinqTest()
      {
          List&lt;int&gt; list = new List&lt;int&gt; { 1, 2, 3, 4, 5, 6 };
          int lambda = list.First&lt;int&gt;(p =&gt; p == 2);
      }
  </code></pre>
  
  <p>This code returns 2 as expected but in Watch and Immediate window <code>list.First&lt;int&gt;(p =&gt; p == 2)</code> yields <code>Expression cannot contain lambda expressions</code> error.</p>
  
  <p>I have been looking for some tips all around the internet, but I have never seen any pre-requirements, nor restrictions of this feature, so I was hoping someone can give me useful hint, which will avoid me from reinstalling Visual Studio completely (as I currently don't see no other option).</p>
  
  <p>I am running Visual Studio 2015 Professional, Version 4.6.01038 on Windows 10.</p>