title: Does the Unity compiler not fully support named parameters?
body: <p>The following code compiles just fine in Visual Studio, but in Unity (4.6.x) it creates a compiler error: </p>
  
  <pre><code>public class ErrorTest 
  {
      void DoSomething(bool a = true, bool f = true) {  }
      void DoSomething(int b, bool f = true) {  }
      public void SomeMethod()
      {
         DoSomething(f: false);
      }
  }
  </code></pre>
  
  <p>The call to DoSomething is what makes the compiler choke. The question is why, there's really no ambiguity.</p>
  
  <hr>
  
  <p>The console output when Unity chokes like this: </p>
  
  <pre><code>Internal compiler error. See the console log for more information. output was:
  Unhandled Exception: Mono.CSharp.InternalErrorException: Internal error
  
    at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.ResolveContext ec, Mono.CSharp.Arguments&amp; arguments, Int32 arg_count, System.Reflection.MethodBase&amp; method, System.Boolean&amp; params_expanded_form) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.ResolveContext ec, Mono.CSharp.Arguments&amp; Arguments, Boolean may_fail, Location loc) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.ResolveContext ec) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec, ResolveFlags flags) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.BlockContext ec) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in &lt;filename unknown&gt;:0 
  
    at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching parent, Mono.CSharp.BlockContext rc, Mono.CSharp.ParametersCompiled ip, IMethodData md) [0x00000] in &lt;filename unknown&gt;:0 
  </code></pre>