title: How to get MethodInfo for generic extension method?
body: <p>I have an <code>IEnumerable&lt;T&gt;</code>, and I want to call the <a href="http://msdn.microsoft.com/en-us/library/bb352880.aspx"><code>Enumerable.Contains</code></a> method by reflection.  I'm just struggling to get the syntax right.  Here's what I currently have:</p>
  
  <pre><code>var containsMethod = typeof(Enumerable).GetMethod("Contains", 
    new[] {
      typeof(IEnumerable&lt;T&gt;), 
      typeof(T) 
    });
  </code></pre>
  
  <p>This just comes back with a null.</p>
  
  <p>What is the correct way to get the <code>MethodInfo</code>?</p>