Boo.Lang.Compiler.TypeSystem.GenericConstructedType.IsAssignableFrom C# (CSharp) Method

IsAssignableFrom() public method

public IsAssignableFrom ( IType other ) : bool
other IType
return bool
        public virtual bool IsAssignableFrom(IType other)
        {
            if (other == null)
            {
                return false;
            }

            if (other == this || other.IsSubclassOf(this) || (other == Null.Default && !IsValueType))
            {
                return true;
            }

            return false;
        }