IKVM.Internal.ClassFile.ConstantPoolItemInterfaceMethodref.GetInterfaceMethod C# (CSharp) Method

GetInterfaceMethod() private static method

private static GetInterfaceMethod ( TypeWrapper wrapper, string name, string sig ) : MethodWrapper
wrapper TypeWrapper
name string
sig string
return MethodWrapper
            private static MethodWrapper GetInterfaceMethod(TypeWrapper wrapper, string name, string sig)
            {
                MethodWrapper method = wrapper.GetMethodWrapper(name, sig, false);
                if(method != null)
                {
                    return method;
                }
                TypeWrapper[] interfaces = wrapper.Interfaces;
                for(int i = 0; i < interfaces.Length; i++)
                {
                    method = GetInterfaceMethod(interfaces[i], name, sig);
                    if(method != null)
                    {
                        return method;
                    }
                }
                return null;
            }
ClassFile.ConstantPoolItemInterfaceMethodref