title: how can i get ToLower to work in an expression?
body: <p>I have the following line of code:</p>
  
  <p><code>protected Expression&lt;Predicate&lt;DuplicateCheck&gt;&gt; Name= x =&gt; x.Name == "smith";</code></p>
  
  <p>when I add a <code>.ToLower()</code> </p>
  
  <p><code>protected Expression&lt;Predicate&lt;DuplicateCheck&gt;&gt; Name= x =&gt; x.Name.ToLower() == "smith";</code></p>
  
  <p>to try to generalize the query I get the error</p>
  
  <p><code>System.Reflection.TargetException: 'Non-static method requires a target.'</code></p>
  
  <p>Is this not available to use in this way?</p>