public override IMethod GetMethod(string funcname, MethodParamList types)
    {
        int typehash = types.GetHashCode();

        foreach (var f in methodExt)
        {
            if (f.Name == funcname && f.ParamList.GetHashCode() == typehash)
            {
                return(f);
            }
        }

        return(base.GetMethod(funcname, types));
    }
Exemple #2
0
    public override IMethod GetMethod(string funcname, MethodParamList types)
    {
        int typehash = types.GetHashCode();

        {
            var __list1      = methodExt;
            var __listCount1 = __list1.Count;
            for (int __i1 = 0; __i1 < __listCount1; ++__i1)
            {
                var f = __list1[__i1];
                {
                    if (f.Name == funcname && f.ParamList.GetHashCode() == typehash)
                    {
                        return(f);
                    }
                }
            }
        }
        return(base.GetMethod(funcname, types));
    }