title: Can you pass in an Expression<Func<T, bool>> predicate into a linq Where statement?
body: <p>So I have a method similar to this: </p>
  
  <pre><code>public List&lt;T&gt; SomeFunction(Expression&lt;Func&lt;T, bool&gt;&gt; predicate) {
      return someList.Where(predicate).ToList();
  }
  </code></pre>
  
  <p>This code is not compileable because I cannot pass in the predicate to the linq Where statement. Is there a way to change the predicate in order to use it with linq?</p>