Boo.Lang.Compiler.TypeSystem.GenericConstructedType.IsAssignableFrom C# (CSharp) Метод

IsAssignableFrom() публичный Метод

public IsAssignableFrom ( IType other ) : bool
other IType
Результат 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;
        }