Can't we use StringComparison in HashSet?
<p>C# 3.5: I can't get this code to compile:</p>

<pre><code>HashSet&lt;string&gt; classDeclarations = new HashSet&lt;string&gt;(StringComparison.InvariantCultureIgnoreCase);
</code></pre>

<p>I get this error:</p>

<blockquote>
  <p><em>Argument 1: cannot convert from 'System.StringComparison' to
  'System.Collections.Generic.IEqualityComparer'</em></p>
</blockquote>

<p>So I can't pass a comparison? </p>
