Optional C# parameter issue
<p>I have this method</p>

<pre><code>public static void WriteErrorLog(LogEntry logEntry, string method, [Optional, DefaultParameterValue(0)]  int? errorTypeID)
</code></pre>

<p>So I expect that I can call the method like </p>

<pre><code>WriteErrorLog(l, "text");
</code></pre>

<p>But I get an error of Visual Studio anyway :(</p>

<blockquote>
  <p>No overload for method 'WriteErrorLog' takes 2 arguments</p>
</blockquote>

<p>What I am missing?</p>

<p>Thank you!</p>
