IKVM.Reflection.Type.IsDirectlyImplementedInterface C# (CSharp) Method

IsDirectlyImplementedInterface() private method

private IsDirectlyImplementedInterface ( Type interfaceType ) : bool
interfaceType Type
return bool
        private bool IsDirectlyImplementedInterface(Type interfaceType)
        {
            foreach (Type iface in __GetDeclaredInterfaces())
            {
                if (interfaceType.IsAssignableFrom(iface))
                {
                    return true;
                }
            }
            return false;
        }