Boo.Lang.Compiler.TypeSystem.ExternalType.IsSubclassOf C# (CSharp) Method

IsSubclassOf() public method

public IsSubclassOf ( IType other ) : bool
other IType
return bool
        public virtual bool IsSubclassOf(IType other)
        {
            ExternalType external = other as ExternalType;
            if (null == external /*|| _typeSystemServices.VoidType == other*/)
            {
                return false;
            }

            return _type.IsSubclassOf(external._type) ||
                (external.IsInterface && external._type.IsAssignableFrom(_type))
                ;
        }