lightszero/cslightcore — pull request #1 by seewindcn (2014-12-10 09:16:22+00:00)
Title: 多个默认参数的方法匹配不上

对象的方法：public void Test(string name="t1", bool reload=false)
如果脚本执行：obj.Test();
会出现下面错误信息：
TargetParameterCountException: parameters do not match signature
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:188)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
CSLE.RegHelper_TypeFunction.MemberCall (CSLE.CLS_Content environment, System.Object object_this, System.String function, IList`1 _params, CSLE.MethodCache cache) (at Assets/code/lib/CSLightEvil/C#LE/RegHelper/RegHelper_Type.cs:397)